![]() ![]() If the shell is not a login shell, it doesn't read ~/.profile. You can invoke a shell directly at any time, for example by launching a terminal emulator inside a GUI environment. It reads commands from ~/.bash_profile when it is invoked as the login shell, and if that file doesn't exist¹, it tries reading ~/.profile instead. The default shell, a Bourne shell, reads commands from ~/.profile when it is invoked as the login shell.īash is a Bourne-like shell. It's a command line shell: you start another program by typing its name. That program is a shell, i.e., a program designed to start other programs. Traditionally, when you log into a Unix system, the system would start one program for you.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |