📚 Practice Mode

Unix/Linux Commands and Shell Scripting

Learn at your own pace with hints and detailed explanations

1 / 20
Multiple Choice

A user types history command and gets the following output
141 cd .tcs
142 ll tcs.lst
143 pwd
144 vi tcs.lst
145 ll -lrt | awk '{ print $NF }'
146 echo "Test"
147 ps -ef | grep lsnr
148 grep a *
149 ls
150 echo $PWD

Refering to the scenario above, which one of the following is not a method for recovering the pwd command

  1. r 143
  2. fc -e -r p
  3. fc -e 143
  4. r -8