some sytem scripts

This commit is contained in:
Marina Wahl 2014-07-05 18:22:01 -04:00
parent 4b0a965e4a
commit 5852171b21
25 changed files with 639 additions and 1 deletions

View file

@ -0,0 +1,12 @@
#!/bin/sh
# from > & destination
if [ $# -ne 2 ]
then
echo "Error!" 1>&2
echo "Usae: $0 number1 number2"
exit 1
fi
ans=`expr $1 + $2`
echo "Sum = $ans"