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.

learn more… | top users | synonyms

16
votes
1answer
1k views

Why does this ffmpeg command work in bash and not zsh?

Today I got home from work (run bash on an Ubuntu box) and tried to run some code on my local arch box with my beloved zsh and the commands were failing? The command is below with the personal info ...
1
vote
2answers
61 views

How to use a greped url provided by tshark inside a bash script?

I'm trying to use a url piped from tshark into a while loop. while read line ; do echo "$line" ffmpeg -i "$line" -c copy "filename" done < <(tshark -i tun0 -B 50 -P -V -q -l -Y 'http matches ...
2
votes
0answers
85 views

Is there a browser that supports IPv6 Link Local addresses?

I'd like to know at last one browser that allows me to browse fe80::4216:7eff:fe9f:79ac%enp2s0f0, for example. I've checked there're many tickets open in bug trackers of big name browsers like Firefox ...
2
votes
1answer
45 views

Extract URL from non-formatted text

I've found only examples on extracting substrings from formatted text like HTML files, but in my case I need to output a list of URLs for example: ... https://twitter.com/user1/status/xyza ...
0
votes
1answer
42 views

How to extract all links from a given url in a decent time

I'm trying to extract the links from a specified url and redirect them to a file. At first I tried using --spider , this is my code: wget --spider --force-html -m http://file/path 2>&1 | grep ...
0
votes
2answers
37 views

URL instead of file in linux command parameters

Is there a way to put URL of a file instead of a file in parameters of a linux command? To be specific I am looking for a way to store dhcp.lease file remotely but dhcp accept just file. How can I do ...
1
vote
1answer
59 views

How to block keywords in https URL using squid proxy?

I want to block keyword "import" in any URL, including https websites. Example: http://www.abc.com/import/dfdsf https://xyz.com/import/hdovh How to create acl to do it? Thanks
1
vote
1answer
79 views

Launch web page secured with HTTP authentication from a terminal kiosk

I am trying to launch Chromium to open a specific webpage that requires username and password login details. I can open the webpage no problem from the terminal however I have been unable to so far ...
2
votes
3answers
199 views

curl page source from text file containing URLs

I have a text file containing up to 100 URLs. I am able to curl the page source from them using: cat /path/to/url.txt|xargs curl -o /path/to/output.txt This will download the page source for all of ...
0
votes
1answer
25 views

Definition of the ../../dir/index.html URL Path syntax

I've searched the net for an example of the ../../ URL path that is in some existing code that I'm troubleshooting, and have not been succesful. I need to know how to find the absolute path to where ...
1
vote
1answer
68 views

Wget - Retrieving Recursive URLs from list of URLs

I have a list of urls in a txt file. Each of these urls point to a page with another list of urls. What WGET command can I use to retrieve the urls from the pages that have been linked from the the ...
0
votes
2answers
37 views

Retain the ../../../ in wget command

../../../ is removed when i use it with the url in wget command. PLease see below: user $ wget http://n0t.meaning.anything:20000/../../../some/folder/file --2015-10-29 16:48:13-- ...
1
vote
1answer
29 views

What is wrong with URI handling on Linux Mint?

I'm using Linux Mint 17.2 XFCE. I face very strange problem on my Linux Mint 17.2 XFCE. When I open files, that are located in paths with non-latin names (for example /home/yanpas/Загрузки) I see ...
1
vote
4answers
194 views

Trying to grep url from html source in .txt file using sed

i have been able to use the code below to grep lists of urls from html source before, but for some reason it's not working for this specific example. grep: grep -1 box-download shareit1.txt|sed ...
1
vote
1answer
692 views

Use curl to download list of files in csv

I have a csv of JPG url extensions. http://www.example.com/images/[url_extension] I want to use curl to loop through the CSV and download the jpg at each extension. So far I have the following, but ...
2
votes
2answers
117 views

Adding www to URL : not working

This is further to the redirect query which I posted earlier in this group . Redirect rule for Apache : Adding www to URL It is still not working for me , so re-posting the same query . The query ...
1
vote
1answer
52 views

Redirect rule for Apache : Adding www to URL

