Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
sample Shell script code
Name: vastare Date: June 8, 2005 at 23:41:22 Pacific OS: Solaris CPU/Ram: ?
Comment:
Hi, I wan to learn a shell scripting, so I want sample Shell scripting code. I need it for my assignment Please help me. Regards, Vastare
Name: cbailey33 Date: June 9, 2005 at 20:03:34 Pacific
Reply:
#!/bin/sh
while home do find $HOME -name homework -exec chown $USER {} \;
if [ -z $help ]; then man help else cd bookstore ftp -i store.computer.section mget "Basic Shell scripting" bye # shortcut for have a nice day cd $HOME fi cd couch cat "Basic Shell scripting" done
0
Response Number 2
Name: David Perry Date: June 13, 2005 at 04:18:29 Pacific
Reply:
The linux documentation project is a good resource.
Summary: I am new to shell script. Could some one explain the following line? ORIGIFS="$IFS" IFS="${IFS}:" set -- $1 IFS="$ORIGIFS" echo $1 I understand that IFS is the internal field seperator. in the first ...
Summary: Hi , I need a shell script "when named service went down need to send an email to my mailbox" can anyone help us. Thanks Inadvance Madan test ...