Using help in Linux

a minute read

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 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: yum ins (press [TAB] key, it will autocomplete the argument install), the final command line will be: yum 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

Facebook Twitter LinkedIn Telegram Whatsapp Pocket

Related Posts:

In terms of stability and security, Linux is ranked the most stable operating system and at the same time, it’s quite easy to maintain and support. One of the reasons why Linux web hosting has gained popularity is its easily accessible configuration files and ...
Ubuntu is an open-source operating system developed by the San microsystems. Linux allows users and in this case developers to make changes to the program without prior authorization from the creator. You can gather a deeper understanding of Ubuntu Linux from ...
A Linux operating system is quite different from a Windows operating system. They run off of different open-source operating systems such as Fedora and many more. Although they are not popular amongst regular users, many developers feel that a Linux laptop can...
Microsoft loves Linux so much that its latest operating system is based on Linux. Azure Sphere OS is designed to run on embedded devices and IoT. Source: Microsoft’s Newest OS is Based on Linux – OMG! Ubuntu!
Many Linux commands deal with sensitive data like system hardware, passwords or operate under exceptional circumstances. Prevents regular users from executing these commands by mistakes and helps to protect data and system integrity. By logging in as root enab...
Linux Directory Map / Structure Root   Path  Description bin/ ( -> usr/bin) Files that can be executed (binary files) used to troubleshot or debug the operating system. boot/ Contains a minimum number of files needed by the operating system to boo...