I want to add www to my URL e.g example.com.au . Right now if I type www.example.com.au in the browser it gets changed to http://example.com.au . I want it to be http://www.example.com.au . Below is ...
1
vote
2answers
107 views

How do I get size of (deb) file from download link/URL?

I use --print-uris of apt-get to get url (download-link) of debs I want to download and install on my Debian (Trisquel) GNU/Linux. --print-uris Instead of fetching the files to install ...
1
vote
1answer
76 views

Url Decoding shell script

How can I store the url-decoded string in a variable using shell script #!/bin/sh alias urldecode='python -c "import sys, urllib as ul;print ul.unquote_plus(sys.argv[1])"' ...
0
votes
0answers
55 views

Run Loop between starttime and endtime and get data from url

I want to check two conduction and run a loop for every one minute. There should be three variable start_time, end_time and current_time Conduction's: start_time should be greater than ...
3
votes
1answer
79 views

Download a file to a server?

After ssh to a server, I want to download two files in https://iain.cx/src/ktmux/#download to the server. So for the first file ktmux_helper, I right click to find its link on my local computer, and ...
0
votes
0answers
160 views

Increment Numbers in URL?

I want to create a list of URLs. The URLs have two sets of identical numbers which need to be incremented by 1: http://sample.com/poilus/cwrgshs/192/192.html ...
-2
votes
2answers
155 views

extracting only the domainname, port number of first path

str1="https://111.111.111.111:2222/cpsess8993738132/scripts4/listaccts/" str2="https://111.111.111.111:2222/cpsess8993738132/" ...
1
vote
1answer
132 views

Getting the redirection URL of a phishing

I have received this email from a scumbag today. It is a phishing telling me to download a file at this URL: http://mes.org.my/home/tmp/comprovante/index1.php?Comprovante_Transferencia.pdf This URL ...
1
vote
0answers
138 views

Nginx wordpress and its wrong path

I've a Raspberry and I installed nginx and over this I put Wordpress. Wordpress installation come from an old backup of a websites that I hosted somewhere else. The URL was mydomain.com/home, now in ...
1
vote
3answers
120 views

How I can determine the latest version in URL?

I'm trying to put a "function" inside of a script to install the latest version of "TeamSpeak3" Client and make all configurations. My problem is I don't know how to make a function to test the ...
1
vote
1answer
203 views

Block a certain URL?

I want to deny access to a specific URL. It isn't a whole website, it's a specific URL. I want to do it simply so that some applications including browsers can't make requests for it. I tried this: $ ...
27
votes
12answers
22k views

Decoding URL encoding (percent encoding)

I want to decode URL encoding, is there any built-in tool for doing this or could anyone provide me with a sed code that will do this? I did search a bit through unix.stackexchange.com and on the ...
0
votes
1answer
444 views

URL Rewrite on debian not working

When trying to enable URL rewrite I just can't get it to work. I've enabled it with the command sudo a2enmod rewrite and I've restarted the service using sudo service apache2 restart. However in the ...
3
votes
2answers
127 views

Firefox discards URL when server connection times out or fails

I have two problems with Firefox: When I type a non-existent server into the address bar, such as http://xyz.example.com I get "server not found", but when I try to fix the address, Firefox ...
3
votes
1answer
225 views

Escape closing parentheses from URL with firefox -remote

I have this command (for detailed info see Shortcut to google selected text): sh -c 'firefox -remote "openURL(http://www.google.com/search?q=$(xsel),new-tab)"' But when I select a text which ends ...
1
vote
1answer
333 views

How to Link File URLs?

I am currently running WordPress/Woocommerce on an Apache server. I have files for sale on the server, located outside of the public path for security. I am attempting to link the downloadable files ...
4
votes
2answers
2k views

Tell wget not to spider URL matching a pattern?

I want to test how my site would be behave when being spidered. However, I want to exclude all URLs containing the word "page". I tried: $ wget -r -R "*page*" --spider --no-check-certificate -w 1 ...
1
vote
1answer
2k views

Two HTTP servers on port 80 and 443

