scripting advice


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users scripting advice
# 1  
Old 09-05-2007
scripting advice

what is the good way to improve your skill in shell scripting??
# 2  
Old 09-05-2007
Hey memphiz16

If you want to improve the scripting skills then you first have to know about the basic commands and its pros and cons.
Then what OS and what shell you are going to use, you should know.
Take help of basic command books and man installed in the unix/aix OS.

Thanks
# 3  
Old 09-05-2007
Quote:
Originally Posted by memphiz16
what is the good way to improve your skill in shell scripting??
(read+practice) * extensively
# 4  
Old 09-06-2007
what i did was pratice writing them. i would start of with something basic. then add in a IF the statement. Then start adding in more complex items to do the simple script. I failed a lot so i picked up a book read and tried again. so like ghost said pratice and reading
# 5  
Old 09-08-2007
Also, look at other scripts and learn from them. Copy them and edit them. Learn logical operators, control structures, etc. Definitely take a look at the "Tips and Tutorials" section that the local gurus have so kindly contributed to: https://www.unix.com/tips-and-tutorials/

And...Practice, practice, practice, make mistakes, make some more mistakes, learn from those mistakes and have a bloody helluva FUN time in the process.

Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script advice

All I have 2 parent directories - input and output. Each parent has multiple sub-directories...each sub-directory has multiple files. Each parent directory structure is a mirror image of itself I need to poll the imput directory and if a new file is found, encrypt the file, move the file to... (2 Replies)
Discussion started by: davidra
2 Replies

2. Shell Programming and Scripting

Need Advice

Guys, Can you tell me what value would additional knowledge of PERL and CGI scripting will add to my skill set of UNIX shell scripting and ORACLE PL/SQL? I understand that PERL is a good tool for text processing. (1 Reply)
Discussion started by: yabhi_22
1 Replies

3. Linux

Scripting advice needed

Evening all, Im trying to get a script that will: Select the most 3 recent files in a specific directory Run a command on them (like chmod) Ask of you would like to continue Copy the files to another directory If a linux guru could help me out, it would be very much appreciated. Thanks... (2 Replies)
Discussion started by: Wiggins
2 Replies

4. AIX

Need career advice please

Hi all, I'm a Solaris/linux sysadmin with a good general UNIX skills and with a little tiny background on AIX with no exposure to IBM's hardware ( just reading ) , but i think i can cope with it . UNIX jobs nowadays are rare here ( i mean hp-ux , solaris , aix ) not linux specially after the... (6 Replies)
Discussion started by: h@foorsa.biz
6 Replies

5. UNIX for Dummies Questions & Answers

shell scripting help/advice

hello i am trying to generate a list of the most bandwidth consuming ip's from an Apache style log file. the script is run with the path to the log file as the only peramater. here is my code so far: echo "The ten most bandwidth consuming IP's were:" $outpt='' for ip in $(awk '{print $1}'... (4 Replies)
Discussion started by: qcent
4 Replies

6. Red Hat

Any advice would help

Hi everyone. I must admit up front that I am not very strong when it comes to Linux. I am actually a Windows guy, but don't let that count against me. :) I work for a very small company so we do not have a Server/Linux Admin on staff. Most of our needs have been handled by our WebHost. We have... (2 Replies)
Discussion started by: liquidstyleb
2 Replies

7. UNIX for Dummies Questions & Answers

need advice

i am currently running windows vista home premium, i want to install unix because i just started a computer programing course, i am just wondering if i install unix will i still have vista?? how does it work? will i get a choice of which os to run on system startup?? (1 Reply)
Discussion started by: naner9
1 Replies

8. Shell Programming and Scripting

Script Help/Advice

Alright, I feel like I have a pretty good basic knowledge of shell scripting, but this one is throwing me for a loop. I know I've seen something similar done with awk, but I couldn't find it with the search function. I've grepped through my log file and get results like this: --... (14 Replies)
Discussion started by: earnstaf
14 Replies

9. Shell Programming and Scripting

looking for advice...

Hi. First of all, Im an msoft guy, and when it comes to linux/unix, I'm retarded. Here is what I'm trying to do. I want to start I want to automatically connect to a remote server. Then I need it to login(https) -insert the licensce in the box(vi) -based on that licensce, the... (1 Reply)
Discussion started by: bravo24601
1 Replies

10. UNIX Desktop Questions & Answers

Looking for some advice

I am looking for some advice on wether to use unix or red hat linux? I have played with most windows OS and Mac OS up to in and including OS X. any and all advice would be appreciated (4 Replies)
Discussion started by: justawind
4 Replies
Login or Register to Ask a Question