Skip to content

Instantly share code, notes, and snippets.

@vivekn
Created September 15, 2013 19:58
Show Gist options
  • Save vivekn/6573884 to your computer and use it in GitHub Desktop.
Save vivekn/6573884 to your computer and use it in GitHub Desktop.
Shell script to create/edit a shell command
sudo touch /usr/local/bin/$1
sudo vim /usr/local/bin/$1
sudo chmod +x /usr/local/bin/$1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment