For the following exercises, open up your Terminal and try to solve the following tasks:
- You need to know if the echo command is a shell builtin or an executable program, which command would you run?
- Display the location of the uptime command executable file.
- Show a brief description of the mkdir command.
- You forgot how to use the mv command, what are you going to do?
- You forgot which command is used to display the calendar, what are you going to do?
- The history command is a shell builtin and so it doesn't have a man page. You want to clear your history but don't know how. What are you going to do?
True or false
- The command whereis is used to locate commands.
- You can use man -p and apropos interchangeably.
- You can use the whatis command to get a brief description of a command.
- You can use the type command to determine if a command is an alias, shell builtin, or an executable program.