If you wonder why there are two separate files. This will take a backup of your startup files in case you have any customisations you want to keep. To do this, type /alt/bin/shellreset then log out and back in to get rid of any broken sessions. Should you accidentally muddle these files up or edit them in such a way that some common commands like matlab or pine no longer work for you, you can copy the default ones back into your home directory. Otherwise your changes may be overwritten when the central config files are run. ![]() ![]() # Add personal customisation commands after this line. Any content you add to these files must be added after the line bash_profile are commands that are executed when you log in. These files are important and should never be deleted no matter how desperate you are for extra disk space (they are short text files so deleting them wouldn't help anyway). To see them use the -a switch with ls i.e. ![]() Typing ls fails to see them because they are known as "dot files" or "hidden files". ![]() In your home directory you will find files called Customizing the bash shell and its startup files
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |