Problem Statement
How do you view command history and create command aliases?
Explanation
You can view your previous commands with the history command. Each command is numbered and can be re-run using !number.
Aliases let you create shortcuts for long commands using the alias keyword, improving productivity during repeated tasks.
Code Solution
SolutionRead Only
alias ll='ls -alF' unalias ll
Practice Sets
This question appears in the following practice sets: