Contents
The . profile file is an important part of automating your software installations. The . profile file is located in the user-specific folder called /home/
What is profile file in Linux?
The /etc/profile File
The /etc/profile contains Linux system wide environment and other startup scripts. Usually the default command line prompt is set in this file. It is used for all users logging in to the bash, ksh, or sh shells.
How do I edit a profile in Linux?
You have two options for editing the file.
- Visit your home directory, and press CTRL H to show hidden files, find . profile and open it with your text editor and make the changes.
- Use the terminal and the inbuilt command-line file editor (called nano). Open Terminal (I think CTRL Alt T works as a shortcut)