The command PATH=$PATH:/home/John does the following:
- Creates a new PATH variable with only the /home/John directory as the value
- Does nothing, because anything after the : is discarded
- Appends the directory /home/John to the existing PATH variable
- Replaces the existing directories in the PATH with the /home/John directory
Please login or Register to submit your answer