I want to edit .bash_profile on my Ubuntu system. When I try to run the command, it gives this message:
Couldn't get a file descriptor referring to the console
Please help me get around this problem and edit the file.
|
Debian systems have a generic |
|||
|
|
|
You can do that in a very simple way: go to your home folder and go to view in the menu bar, check the show hidden files option and now you will be able to see the folders and files starting with a dot (.). Now find yourself a .bash_profile. If found , do your thing, and if not, well create one and then do your thing. I created me one but it was .bash_aliases (to store an alias for zend framework command line operation). It's simple. |
||||
|
|
vim ~/.bash_profile. If you can't, then you have probably borked the file's permissions or something. – Anonymous May 24 '11 at 9:50