Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
# You mis-type thea command name, ofor a command that is not installed on your system
student01@gsafcomp01:~$ lz  
Command 'lz' not found, but can be installed with:
apt install mtools
Please ask your administrator.

# You enter something that is close to an existing, or known, command
student01@gsafcomp01:~$ catt
Command 'catt' not found, did you mean:
  command 'cat' from deb coreutils (8.30-3ubuntu2)
  command 'catty' from deb node-catty (0.0.8-1)
  command 'ratt' from deb ratt (0.0~git20180127.c44413c-2)
Try: apt install <deb name>
student01@gsafcomp01:~$ catt
catt: command not found

# You try to use an unsupported option
student01@gsafcomp01:~$ ls -z
ls: invalid option -- 'z'
Try 'ls --help' for more information.

# You specify the name of a file that does not exist
student01@gsafcomp01:~$ ls xxx
ls: cannot access 'xxx': No such file or directory

# You try to access a file or directory you don't have permissions for
student01@gsafcomp01:~$ cat /etc/sudoers
cat: /etc/sudoers: Permission denied

Command line history and editing

...