Kwamroo
Showing posts with label
Shell Script
.
Show all posts
Showing posts with label
Shell Script
.
Show all posts
Tuesday, 16 July 2013
Script file in Linux - Batch file in Linux
To create a "batch" file in Linux (actually it's called a shell script)
- Use any editor like vi or mcedit to write the shell script, name it as you wish your-script-name
- Execute your script as:
bash
your-script-name
Example of script:
#
# My first shell script
#
clear
echo "Knowledge is Power"
Older Posts
Home
Subscribe to:
Posts (Atom)