"shell scripting tutorials?"

Reply

Join Date: Sep 2004
Posts: 1
Reputation: ojgibba is an unknown quantity at this point 
Solved Threads: 0
ojgibba ojgibba is offline Offline
Newbie Poster

"shell scripting tutorials?"

 
0
  #1
Sep 22nd, 2004
Can anyone tell me where to find shell script tutorial
Reply With Quote Quick reply to this message  
Join Date: Aug 2004
Posts: 298
Reputation: Cain is an unknown quantity at this point 
Solved Threads: 2
Cain's Avatar
Cain Cain is offline Offline
Posting Whiz in Training

Re: "shell scripting tutorials?"

 
0
  #2
Sep 22nd, 2004
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
I used up all my money on you baby...
... and I want it BACK.
Reply With Quote Quick reply to this message  
Join Date: Dec 2003
Posts: 2,414
Reputation: alc6379 has a spectacular aura about alc6379 has a spectacular aura about alc6379 has a spectacular aura about 
Solved Threads: 123
Team Colleague
alc6379's Avatar
alc6379 alc6379 is offline Offline
Cookie... That's it

Re: "shell scripting tutorials?"

 
0
  #3
Sep 27th, 2004
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.
Alex Cavnar, aka alc6379
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 1
Reputation: Rashed is an unknown quantity at this point 
Solved Threads: 0
Rashed Rashed is offline Offline
Newbie Poster

Re: "shell scripting tutorials?"

 
0
  #4
Dec 25th, 2004
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
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 21
Reputation: vgersh99 is an unknown quantity at this point 
Solved Threads: 0
vgersh99's Avatar
vgersh99 vgersh99 is offline Offline
Newbie Poster

Re: "shell scripting tutorials?"

 
0
  #5
Dec 26th, 2004
on *IX:
man awk
vlad
+-----------------------------------+
| #include <disclaimer.h> |
+-----------------------------------+
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 3
Reputation: steve-parker.or is an unknown quantity at this point 
Solved Threads: 0
steve-parker.or steve-parker.or is offline Offline
Newbie Poster

Re: "shell scripting tutorials?"

 
0
  #6
Jan 13th, 2005
Reply With Quote Quick reply to this message  
Join Date: Dec 2003
Posts: 2,414
Reputation: alc6379 has a spectacular aura about alc6379 has a spectacular aura about alc6379 has a spectacular aura about 
Solved Threads: 123
Team Colleague
alc6379's Avatar
alc6379 alc6379 is offline Offline
Cookie... That's it

Re: "shell scripting tutorials?"

 
0
  #7
Jan 14th, 2005
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.
Alex Cavnar, aka alc6379
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 3
Reputation: steve-parker.or is an unknown quantity at this point 
Solved Threads: 0
steve-parker.or steve-parker.or is offline Offline
Newbie Poster

Re: "shell scripting tutorials?"

 
0
  #8
Jan 17th, 2005
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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Shell Scripting Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC