Writing a Shell Script on Windows
Writing a Shell Script on Windows
Go to
1.Applications->System Tools-> Root Terminal
2.Create a file for editing say “a1.txt”
3.Open it and save it as a1.sh or just a1
Then type these lines
#! /bin/sh
# This is a comment
#echo “Ramanean”
a=1
b=1
c=”$(($a+$b))”
echo “$c”
Every script would being with #! /bin/sh/ and rest of the lines are self explanatory and also one important thing you have to keep in mind [...]