
I want to put new aliases to my
.bash_profile file, but I cannot find this file.Where is it supposed to be? |
||||
It's a hidden file, located in your home folder:
(the ~ expands to your home directory. If your username is user , the result would be: /home/user/.bash_profile ).Since it's an hidden file, you have to make it visible. To do it in Nautilus go to the "View" menu and check "Show hidden files" (or press the shortcut Ctrl + H). If you are using Kubuntu with Dolphin, you have to press Ctrl + . to toggle the visibility of files. |
|||||||||
|

~/.bash_profile is not the right place to put aliases and functions. They should go in ~/.bashrc . See http://mywiki.wooledge.org/DotFiles for an explanation. |
.bash_profile
with the dot. – H2ONaCl Dec 11 '12 at 8:39