I use on my home server, Apache with one main application that is OwnCloud. So to access it from Internet I use URL -> https://my_host.no-ip.org/owncloud I use another HTTP application on the same ...
2
votes
2answers
1k views

Resolve filename from a remote URL without downloading a file

I am creating a script, which should download latest version of an application from repository and deploy the app. The main issue: there are several repositories and I need to check, which of them ...
1
vote
2answers
359 views

Third level domains [duplicate]

I have a linux computer accessible from the internet and I have registered a free dynamic DNS service, let's say its address on the internet is xx.yy.com. On this computer I have two processes ...
0
votes
1answer
356 views

Use curl to download from a Url

I am trying to download a file from a url using curl: $ curl -3 -v "https://atl1mmsget.msg.eng.t-mobile.com/mms/wapenc?location=XXXXXXXXXXX_14zbwk&rid=027" Where the X is a digit in the phone ...
1
vote
1answer
541 views

Strange symbols instead of normal icons and sidekiq issue in GitLab

After setting the relative url in gitlab: # Note that three settings need to be changed for this to work. # 1) In your application.rb file: config.relative_url_root = "/gitlab" # 2) In your ...
8
votes
2answers
216 views

Is the “computer:///” address only something symbolic, or can it be used somewhere?

I am using Linux Mint 15 (Mate). When I double click the Computer icon on my desktop to see the available drives, the address bar of file manager (Caja 1.6.1) shows this address: computer:///. Is this ...
1
vote
2answers
8k views

Type URL and show HTTP status

I want to make a shell script where I type an url and it returns me the status code.So far I've tested wget is there any other cause it has the tendency to save whatever you run. Then I tried to some ...
3
votes
1answer
300 views

command not found handle doesn't work for url

I'm trying to setup the command_not_found_handle for URL links, %> command_not_found_handle() { echo "OK"; } %> aaaaa OK %> http://www.google.com bash: http://www.google.com: No such file or ...
1
vote
1answer
1k views

How can I force the IP address & hostname to only be exposed as domain.com on a Tomcat Server?

I have a web server which is running on CentOS 6 on top of Tomcat7. Everything works fine, however, there are many ways that users can access the server. For instance: IP Address domain.com ...
0
votes
1answer
382 views

How to find the url of the saved web page? [closed]

I am facing this issue since long. I open a web page and save on my hard drive. Later I open the saved file. But suppose I want to know the url of the same page, how to know that. As I have no idea of ...
34
votes
2answers
45k views

Any way to encode the url in curl command?

I have some url which has space in it's query param. I want to use this in curl, e.g. curl -G "http://localhost:30001/data?zip=47401&utc_begin=2013-8-1 00:00:00&utc_end=2013-8-2 ...
1
vote
1answer
128 views

How to get a click-able link for a shared file, when sending an e-mail with the file-name in it

I've got a local network with a shared drive mounted to it, all machines running Fedora (and some Windows). When we want to share a file, there is no easy way of just getting a link for the file like ...
3
votes
1answer
816 views

Open url and fill form automatically

I'd like to create a script to open an url and fill some forms. I don't want to save the form data on the browser, so I think that this script would be a good solution for me. Any help? I know how ...
1
vote
0answers
484 views

Is there a graphic tool to add new url schemes like XX://?

I would like to add a few url scheme, e.g magnet://, and add a simple mimetype for it. So that I would be able to handle these links within my browser. Is there any graphic tool I could utilize ?
6
votes
1answer
2k views

How can I enable URL rewriting on a DD-WRT router?

I would like to be able to add a parameter to certain URL requests that go through my DD-WRT router. Specifically, I'm trying to figure out how to force safe search in Google, which means I have to ...
10
votes
3answers
14k views

Get URL's redirect target with curl

I would like to check where a single URL redirects. An example of that could be a link from Google's search result page (where a click always goes through Google server). Can I do that with curl?
5
votes
1answer
816 views

Is there any way to access a hostname containing an underscore?

I have this weird problem. I need to access a website that contains an underscore from Linux. The hostname is invalid and Linux does treat it as such. The problem is that access from Windows seems to ...