$ cd $ mkdir binor you can create the directory from any location like so:
$ mkdir ~/bin
Then, in the /etc/paths file, make your system aware of the new directory by appending it to the file:
With nano
$ nano /etc/pathsin nano append to the file
~/binpress ctrl-x, "yes", enter
With vim
$ vim /etc/pathspress "O", it will create a new line above the location of your cursor
in insert mode, append the path to the file
~/binpress Esc, :wq, enter
No comments:
Post a Comment