Unknown user @38.107.191.103

Personal binaries on Unix systems

A simple way to get your own binaries known by your Unix system is to create a folder and put them into. The only thing to do is to tell the system that there is binaries in your specific folder.

Summarize here, the complete processus:

Create your own binary folder

 
 $ mkdir ~/bin
 $ chmod 755 ~/bin

Let the system see your binary folder

Edit your .bashrc file:

 
 $ vim ~/.bashrc

Add at its end:

 
 export PATH="${PATH}:~/bin"

Restart your console or simply reload your .bashrc:

 
 $ bash
 // or 
 $ source ~/.bashrc

Put your binaries into your ~/bin folder

Simply move your shell scripts or binaries into your newly created folder. We assume that your files are executable, if not, make them!

 
 $ chmod +x yourbin

You can also make symbolic links with the ln command. See the manual for more complete informations.

Use your own command

You can now use your own binaries as classic natives commands, anywhere in your treeview, with the help of the auto-completion process!

Initial author: olivier Last modification date: January the 25th, 2009 by olivier.