Hoe to run shell script in Linux terminal

Shell Scripting is one of the powerful tool for administrator . few types of shell are available in Linux OS (like sh, csh, tcsh, ksh,BASH) .Bash is the default shell for all Linux ox .

For Creating Shell programs
# vi filename.sh

For Running Shell Programs
# sh filename.sh
or
# chmod 744 filename.sh
#./filename.sh

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

Spam protection by WP Captcha-Free