2022 Developer Survey is open! Take survey.

Questions tagged [url]

A Uniform Resource Locator (URL) is a Uniform Resource Identifier (URI) that specifies where a particular resource is available – and the mechanism for retrieving it. They are often informally referred to as web addresses.

Filter by
Sorted by
Tagged with
0 votes
0 answers
30 views

Firefox flatpak does not work with Slack flatpack link

How does Slack flatpak find the application for a URL? I have xfce4 on Debian Linux. I noticed that Libre Office is smart enough to open Flatpak Firefox so how does slack find the default browser (and ...
user avatar
  • 153
0 votes
1 answer
33 views

how to enable access to files on the linux server via URL with password protection

I have a Linux centos 7 server. On that server, I started one script which should save images into one folder /images and inside the CSV file. Is there any chance that I can make CSV file and folder ...
user avatar
  • 3
0 votes
0 answers
26 views

Blog's URLs not lining up with Debian Wordpress config

I'm having trouble with my current Debian Wordpress configuration. Wordpress has no issue reaching the correct the wp-content directory locally, but the URLs to myblog.com/wp-content/../../ are ...
user avatar
  • 1
0 votes
1 answer
19 views

Retrieving hosts from a URL list using Perl's Regexp::Common::URI::http library

Presently I'm getting a list of URLs from a text file like so: perl -MRegexp::Common=URI -nE 'say $& while /$RE{URI}{HTTP}{-scheme => "https?"}/g' urls.txt And am wondering how to ...
user avatar
  • 139
1 vote
2 answers
276 views

Error parsing config: Error parsing "baseurl" - Oracle Linux

The OS of my machine is Oracle Linux Server 7.5. I need to install a command via a repository, precisely yum --enablerepo=packages-microsoft-com-prod install mdatp, but I get errors like: libatomic-4....
user avatar
  • 11
0 votes
1 answer
293 views

Open URL as if with browser from command line

I am having roughly the same problem as in this question, where the problem is, there is a certain URL that, when called in the browser, will download a file, but when called from the command line ...
user avatar
  • 121
0 votes
0 answers
18 views

PHP - get datetime when jpg file at URL has been accessed last time

I know the date-time is saved in the access log, but I think its not possible to read this file from php. What is the easiest way to find out the date and time when a specific file (jpg) has been last ...
user avatar
0 votes
1 answer
20 views

Customizing linkifiication in Linux terminal

My employer uses a number of custom link shortcuts. For example, b/ is the bug database. This means that in IRC, we trade links like b/12345. I'm running weechat in gnome terminal for IRC. Is there ...
user avatar
0 votes
1 answer
91 views

How do I set priority of which application opens a url schema (rdp://) in kde?

I have several applications installed that handles url schema rdp:// (for example, rdp://myadmin@1.2.3.4). These applications are Krdc and Remmina. I want such links to be opened in krdc, but they are ...
user avatar
  • 382
0 votes
1 answer
107 views

Skip the browser page when opening https URIs for Zoom, Teams, and other native apps

Android has a convenient feature: certain https links that have associated local apps installed are opened directly in these apps, skipping the browser page. How do I achieve this in Linux? I have ...
user avatar
  • 161
1 vote
1 answer
116 views

Opening terminal links with the keyboard

One of the very useful things about urxvt is that I could use keyboard shortcuts to navigate through and open hyperlinks that appeared on the terminal screen (by adding some urxvt* entries on ....
user avatar
0 votes
1 answer
80 views

How to make `apt` display the URL of downloaded packages? [duplicate]

How can I make apt display the URL it's downloading, e.g. apt install or apt download? Consider the following example: $ apt download libvirglrenderer0 Get:1 http://deb.debian.org/debian buster/main ...
user avatar
  • 3,307
1 vote
0 answers
24 views

Download file from URL with redirection, completely automatic at the CLI, replacing browser operation

I have asked Download file from URL with redirection, "?" and other symbols, from the command line curl -L did not get the correct file right away. A couple of comments pointed to a way ...
user avatar
0 votes
1 answer
102 views

Escaping UTF-8 encoded URLs

I want to replace a variable expansion with a URL --- directly inside a file. The URL I want to replace the variable expansion with is UTF-8 encoded due to the language of its webpage name being Right-...
user avatar
2 votes
0 answers
422 views

Portable way to set custom URL scheme handler for all users

I already know how to create a custom URL scheme and set its handler using xdg-utils: xdg-settings set default-url-scheme-handler name handler.desktop However, the command affects only the current ...
user avatar
3 votes
1 answer
436 views

How to get the url from current tab of firefox by help of wmctrl?

It's possible to get the current tab with xdotool: # set focus to address on browser xdotool search --onlyvisible --classname Navigator windowactivate --sync key F6 # copy address from browser tab to ...
user avatar
-1 votes
1 answer
111 views

How to prevent '#' from getting converted to '%23' in URL?

I'm trying to open a website at a specific location. The webpage is an HTML version of a markdown file, so appending a #header redirects straight to a location. It works when I do it manually in the ...
user avatar
1 vote
2 answers
192 views

URL rewriting for root of website

This is the configuration of my Apache 2.4.37 webserver on Centos 8. File /etc/httpd/conf.d/mysite.conf: <VirtualHost *:80> ServerName mysite.com DocumentRoot "/var/www/html" ...
user avatar
  • 25.4k
0 votes
1 answer
17 views

which urls to un-block for centOS system setup

I am a newbie to linux system. Our system guy spun up a centOS server with very minimal configuration for me in the data center. For security reason, information security team has outbound internet ...
user avatar
  • 1
2 votes
1 answer
702 views

How to xdg-open specific links with different apps

Hi I want to open specific link with specific application. To be more specific, I want to open zoom links https://us02web.zoom.us/j/something?pwd=somethingsomething with desktop-ish zoom application (...
user avatar
  • 33
2 votes
1 answer
81 views

Implementing Sort URLs Regex Using Unix Commands

I am a newbie to regular expressions as they manifest in things such as sed, awk, sort, grep and other Unix binaries. I know that if I sort a list of URLs in my text editor (BBEdit) using this regular ...
user avatar
-1 votes
1 answer
418 views

How to search OpenStreetMap for tags? [closed]

How can I have e.g. all highway speed cameras displayed on the map, i.e. what is the URL syntax to search OpenStreetMap for certain tags?
user avatar
  • 101
0 votes
0 answers
137 views

Problem with downloading multiple url data with wget

I have a text file download.txt. Here I'm showing only 8 files url. My original file has 900 urls to download. https://www.web.org/download/OE056783 https://www.web.org/download/OE078945 https://www....
user avatar
  • 245
1 vote
0 answers
42 views

How to curl multiple URL's from a text file containing URL's [duplicate]

I have a script on a linux server which connects to a URL refines the data and returns a text file with multiple links, please see below: Script: #!/bin/bash /usr/bin/curl -k -s URL | cut --...
user avatar
  • 53
1 vote
1 answer
349 views

Build a URL from output of shell script

On a linux server i have a script that does a curl and returns an output as below: Script: /usr/bin/curl -k -s https://example.com:18080/seriessnapshot?substringSearch=OpenFin%20Memory | cut --...
user avatar
  • 53
0 votes
1 answer
577 views

how to convert plaintext to html with clickable links

how can i convert plaintext files containing a bunch of urls to html with clickable links? preferably on the command line. background: every once in a while i end up with a plaintext file containing ...
user avatar
  • 25.2k
1 vote
1 answer
2k views

Unable to open URL with xdg-open

Getting this error as regular user: ~$ xdg-open http://www.google.com/ xdg-open: no method available for opening 'http://www.google.com/' ~$ ~$ xdg-mime query default text/html ~$ Code from /usr/bin/...
user avatar
0 votes
1 answer
52 views

Redirect https://subdomain to https://subdomain.domain.tld

I am trying to fix a setup where people accessed a site via https://subdomain but we have a proper SSL cert for https://subdomain.domain.tld. I am trying to force redirect to https://subdomain.domain....
user avatar
0 votes
1 answer
93 views

What Does :/// Mean?

The trash in Linux is shown under the path of trash:/// What does :/// mean? I don't seem to be able to find the explanation of three slashes "///" anywhere online.
user avatar
0 votes
3 answers
596 views

Can I combine cut commands and use custom delimiters

I have log file where I need to extract URLs from GET requests which have 404d I have used : grep 404 testfile.txt | cut -f 2 -d '"' | cut -f 2 -d '/' | cut -f 1 -d ' ' | sort -u Is is ...
user avatar
4 votes
2 answers
110 views

How to use AWK select the file name in URL?

I have an awk script that runs this way. Raw data text: date: 1.0.1: http://example.com/1.0.1.tgz 1.0.2: http://example.com/1.0.2.tgz 1.0.3: http://example.com/1.0.3.tgz 1.0.4: http://...
user avatar
  • 341
5 votes
0 answers
983 views

How to make okular open http/https links in PDFs with firefox?

I'm on FreeBSD and have compiled and installed the graphics/okular port (i.e. not much else of KDE4 other than okular's dependencies.) This has installed version 1.8.0. I start my X11 manually with ...
user avatar
  • 1,670
3 votes
1 answer
824 views

How to generate URL+title from URL list automatically? (using bash or other tool)

Using Linux Bash, how can one turn a text file with: http://example.org/ https://en.wikipedia.org/wiki/Main_Page https://www.youtube.com/watch?v=mGQFZxIuURE into: http://example.org/ Example Domain ...
user avatar
  • 1,600
1 vote
2 answers
47 views

Automated URL Hyperlink creation

I have a document full of URL's that I need to turn into hyperlinks. I have no clue where to begin. My file looks like this but longer: http://somesite1.html http://somesiteAD.html And I need it ...
user avatar
  • 25
3 votes
2 answers
309 views

Can we specify service name and transport protocol in a URL?

A URL has its own syntax. In a URL, we can specify either hostname or IP address. Similarly, while we can specify port number, can we specify service name instead of port number ? If we can't, how ...
user avatar
  • 89.8k
0 votes
2 answers
116 views

How to save a web resource, applying decoding to URL Encoded Characters?

I would like to save this file with this URL "http://pti.regione.sicilia.it/portal/page/portal/PIR_PORTALE/PIR_LaStrutturaRegionale/PIR_AssessoratoEconomia/PIR_DipBilancioTesoro/PIR_Areetematiche/...
user avatar
  • 2,039
25 votes
2 answers
18k views

Create a custom URL Protocol Handler

I would like to register a URL scheme (or protocol) handler for my own custom URL protocol, so that clicking on a link with this custom protocol will execute a command on that URL. Which steps do I ...
user avatar
  • 4,121
1 vote
0 answers
76 views

Nginx proxy_pass + ssl problem with seo friendly url

Below is nginx.conf server { listen 00.00.000.000:80; server_name my_site.com www.my_site.com; return 301 https://www.my_site.com$request_uri; } server { listen 00.00.000.000:443; server_name ...
user avatar
3 votes
0 answers
351 views

xdg-open tries to open URLs as files on LXDE [duplicate]

I run $ xdg-open 'http://google.com' in /home/rominf/ and expect Firefox to open Google, but instead got GUI message with error: /home/rominf/http:/google.com: No such file or directory Firefox is ...
user avatar
  • 487
0 votes
1 answer
64 views

Fetching title of browser

[Fetching user title] Seen a post prior of someone posting how to do it by single account I wish to do this from the range 1-1000 and have it output to >> .txt Example: x@nine:~# wget -qO- 'http:...
user avatar
  • 1
1 vote
0 answers
57 views

Windows PDF viewer interprets hyperlinks incorrectly from Linux converted PDF?

I am operating on a RPi Model 3B with Jessie OS and Python version 2.7.9. I am using XlsxWriter (ver1.1.0) to write an .xlsx file and then converting it to PDF using LibreOffice's conversion code, as ...
user avatar
  • 11
0 votes
1 answer
67 views

HTTP client saving download metadata

I am looking for a way to download files from the Web, while saving download metadata, like the requested URI, the returned status code and maybe even TLS certificate information (server certificate ...
user avatar
  • 897
6 votes
4 answers
6k views

xdg-open on debian 9 fails to open browser

I decided to try lxdm (was using fluxbox and xfce), and discovered that for many programs the url handler was failing, producing this error message; Quite strange as you can see, it's prepending the ...
user avatar
1 vote
3 answers
5k views

AWK: splitting URL into parts and print

I have these two http://www.example.com:8888/index.php http://home.example.com:8888/index.php (home can be anything but www) and want to get this: example.com home.example.com Preferably in some ...
user avatar
  • 2,012
1 vote
2 answers
4k views

Get the domain name from IP address

I am using the following commands to get the domain name using the IP address dig -x IPaddress But it gives me some host names like ns1 etc. Is there any bash command that can give the actual domain ...
user avatar
3 votes
1 answer
189 views

How to register new protocol URL in windows manager

When you open a link on the internet such as ftp://myserver.com, it prompts you to open the link with your FTP client of choice. Same thing with irc://freenode.net. It prompts you to open the link ...
user avatar
0 votes
2 answers
126 views

Capture internet traffic on single interface

I have been asked by a customer to provide a list of all URL's that my company's linux server connects to in order to complete a software update including individual TCP,UDP ports that these ...
user avatar
2 votes
1 answer
816 views

cURL 404 Error - URL encoding with SharePoint URL

I am trying to connect to a SharePoint URL and pull the data in the form of a .json file. My URL looks like this: .../_api/web/lists/GetByTitle('titles list')/items If I give the URL as it is ...
user avatar
  • 141
1 vote
0 answers
2k views

Download a URL containing a token query string

To explain what I want I will give an example (My foreign friends sorry it is in Arabic not English :D ) . Let's take this URL for example. When you open it a blue square will appear after a 5 ...
user avatar
  • 421
1 vote
4 answers
3k views

How to remove everything after http://example.com with awk or sed

Let's say I have an output file with a large quantity of URLs in it. How would I remove a part of the URL with awk or sed so that the final result would be http://example.com and not http://example....
user avatar