Using help in Linux Terminal

Before you start this tutorial is better to know how to get help and details about the commands, when you need it. There are several ways to get help about the commands, but I will present only the most important ones:

Using –help as an argument for the command

Example: cp –help

Using man as a pre-argument for the command

Example: man cp

Using info as a pre-argument for the command

Example: info cp

[TAB] key from the keyboard can be used to autocomplete commands, arguments and known terms, by the console/terminal:

Example: dnf ins (press [TAB] key, it will autocomplete the argument install), the final command line will be: dnf install

Other useful commands in Linux terminal/console:

clear cleans the current terminal window

history shows last 500 commands used in the terminal, it can be limited with history 10 (shows last 10 commands used)

reset refreshes the terminal/console

exit exits the current terminal/console

Useful keyboard shortcuts in Linux terminal/console:

[Ctrl + l] clears the current terminal/console

[Ctrl + u] clears the current line from the cursor point

[Ctrl + a] move the cursor at the beginning of the line

[Ctrl + e] move the cursor at the end of the line

[Ctrl + d] exit current terminal

[Tab] autocomplete commands

[Up/Down arrow] show commands history

Previous articleLinux Beginner’s Guide Part 2
Next articleLinux Beginner’s Guide Part 3
Author and Assistant Professor in Finance, Ardent fan of Arsenal FC. Always believe "The only good is knowledge and the only evil is ignorance - Socrates"
Notify of
Inline Feedbacks
View all comments