Previous | Next

Personal bin

Create your bin: mkdir ~/bin

Add it to your path in .bashrc:

export PATH=$HOME/bin:$PATH
Copy the script:
cp /usr/games/wargames ~/bin

bin is short for binary -- "put programs here".

this bash magic => can run anything in your personal bin by name.

.bashrc only takes effect after you log out and back in. You can type export PATH=$HOME/bin:$PATH directly too.

need to be executable:
chmod ugo+x filename

I have a handout that summarizes the commands in this talk, so don't worry about getting all the details.