top ten utilities in shell scripting?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers top ten utilities in shell scripting?
# 1  
Old 07-30-2005
Tools top ten utilities in shell scripting?

Let's get some feedback about the top ten ute's you guys use in writing your scripts - I mean yeah it depends on the job and what you're trying to accomplish, but there ARE those commands (sed, grep, awk, cut, etc.) that most will use time and again...

...so, what do you use?
# 2  
Old 08-01-2005
All of what you mentioned, but the most versatile is perhaps sed.

bakunin
# 3  
Old 08-01-2005
Quote:
Originally Posted by diego
Let's get some feedback about the top ten ute's you guys use in writing your scripts - I mean yeah it depends on the job and what you're trying to accomplish, but there ARE those commands (sed, grep, awk, cut, etc.) that most will use time and again...

...so, what do you use?
Yups the ones you had listed are the most used ones in correct order too :P
In addition I also perl (may be it doesnt fits here but I use that too)

Regards
# 4  
Old 08-03-2005
Well, if you really want to know, write up an awk script that will count the number of instances of certain keywords (such as ps, echo, sed) is a user's scripts. Then you can distribute this script and let people run it to collect stats on how often they *really* use certian commands in their scripts.

My guess would be that test/[ and if are the most popular commands (though shell builtins), then echo. Then grep, ./source, ps, sed, awk, etc.. The cool thing here is that people will probably be surporised when they ofund out what they *really* used most often.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

2 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Display top ten directories by size

Hi, I am new to Unix. I want to display top 10 folders by size. I tried with du -ksl * | sort -nr | head -10 command .But I am getting the following error -bash: /usr/bin/du: Argument list too long Can some one help me. Thanks. (5 Replies)
Discussion started by: Satyak
5 Replies

2. UNIX for Dummies Questions & Answers

Unix shell script for finding top ten files of maximum size

I need to write a Unix shell script which will list top 10 files in a directory tree on basis of size. i.e. first file should be the biggest in the whole directory and all its sub directories. Please suggest any ideas (10 Replies)
Discussion started by: abhilashnair
10 Replies
Login or Register to Ask a Question