944,144 Members | Top Members by Rank

Ad:
Sep 22nd, 2004
0

"shell scripting tutorials?"

Expand Post »
Can anyone tell me where to find shell script tutorial
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ojgibba is offline Offline
1 posts
since Sep 2004
Sep 22nd, 2004
0

Re: "shell scripting tutorials?"

no real tutorials that i know of. you can always hit sun.com and look in the
admin resources for script examples. or pick up unix in a nutshell from borders or
amazon.
or you can just search google for shell or scripts and figure it out from the learn by
butcher method. there are other how-to and shell specific books for each type
out there to help get you going.

steal,
butcher,
script kiddie,
enjoy
Last edited by Cain; Sep 22nd, 2004 at 1:04 pm. Reason: killerrrrtypo
Reputation Points: 18
Solved Threads: 2
Posting Whiz in Training
Cain is offline Offline
298 posts
since Aug 2004
Sep 27th, 2004
0

Re: "shell scripting tutorials?"

Quote originally posted by ojgibba ...
Can anyone tell me where to find shell script tutorial
What type of language are you looking to learn? Heck, what OS are you looking to script?

There are so many different languages and possibilities, "shell scripting" becomes a pretty vague term. Let us know what you're wanting to accomplish, and we might be able to recommend something for you.
Team Colleague
Reputation Points: 186
Solved Threads: 147
Cookie... That's it
alc6379 is offline Offline
2,519 posts
since Dec 2003
Dec 25th, 2004
0

Re: "shell scripting tutorials?"

Ok guys, what if I want to do feed the script with a text file in order to find key words and compare between lines, either on windows or linux?




Thanx,
Rashed
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Rashed is offline Offline
1 posts
since Dec 2004
Dec 26th, 2004
0

Re: "shell scripting tutorials?"

on *IX:
man awk
Reputation Points: 16
Solved Threads: 0
Newbie Poster
vgersh99 is offline Offline
21 posts
since Nov 2004
Jan 13th, 2005
0

Re: "shell scripting tutorials?"

Reputation Points: 10
Solved Threads: 0
Newbie Poster
steve-parker.or is offline Offline
3 posts
since Dec 2004
Jan 14th, 2005
0

Re: "shell scripting tutorials?"

Quote originally posted by Rashed ...
Ok guys, what if I want to do feed the script with a text file in order to find key words and compare between lines, either on windows or linux?




Thanx,
Rashed
Please don't piggyback questions on other people's threads. When you do, you don't get the attention that you should get for your question.
Team Colleague
Reputation Points: 186
Solved Threads: 147
Cookie... That's it
alc6379 is offline Offline
2,519 posts
since Dec 2003
Jan 17th, 2005
0

Re: "shell scripting tutorials?"

You can feed a text file to a shell script in various ways - typical syntax is:

cat somefile.txt | somescript.sh
or
somescript.sh < somefile.txt
or
cat somefile.txt | somescript.sh -
or
somescript.sh -f somefile.txt

It depends on how the script was written - not everything is 100% consistent.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
steve-parker.or is offline Offline
3 posts
since Dec 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Shell Scripting Forum Timeline: Arping script
Next Thread in Shell Scripting Forum Timeline: Passing a variable with a password to the SU command





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC