Created
August 27, 2020 13:30
-
-
Save sfpprxy/1ee7478b369fa218b4f1d30556deaefa to your computer and use it in GitHub Desktop.
linux PATH
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@shtx ~# su - dodsserver | |
-su: dircolors: command not found | |
-su: ls: command not found | |
dodsserver@shtx:~$ echo | |
dodsserver@shtx:~$ echo $PATH | |
{M2_HOME}/bin:{PATH} | |
dodsserver@shtx:~$ exit | |
logout | |
root@shtx ~# sudo su - postgres | |
postgres@shtx:~$ ls | |
-su: ls: command not found | |
postgres@shtx:~$ echo $PATH | |
{M2_HOME}/bin:{PATH} | |
postgres@shtx:~$ exit | |
logout |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment