Using help in Linux

a minute read

Linux_logo_errorbits.com

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:

The Linux operating system has the highest rate of popularity for PCs. It is an open-source code that allows anybody to create their unique operating system. There are many benefits of using the Linux system, including that it is free and stable. Many corporat...
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!
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...
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 ...
Linux has been operational for many years. It contains a file that looks like an executable but contains some other program's code inside it. The operating system is updated after every three months to give the clients better services. The system remains known...