View Single Post

  #2 (permalink)  
Old 04-20-2007, 03:18 PM
Adrian Adrian is offline
Senior Member
 
Join Date: Apr 2006
Posts: 141
Adrian is on a distinguished road
Shell scripting is necessary for automating a broad range of administration tasks on servers related to UNIX and Linux Operating system. These scripts can be run manually to combine many steps into a single command. I have given below a simple shell script written manually to replace the command
find . -name file -print


% cd ~/bin
% emacs sfind
% page sfind
find . -name $1 -print
% chmod a+x sfind
% rehash
% cd /usr/local/bin
% sfind tcsh
./shells/tcsh
Reply With Quote