User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Shell Scripting section within the Software Development category of DaniWeb, a massive community of 403,513 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,094 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Shell Scripting advertiser: Programming Forums
Views: 6239 | Replies: 7
Reply
Join Date: Sep 2004
Posts: 1
Reputation: ojgibba is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
ojgibba ojgibba is offline Offline
Newbie Poster

"shell scripting tutorials?"

  #1  
Sep 22nd, 2004
Can anyone tell me where to find shell script tutorial
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Aug 2004
Location: Pasadena, Maryland
Posts: 298
Reputation: Cain is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 2
Cain's Avatar
Cain Cain is offline Offline
Posting Whiz in Training

Re: "shell scripting tutorials?"

  #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 12:04 pm. Reason: killerrrrtypo
I used up all my money on you baby...
... and I want it BACK.
Reply With Quote  
Join Date: Dec 2003
Location: Nashville, TN
Posts: 2,333
Reputation: alc6379 has a spectacular aura about alc6379 has a spectacular aura about alc6379 has a spectacular aura about 
Rep Power: 11
Solved Threads: 101
Colleague
alc6379's Avatar
alc6379 alc6379 is offline Offline
Cookie... That's it

Re: "shell scripting tutorials?"

  #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  
Join Date: Dec 2004
Posts: 1
Reputation: Rashed is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Rashed Rashed is offline Offline
Newbie Poster

Re: "shell scripting tutorials?"

  #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  
Join Date: Nov 2004
Posts: 21
Reputation: vgersh99 is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
vgersh99's Avatar
vgersh99 vgersh99 is offline Offline
Newbie Poster

Re: "shell scripting tutorials?"

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

Re: "shell scripting tutorials?"

  #6  
Jan 13th, 2005
Reply With Quote  
Join Date: Dec 2003
Location: Nashville, TN
Posts: 2,333
Reputation: alc6379 has a spectacular aura about alc6379 has a spectacular aura about alc6379 has a spectacular aura about 
Rep Power: 11
Solved Threads: 101
Colleague
alc6379's Avatar
alc6379 alc6379 is offline Offline
Cookie... That's it

Re: "shell scripting tutorials?"

  #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  
Join Date: Dec 2004
Posts: 3
Reputation: steve-parker.or is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
steve-parker.or steve-parker.or is offline Offline
Newbie Poster

Re: "shell scripting tutorials?"

  #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  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Shell Scripting Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Shell Scripting Forum

All times are GMT -4. The time now is 12:51 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC