13,420
edits
Changes
no edit summary
then<br> echo "You must be in root's home directory." >&2<br>
exit 1<br>
fi<br>
if [ "$#" -eq 0 ] # if no arguments after command<br>
then
<br> echo "You must enter an argument" >&2<br>
echo "USAGE: $0 [-i {input-path}]" >&2<br>
exit 2<br>
fi<br>
</code>