Recover PATH

Recover PATH

Path is the path to access directly the executable command in linux. For example, instead of typing /usr/bin/ls, you might want just type it ls.

But I accidentally erase it. Here is to recover the command

#source /etc/environtment
#echo $PATH

The first command is to recover, the second one is to prove its works.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.