2009-11-26から1日間の記事一覧
#!/bin/sh #add_path.sh echo -n "Input add path [$HOME/bin]: " read ANSWER if [ ! "$ANSWER" ]; then SETPATH=$HOME/bin else SETPATH=$ANSWER fi if [ ! -d "$SETPATH" ]; then echo "*** Directory \"$SETPATH\" not found." exit 0 fi if [ $(echo $P…