Situation
Yesterday a colleague set up the tool utility from /opt/tool/bin for the deploy user.
Today almost no command is found in deploy's shell — not even ls and cat, although they
work by full path (/usr/bin/ls). tool is not found either.
Enter deploy's shell with sudo -iu deploy, and get back to your own with exit.
Task
Make it so that in a new deploy shell:
- the basic commands
ls,catandgrepare found by their short names; toolis found by its short name too.
The check opens a new deploy shell, as on a fresh login: a setting made only in the open terminal is invisible to it.
Lab goals
0 of 2-
In a new deploy shell, ls, cat and grep are found by name — not checked yet
-
In a new deploy shell, tool is found by name — not checked yet
Hints
0 of 3 open · they open one at a time
Hint 1
Show the solution
after 3 failed checks