In experimenting with variables, Max accidentally deletes his PATH variable. He decides he does not need the PATH variable. Discuss some of the problems he could soon encounter and explain the reasons for these problems. How could he easily return PATH to its original value?
What will be an ideal response?
Because the shell has no way to find them, no commands or utilities, except
builtins, will work.
$ ls
bash: ls: No such file or directory
The inability to run commands without specifying their pathnames makes
the shell more difficult to use. Max can attempt to locate the ls command
using whereis.
$ whereis ls
bash: whereis: No such file or directory
A simple way to return PATH to its original value is to log out and then log
back in.
Computer Science & Information Technology
You might also like to view...
You can change to a different chart type clicking the FORMAT tab, then clicking the Change Chart Type button.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology
Steganography is technically a form of cryptography.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology