Computing.Net > Forums > Solaris > sample Shell script code

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

Reply to Message Icon

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



Sponsored Link
Ads by Google

Response Number 1
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.

http://www.tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html
http://www.tldp.org/LDP/abs/html/

Also, the O'Reilly books are all very good. Here is one I reference often.

http://www.oreilly.com/catalog/korn2/index.html


0

Response Number 3
Name: vastare
Date: June 14, 2005 at 05:35:25 Pacific
Reply:

Hi,

Thanks David.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: sample Shell script code

Need shell script code www.computing.net/answers/solaris/need-shell-script-code/3390.html

Shell script www.computing.net/answers/solaris/shell-script/3242.html

shell script www.computing.net/answers/solaris/shell-script/4427.html