Curl detection of redirect


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Curl detection of redirect
# 1  
Old 02-24-2017
Curl detection of redirect

This URL:

Internet Archive Wayback Machine

..will redirect to this URL when using a browser:

https://web.archive.org/web/20140110...desformat=html

But when accessing the first URL with curl (or wget) there is no information about the redirect and it ends up a 404. Can the redirect information be obtained somewhere or somehow from the command line such as with curl or wget? I've looked at the headers and HTML body with no luck and can't figure out where the browser obtains the redirect URL from.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Curl/wget shell script to follow redirect.

Hello eveyone. I would like to create a simple batch with curl (or wget) to download a URL but the URL I can only download from the browser and not from shell because curl and wget won't follow the 301 redirect which I get :confused: I tried with curl -L but no luck. I want to hear your opinion.... (5 Replies)
Discussion started by: accolito
5 Replies

2. Programming

Parallel Processing Detection and Program Return Value Detection

Hey, for the purpose of a research project I need to know if a specific type of parallel processing is being utilized by any user-run programs. Is there a way to detect whether a program either returns a value to another program at the end of execution, or just utilizes any form of parallel... (4 Replies)
Discussion started by: azar.zorn
4 Replies

3. Shell Programming and Scripting

Download using curl and redirect question_please help

Basically I am needing to Download (using curl) in the background some data from(link here), with stderr redirected to /dev/null, to a file named taxcode I was doing this, curl & http:// name here/download/pls/Title_26.txt 2> /dev/null > taxcode but the results were not what I was after. ... (1 Reply)
Discussion started by: santod
1 Replies

4. AIX

NFS mount detection

Hi, I have a handy script in Linux, part of which checks for the presence of nfs mounts, using the information in /proc/mounts. Is there a suitable command or file in AIX that could be used in a similar way? Many thanks in advance (1 Reply)
Discussion started by: SDG
1 Replies

5. Shell Programming and Scripting

NAT detection

hellou, can anybody help me with nat detection in real time ? i prefer some detection script because i try some nat detection program's for example p0f or i'm using tcpdump, but i would get contain of specific packet. Some ideas? (1 Reply)
Discussion started by: TheTechnic
1 Replies

6. Shell Programming and Scripting

key detection in a script

Heloo every one I want to write a script that detects a key press and mouse click and movement,but I dont know how. The second one is I want to run myscript without writing the shell ie not "sh script.sh" but "script.sh" Can you help me out of here? Thanks in advance. (9 Replies)
Discussion started by: enoch99
9 Replies

7. UNIX for Advanced & Expert Users

boot up detection for linux

Hello, I was wondering is there a specific process I could look for to tell if my suse linux machine is still booting up. I have a monitor process and it's detecting problems with processes because I think the machine is still booting up and has yet to start everything up. Thanks for any help. (2 Replies)
Discussion started by: benefactr
2 Replies

8. IP Networking

modem detection

How to get information that where is my modem configured in /dev. I have two modems configured in my device .. one is USB and other is PCI modem.. USB is detected as /dev/USB0. but how to see about PCI modem? (0 Replies)
Discussion started by: s123.radha
0 Replies

9. UNIX for Dummies Questions & Answers

virus detection

IS there virus software for unix? I worked in a Solaris environment and dont remember having anything. I also ask because the current enviroment i am working on is Microsoft and they argue that they do not use unix because of virus detection. Any input would be greatly appreciated. (1 Reply)
Discussion started by: pbonilla
1 Replies
Login or Register to Ask a Question
yelp(1) 							   User Commands							   yelp(1)

NAME
yelp, gnome-help - GNOME help browser SYNOPSIS
yelp [URL] [gnome-std-options] gnome-help [URL] [gnome-std-options] DESCRIPTION
The GNOME help browser is a utility that allows users to view documentation for GNOME in several formats including man pages, HTML, SGML(DocBook), and GNU info files. OPTIONS
The following options are supported: gnome-std-optionStandard options available for use with most GNOME applications. See gnome-std-options(5) for more information. OPERANDS
The following operands are supported: URL This allows you to view a specific help document by providing the complete URL to the documentation that you wish to view. If URL starts with "ghelp:", yelp opens the help document within ghelp. If URL does not start with "ghelp:", yelp attempts to launch a default Internet browser window and display the contents of the help document within this browser window. EXTENDED DESCRIPTION
The GNOME Handbook of Writing Software Documentation is available at the following URL: http://developer.gnome.org/projects/gdp/handbook.html To access the API documentation for including help in applications, you must install the developer version of the package. EXAMPLES
Example 1: Launching GNOME Help Browser example% yelp Example 2: Launching GNOME Help Browser and loading the help information for gnome-printinfo example% yelp ghelp:///usr/share/gnome/help/gnome-print-manager/C/gnome-print-manager.xml Example 3: Launching GNOME Help Browser with a standard Internet URL example% yelp http://www.gnome.org The default Internet browser is launched (unless a browser is already running), and this URL is displayed within the browser window. ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables: INFOPATH Location of GNU Info files. MANPATH Location of man pages. EXIT STATUS
The following exit values are returned: 0 Application exited successfully >0 Application exited with failure FILES
The following files are used by this application: /usr/bin/yelp Executable for GNOME help browser /usr/bin/gnome-help Executable for GNOME help browser ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-help-viewer | +-----------------------------+-----------------------------+ |Interface stability |External | +-----------------------------+-----------------------------+ SEE ALSO
Latest version of the GNOME Desktop User Guide for your platform. gnome-std-options(5), scrollkeeper-config(1), scrollkeeper(1), scrollkeeper-devel(1) NOTES
yelp and gnome-help are both the same application. Written by Matt Keenan, Sun Microsystems Inc., 2003. SunOS 5.10 8 Oct 2003 yelp(1)