Contents
profile (where ~ is a shortcut for the current user’s home directory). (Press q to quit less .) Of course, you can open the file using your favorite editor, e.g. vi (a command-line based editor) or gedit (the default GUI text editor in Ubuntu) to view (and modify) it.
How do I open a profile file?
Since PROFILE files are saved in plain text format, you can also open them with a text editor, such as Microsoft Notepad in Windows or Apple TextEdit in macOS.
How do I view a profile file in Unix?
profile file is present in your $HOME directory. It is possible that the . profile file is hidden, use ls -a to list it.