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:

To install Golang in Kali Linux, you can follow these steps:Open the terminal on your Kali Linux system. Download the latest stable version of Golang from the official website. You can use the wget command to download it directly from the terminal. For example...
Linux Tutorials are instructional guides that help individuals learn and understand various aspects of the Linux operating system. Linux is a free and open-source operating system that is widely used in both personal and enterprise computing environments.These...
To install Nginx on Amazon Linux, you can follow these steps:Connect to your Amazon Linux instance using SSH or an EC2 Instance Connect.Update your system's package manager by running the command: sudo yum update.Install Nginx by running the command: sudo ...
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...
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...
Linux Fedora, often referred to simply as Fedora, is a popular open-source Linux-based operating system that is known for its focus on innovation, community-driven development, and cutting-edge features. Fedora is a free and open-source operating system that i...