/Terminal-Commands

Some additional terminal commands I've written (OSX- El Capitan)

Primary LanguageShellApache License 2.0Apache-2.0

Terminal-Commands

Some additional terminal commands I've written (OSX- El Capitan)

###CSUS I did this on a Mac, if you're using Linux change "Users" to "home"
First, navigate to your home directory by typing
cd
Then, make a directory called bin by typing:
mkdir bin
Then navigate to that directory by typing:
cd bin
Now, in this directory, vim csus and paste the csus file on the directory, changing vedv to your username. Save and close.
Now, we have to export this file to our PATH. To do this, first type:
chmod +x csus
Now, navigate to your .bash_profile by typing:
cd && vim .bash_profile
Now type in the following, and save and close:
PATH=$PATH:$HOME/bin
That's it! You should now be able to type csus on your command line and get the prompt to login.