1. Find the current path by typing "echo $PATH" at the bash shell prompt. A list of directories will be provided such as in the example below: uzair@linux ... 2. Temporarily add the :/sbin and :/usr/sbin paths to the current path list by typing the following command at the bash shell prompt: uzair@linux:~$ export ... 3. Echo the contents of PATH to confirm the changes are reflected in the variable. uzair@linux:~$ echo $PATH/home/uzair/bin:/usr/local/sbin:/usr/local/bin:/usr ...
確定! 回上一頁