How to expert Shell Programming ?


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting How to expert Shell Programming ?
# 1  
Old 10-21-2013
How to expert Shell Programming ?

Guys,

I have been reading the bash books, there are so many command & operators etc. The theory part is so much. Overall I have read some book. Still do not feel I know the bash with confidence. Lots of Jobs for System Admin demand Scripting knowledge as requirement ..


I think I should start reading the Live eg of script to study it well than going over the theory over & over again.

Can anyone suggest me any good book which will help me going & building my confidence.

Thanks,
Heman
# 2  
Old 10-21-2013
I'd suggest doing shell scripting, more than reading about it.
# 3  
Old 10-21-2013
I agree with Corona! Stop ideating (lol).
# 4  
Old 10-21-2013
Agree, but then is there piratical steps you guys would suggest ?

Thanks in advance
# 5  
Old 10-21-2013
Think of a project and make it. Maybe try and make a game of some sort. Test out your theoretical knowledge and see if it can solve a real problem.

I can't give you a step-by-step process because it isn't one.
This User Gave Thanks to Corona688 For This Post:
# 6  
Old 10-21-2013
Hi
Copy paste any short example to your terminal and try to alter it.
Alternativly, paste it to an editor, change there, copy paste to terminal, or save that file and execute it.

Last edited by sea; 10-21-2013 at 08:19 PM.. Reason: was written on the phone
This User Gave Thanks to sea For This Post:
# 7  
Old 10-21-2013
Hi...
(Apologies for any typos.)

I am probably an experienced hand here... ;oD

Think of a fairly difficult project that you think shell scripting might not be able to do.
Jump in right at the deep end and start with something simple pertaining to that project.
That is exactly what I did. It was at the beginning of this year when I joined
and I knew little or nothing about shell scripting and I started bragging I was going to
do a pure text mode shell based AudioScope.

I suspect the guys on here thought "here we go again" but once the second upload was
posted I started to attain interest from my mentors. This code has eveloved into
something totally different for shell scripting and a lot of input came voluntarily from
the big guns on here...

So, upload your first incarnation here and I guarantee that once you get these guys and
gals attention you will be steered into the right direction.

The basics will soon stick and along with the accrued knowledge of the pros on here
some seriously clever stuff will start to become understandable. If you work out a
routine and it works but you are not happy with say its speed someone will comment
on an alternative. Also they will even volunteer ideas to enhance your project and will
even explain how some lines of code actually work if you ask them.

I have as near as dammit dumped Python for shell stuff purely because of some of its
limitations and finding out how to work around them...

You will soon get to _know_ the gurus that regularly give replies so keep your eyes
open for some clever tricks of the trade...

Enjoy...
This User Gave Thanks to wisecracker For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Optimizing the Shell Script [Expert Advise Needed]

I have prepared a shell script to find the duplicates based on the part of filename and retain latest. #!/bin/bash if ; then mkdir -p dup fi NOW=$(date +"%F-%H:%M:%S") LOGFILE="purge_duplicate_log-$NOW.log" LOGTIME=`date "+%Y-%m-%d %H:%M:%S"` echo... (6 Replies)
Discussion started by: gold2k8
6 Replies

2. Shell Programming and Scripting

Shell Programming

Hi, I am using two files - one file contains list of service name , other file contains commands for each of these service name . I have to read each service name and check this string in 1.cfg file , if it exists , then i have to read another file (commands file ) and take the string and... (2 Replies)
Discussion started by: santhoshks
2 Replies

3. HP-UX

Expert Recovery Shell - Fatal Error: Unrecognized disk layout

I have a B.11.31 U ia64 system where I swremove the disk driver "SerialSCSI-00 B.11.31.1303 PCI-X/PCI-E SerialSCSI" (by mistake). afterwards the system won;t boot because of the missing disk drivers. I'm trying to recover my kernel by using the image HP-ux_11_31_disc_1.iso Run an Expert... (1 Reply)
Discussion started by: black_fender
1 Replies

4. UNIX for Dummies Questions & Answers

Shell script to read lines in a text file and filter user data Shell Programming and Scripting

sxsaaas (3 Replies)
Discussion started by: VikrantD
3 Replies

5. Shell Programming and Scripting

Shell Programming

Files to be merged. File1(1.txt) ----------- 1|2|Y 2|5|N File2(2.txt) ----------- 1|abc 2|xyz 3|pqr My Code: --------- nawk ' BEGIN { FS=OFS="|" } NR==FNR { (1 Reply)
Discussion started by: greenworld
1 Replies

6. Shell Programming and Scripting

shell programming

Hi iam new to shell programming. I would like to ask one dought abt the file handling in unix. Iam having a file1 as follows: ASDERFCX1234567890123456 POIUYTRE0098765432123456 BVCXCVBN0955644411111111 File2 ASDERFCX1234567890123456 kill@abc.com ... (8 Replies)
Discussion started by: nivas
8 Replies

7. Shell Programming and Scripting

Shell Programming

Provides a menu structure that allows a user to select several options - input a name and address, lookup a name and address, delete a name and address, and print a formatted report from a text database (note: this requirement assumes that you will use the program to create a database, though in... (1 Reply)
Discussion started by: DonOmar
1 Replies

8. Shell Programming and Scripting

shell programming

I want notes for learning Shell programming (2 Replies)
Discussion started by: Neha Agarwal
2 Replies
Login or Register to Ask a Question