echo
The echo command will display each argument it receives from the shell. The echo command will also add a new white space between the arguments it received.
Example: echo hello world
type
Not all the commands available in linux are internal builtin commands. There are commands that are saved in a separate location known as external command. To identify whether a given command is builtin or external command, you can use the type command.
Example:
type ls
type cd
history
This command allows you to see the shell command history has been executed so far.
Example:
history
cut
The cut command will allow you to see the selected columns in a file.
Example:
cut -d: -f1,3 /etc/passwd | tail -4
tr
The tr(translate) command will replace the occurrence of a given character with another argument give.
Example:
cat file01.txt | tr 'e' 'E'
Top comments (0)