11-20-2010
You could ssh a tunnel and wget locally, assuming you cannot wget directly. You can even leave the ssh tunnels to all of them up on different adjacent local high ports, and just increment the port.
This User Gave Thanks to DGPickett For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to make a script to use wget to find and download mp3s on a website into a directory with a name derived from that URL. So far I have:
#!/bin/sh
echo “MP3 Downloader”
echo -n "Enter full URL address of website or website subdirectory > "
read text
cd ~
mkdir $text
cd $text
... (3 Replies)
Discussion started by: Garnett
3 Replies
2. Shell Programming and Scripting
Hello All,
I need your help, i would like to know how to use ssh command in the shell scripts? and make the script continue to enter the password without user intervention
example of the normal commands written manually: # ssh 172.30.1.256 -l mxread
password: mxread
Thanks in advance (3 Replies)
Discussion started by: Dendany83
3 Replies
3. Shell Programming and Scripting
Hi All,
I am using ssh in my shell script. Can any one please suggest me option so that i can avoid the login message as below in the execution:
NOTE:
Please note that you have logged into the newer version of server "gabbro"
*******
Performing functions to this computer withe the... (6 Replies)
Discussion started by: vikash_k
6 Replies
4. Shell Programming and Scripting
Hi All,
i have two machines like x and y . my requirement is i should connect to machine Y from x through ssh connection . and do some operation such as copy and move and delete files in Y machine .
i tried with this code but it is doing in machine x only . and i need to exit from Y when... (1 Reply)
Discussion started by: rateeshkumar
1 Replies
5. Shell Programming and Scripting
How do I use the ssh command to connect to another server without the password prompt?
I use: ssh user@host and it prompts for the password.
how do I include the password in the ssh command?
alternatively, how do you execute 1 command from server A on server B?
thanks,
... (4 Replies)
Discussion started by: toughlittleone
4 Replies
6. UNIX for Dummies Questions & Answers
ssh -q <hostname> /opt/tcs/satish/tst.ksh
ssh -q <anotherserver> /opt/tcs/satish/tst.ksh
tst.ksh has "nohup <command> & "
when i execute below script , its throwing error as
nohup can not be found
ssh -q <anotherserver> /opt/tcs/satish/tst.ksh > log &
can someone let me... (5 Replies)
Discussion started by: only4satish
5 Replies
7. Shell Programming and Scripting
Hi, I'm trying to write a shell script checks if there is ssh command listening on port 1080 at loop back interface.
If there is, just exit nicely with exit code 0.
If not, start command: #ssh -D 1080 smsuser@10.76.172.23 ping -i 60 localhost
The ssh keys needs to be generated and... (2 Replies)
Discussion started by: Kijana_kenn
2 Replies
8. Shell Programming and Scripting
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
9. Shell Programming and Scripting
Hi,
I need help in wget or curl command to invoke a REST client services.
This is the format i need to send request
wget -H "tokenId: F6" -H "Authorization: Basic <64 bit encoded username:password>" -H "https://example.com" -H "Accept: application/Json" -o download.xml... (1 Reply)
Discussion started by: zen01234
1 Replies
10. UNIX for Beginners Questions & Answers
Hi, I need to join these statements for efficiency, and without having to make a new directory for each batch. I'm annotating commands below.
wget -q -r -l1 URL
^^ can't use -O - here and pipe | to grep because of -r
grep -hrio "\b\+@\+\.\{2,4\}\+\b" * > first.txt
^^ Need to grep the output... (14 Replies)
Discussion started by: p1ne
14 Replies
LEARN ABOUT DEBIAN
gkrellkam-list
GKRELLKAM-LIST(5) File Formats Manual GKRELLKAM-LIST(5)
NAME
gkrellkam-list - format of the list description files used by GKrellKam
DESCRIPTION
GKrellKam lists describe a series of image sources, used in order or at random by the GKrellKam plugin. Online lists (downloadable by
GKrellKam with HTTP) use this same syntax.
Blank lines and comments (beginning with '#') in GKrellKam lists are ignored. Every line of text that does not begin with a tab character
is considered an image source.
An image source can be one of several types:
image Sources of type image consist of a complete local filename to an image file.
url Type url is just that; a ftp:// or http:// URL pointing at an online image file.
script Type script is a system command, executed in a shell by GKrellKam when it's time to get this image. The output of the command is
assumed to be a complete filename of a local image file, optionally terminated with newlines/whitespace. The corresponding image is
loaded.
list Type list causes a different GKrellKam list to be included in the current one.
Each image source line should look like this:
type: name
The "type: " part of the line can be omitted for images and URLs, to make these list files backwards compatible with earlier versions of
GKrellKam, but it is suggested that you specify them. It will enhance the readability of the list file.
There are also properties that can be applied to types image, url, and script. Properties must follow the image source line that they mod-
ify, and must begin with a tab character. These include:
tooltip
This sets the message shown when the mouse is kept over the image panel in GKrellKam for a few seconds. If not set, the image's
filename or URL is shown instead.
seconds
This changes the number of seconds that an image will remain displayed. If not set, the "Default number of seconds" set for that
panel in the GKrellM configuration window will be used.
refresh
If set, this sets the minimum length of time that must elapse before the image is re-loaded. If the image cycles up before that
time, the old image will be used. For script types, this means that the script will not be re-run. For url types, the image will not
be fetched using wget. When this property is not set, url images will be downloaded every time they are displayed, and scripts will
be run every time.
EXAMPLE
This is a simple example of a GKrellKam list. For a better example, see example.list from this distribution.
# .krellkam.list
# This list rotates through ~/pics/mypic[1-4].jpg along with a
# webcam, and then displays the pictures in ~/lists/sub.list
image: /home/paul/pics/mypic1.jpg
/home/paul/pics/mypic2.jpg
image: /home/paul/pics/mypic3.jpg
http://www.usu.edu/webcam/fullsize.jpg
[tab] tooltip: This is the building where I work
image: /home/paul/pics/mypic4.jpg
[tab] seconds: 4
[tab] tooltip: Don't display this one very long
list: /home/paul/lists/sub.list
FILES
$HOME/.krellkam.list - The default source for the first GKrellKam panel
example.list - A sample GKrellKam list
AUTHOR
GKrellKam was written by paul cannon <paul@cannon.cs.usu.edu>. This manual page was written by the same author for inclusion in the GKrel-
lKam distribution, and may be used by others.
SEE ALSO
wget(8)
Dec 7, 2001 GKRELLKAM-LIST(5)