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 456,451 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 2,587 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: 666 | Replies: 4
Reply
Join Date: Oct 2007
Posts: 26
Reputation: everlast is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
everlast's Avatar
everlast everlast is offline Offline
Light Poster

Question puzzled by scripts

  #1  
Nov 13th, 2007
i've obtained alot of literature for vim editor and i've started working, but then i realised there aren't any books on shell scripting (at least i could'nt find any) containing many examples. can anyone suggest a good by example book on bash shell?

also, what is the importance of scripts for a linux user? what can they do? (i am an absolute linux beginner and i don't want to waste my time on something that is not usefull, at least at the beginning)

thank you in advance.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Feb 2006
Posts: 1,509
Reputation: masijade is a glorious beacon of light masijade is a glorious beacon of light masijade is a glorious beacon of light masijade is a glorious beacon of light masijade is a glorious beacon of light 
Rep Power: 10
Solved Threads: 136
masijade's Avatar
masijade masijade is offline Offline
Posting Virtuoso

Re: puzzled by scripts

  #2  
Nov 13th, 2007
There is a tutorial tacked to the top of this forum.

A script can do just about anything, and they are very useful to linux users (at least those that work on the command line, as you can use them to combine many common tasks that are usually performed together among other things).
Java Programmer and Sun Systems Administrator

----------------------------------------------

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
Reply With Quote  
Join Date: Oct 2007
Posts: 26
Reputation: everlast is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
everlast's Avatar
everlast everlast is offline Offline
Light Poster

Re: puzzled by scripts

  #3  
Nov 14th, 2007
thank you so much.. i'll try the tutorial at the top of the forum - i can't understand how i managed to miss it. thank you for the motivation!
(excuse my bad english
Reply With Quote  
Join Date: Oct 2007
Posts: 302
Reputation: stilllearning has a spectacular aura about stilllearning has a spectacular aura about 
Rep Power: 3
Solved Threads: 37
stilllearning stilllearning is offline Offline
Posting Whiz

Re: puzzled by scripts

  #4  
Nov 22nd, 2007
This is a basic bash scripting tutorial http://www.linuxcommand.org/writing_shell_scripts.php I found which is quite helpful, and takes you through simple scripting step by step. This explains shell commands and how to write simple scripts. I would also recommend a tutorial on regular expressions if you are not familiar with those, since I found that to be a necessary prerequisite to writing shell scripts.
Last edited by stilllearning : Nov 22nd, 2007 at 2:53 am.
Reply With Quote  
Join Date: Oct 2007
Posts: 26
Reputation: everlast is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
everlast's Avatar
everlast everlast is offline Offline
Light Poster

Re: puzzled by scripts

  #5  
Nov 22nd, 2007
tank you! i've found some great links too...

http://www.tldp.org/LDP/GNU-Linux-To...tml/index.html
http://www.tldp.org/LDP/Bash-Beginne...tml/index.html
http://www.tldp.org/LDP/abs/html/index.html

i'm working on improving my basics, and then i'll go on to the links above, and the tutorial that You proposed. alot of work..
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 1:59 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC