Per User bin/


Per User bin/

Run your shell scripts just like any other command, without writing ./command.

This article is a work in progress.

$ mkdir $HOME/bin/
$ nano .bashrc

Add as the last line

PATH=$PATH:$HOME/bin

To use, close and open shell.

$ exit

Put a shell script to bin/. (Writing your first shell script)

$ cp lspwd bin/
$ lspwd

If it works (without “./”), you have successfully enabled your per user bin/.


Posted in Old Site | Tagged , , , , , | Comments Off on Per User bin/

Comments are closed.