Skip to main content

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
1 answer
41 views

Open specific URLs in certain app?

How can I tell xdg-open to open, say, YouTube URLs in a specific app, but use my default browser for all other URLs?
Geremia's user avatar
  • 1,185
4 votes
2 answers
416 views

DNF: show URLs for downloaded packages

Is there an easy way to get the URLs for the downloaded packages in DNF? What I'm trying to achieve: I'm currently on a very expensive Internet plan, so I need to get links, download packages on a ...
Artem S. Tashkinov's user avatar
0 votes
0 answers
40 views

Calls to all googletagmanger.com URLs fail

I've been updating code on a website that contains calls to googletagmanager.com for a couple of days now, but only just realised that it's wasn't really broken. Turns out my MX Linux desktop simply ...
Vince's user avatar
  • 101
0 votes
5 answers
360 views

In bash how to copy an URL within a displayed text file without using the mouse?

Let me take you to this short trip: Open terminal. Type cat <any text file in your current working directory, containing a URL, at the beginning> | head The first 10 lines of that text file are ...
futurewave's user avatar
0 votes
0 answers
86 views

How to sequentially open URLs in lynx?

from $ man lynx page: If more than one local file or remote URL is listed on the command line, Lynx will open only the last interactively. All of the names (local files and remote URLs) are ...
user598527's user avatar
0 votes
0 answers
27 views

Any successor to “Open all links” of Thunderbird?

For the ancient Thunderbird 1.5, there was an add-on “Open all links”, which, according to its description, opened “all http(s) links in an e-mail message with a single click”. A development of this ...
user avatar
-1 votes
1 answer
55 views

Script is not activating the options

I'm making a script to open url by terminal and when typing: #!/usr/bin/bash ## origin: https://www.vivaolinux.com.br/script/Abrir-arquivos-em-nova-aba-no-Firefox ## ### Se quizer que o novo link ...
user avatar
0 votes
1 answer
577 views

Controll the application that opens the links

My scenario is simple - I have two browser profiles, personal and work. Now I have two sources I get urls. My goal is to have a way to open urls from one source (let's say Slack) with personal profile ...
kosciej16's user avatar
  • 113
0 votes
2 answers
3k views

how to get full URL from shortened URLs like bit.ly?

I have a shortened URL from some documentation I would like to open the URL because I believe the URL has good information but I do not want to click the link until I can see the full URL how to get ...
Trevor Boyd Smith's user avatar
0 votes
0 answers
42 views

How to automatically start an ssh session when clicking on ssh:// URIs?

URI like https://, ftp://, even game specific ut2004:// or tel:// starts the default program associated with the protocol when clicking on links, but most linux distributions default configuration do ...
Zulgrib's user avatar
  • 984
0 votes
0 answers
580 views

Use path as URL in linux?

Some time ago I found a code snippet that used curl (or similar) and instead of using a URL like http://example.com:2882 it accessed the site using a filesystem path. Something like: curl /some/path/...
arielnmz's user avatar
  • 529
0 votes
0 answers
44 views

How to identify which URL is attempting to access SMTP from browser

Opening a web page attempts to access SMTP server in the network. I am not able to identify exactly which URL is attempting for the same. Due to nature of the work, many tabs are open in the browser. ...
Brian Edam's user avatar
0 votes
0 answers
300 views

Error Trying to load http url using curl

I am beginner. I am trying to load HTTP URL using curl in my Ubuntu terminal. The command I am using is curl -L 'http://google.com' But instead of getting source code. I am getting below error curl: ...
hmmbhaskar's user avatar
2 votes
5 answers
382 views

how to turn multiple URLs into domains with command line

I have .csv files with multiple columns and ',' as separator. The url's are in the first column. I need to turn all url's into domains without removing the other columns Example of the data I have: ...
xorghelpneed's user avatar
0 votes
1 answer
1k views

bash: URL: command not found [duplicate]

I keep getting the following error in bash (using windows): $ URL = "https://nyc-tlc.s3.amazonaws.com/trip+data/yellow_tripdata_2022-01.parquet" bash: URL: command not found The full ...
RedRum's user avatar
  • 113
0 votes
0 answers
237 views

URL ampersand escape xdg-open command

I am trying to open a URL using the xdg-open command, but I have tried escaping the ampersand character to no avail; all possible choices don't work in bash. I have tried the following xdg-open "...
Mathpdegeek497's user avatar
2 votes
0 answers
473 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 ...
John Klug's user avatar
  • 323
0 votes
1 answer
724 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 ...
linija's user avatar
  • 3
0 votes
1 answer
129 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 ...
T145's user avatar
  • 213
1 vote
2 answers
2k 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....
Kanuc's user avatar
  • 41
0 votes
1 answer
1k 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 ...
user56834's user avatar
  • 135
0 votes
0 answers
77 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 ...
bodomalo's user avatar
0 votes
1 answer
24 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 ...
Realraptor's user avatar
1 vote
1 answer
756 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://[email protected]). These applications are Krdc and Remmina. I want such links to be opened in krdc, but they are ...
Ashark's user avatar
  • 979
2 votes
1 answer
287 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 ...
Tom Adler's user avatar
  • 181
2 votes
2 answers
1k 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 ....
Waldir Leoncio's user avatar
3 votes
1 answer
4k 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 ...
Shuzheng's user avatar
  • 4,601
1 vote
0 answers
43 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 ...
sancho.s ReinstateMonicaCellio's user avatar
0 votes
1 answer
189 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-...
timesharer's user avatar
6 votes
0 answers
2k 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 ...
trungnt2910's user avatar
5 votes
3 answers
2k views

How to get the url from current tab of firefox, without need to install additional software?

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 ...
Alfred.37's user avatar
  • 137
-1 votes
1 answer
613 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 ...
8c6b5df0d16ade6c's user avatar
1 vote
2 answers
426 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" ...
dr_'s user avatar
  • 30.1k
0 votes
1 answer
103 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 ...
john's user avatar
  • 1
3 votes
1 answer
3k 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 (...
Demiler's user avatar
  • 53
2 votes
1 answer
226 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 ...
MHarris1319's user avatar
-1 votes
1 answer
1k 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?
david's user avatar
  • 329
0 votes
0 answers
426 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....
beginner's user avatar
  • 277
1 vote
0 answers
47 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 --...
Nikhil's user avatar
  • 53
1 vote
1 answer
893 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 --...
Nikhil's user avatar
  • 53
1 vote
2 answers
2k 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. every once in a while i end up with a plaintext file containing a bunch of ...
Lesmana's user avatar
  • 27.6k
2 votes
1 answer
4k 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/...
xavier96's user avatar
0 votes
1 answer
213 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....
FreeSoftwareServers's user avatar
0 votes
1 answer
215 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.
Donbe_280385's user avatar
1 vote
3 answers
2k 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 ...
Gooze_Berry's user avatar
4 votes
2 answers
194 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://...
Matthew's user avatar
  • 351
5 votes
0 answers
2k 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 ...
Jens's user avatar
  • 1,787
3 votes
1 answer
1k 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 ...
neverMind9's user avatar
  • 1,700
1 vote
2 answers
102 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 ...
David's user avatar
  • 25
3 votes
2 answers
572 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 ...
Tim's user avatar
  • 103k