kode yard
all about C++ and PHP
Saturday, May 1, 2010
utility script-1
This is an utility script that makes a file executable and opens in vi editor.
#!/bin/bash
#Developed by : lipun4u@gmail.com
if [ $# -ne 1 ]
then
echo "Usage: `basename $0`
"
exit 1
fi
touch $1
chmod u+x $1
vi $1
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment