LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-19-2007, 12:59 AM   #1
eboy98
Member
 
Registered: Oct 2007
Distribution: RHEL5
Posts: 64

Rep: Reputation: 15
shell script


i did a little work with shell script and i found this one really nice. now i have one question about shell scripting.


>is it necessary to learn for Linux user
>if not then who should learn this
 
Old 10-19-2007, 01:14 AM   #2
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
well if you want to learn about linux then i suggest you learn it, its not necessary, but its good to know
 
Old 10-19-2007, 08:52 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
As you get familiar with Linux and learn to do different things, you will discover if you need to learn shell scripting. It all depends on what you want to do.

An advantage of Linux is the really powerful command-line. A disadvantage is that it is not something you learn overnight.

Regardless of whether you ever write a script, I recommend reading "Bash Guide for Beginners" by Machtelt Garrels. Free at http://tldp.org
 
Old 10-19-2007, 09:15 AM   #4
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Another nice location is linuxcommand.org for shell scripting things. Like said, knowing shell scripting isn't necessary for a Linux user, and learning shell scripting doesn't necessarily mean you need to be a Linux user. That's because the shells for which you create scripts (note that depending on the script contents, it might or might not work with all shells) aren't Linux-only: if you know how to write scripts for Linux, you know the basics of how to write them on other platforms as well (like Unix, or Windows -- it's common to use "scripts" or batch files in the latter one too). Knowing how Linux works helps getting the result done (in the script), and on the other hand knowing how to script may ease the use of Linux in some cases (depends a lot what you're doing). But I don't think either one depends on the other one more than just a little.

In my opinion it's healthy for anyone to know the basics of shell scripting, or whatever it is called in the environment in question. Graphical interfaces may make life easy, but often they just can't do what scripts can - automate, batch-process, ease up and easily modify a task that has several steps.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell Scripting: Getting a pid and killing it via a shell script topcat Programming 15 10-28-2007 03:14 AM
Call One shell script from another shell script Sundaram Linux - Software 5 10-13-2006 04:59 AM
I made a shortcut to a shell script and it is using default shell icon... shlinux Linux - Software 2 04-20-2006 07:29 AM
Alias or shell script to confirm 'exit' commands from a shell rose_bud4201 Programming 2 03-08-2006 03:34 PM
shell script problem, want to use shell script auto update IP~! singying304 Programming 4 11-29-2005 06:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration