Learn Basic Linux Commands: Beginner’s Series

Learn Basic Linux Commands: Beginner's Series

Shifting from windows GUI(Graphical User Interface) to Linux CLI(Command Line Interface) is somewhat fearsome but Linux CLI isn’t that much difficult to be adapted in day-to-day life activities of Linux kernel based Operating Systems.

Although most Linux distributions have a user-friendly Graphical User Interface, learning how to use the command line can be incredibly helpful.
You have greater leverage of the device and access to functions that aren’t accessible in a graphical interface while you use the command line.

In this post, we’ll go through some very frequently used Linux commands by Linux system administrators on a regular basis.

Table of Contents

It is typically needless and probably a waste of time to memorize command choices. When you don’t use a command that much, it’s possible to forget about its choices. Most commands have a --help option that prints a quick description of how to use the command before exiting:

$ command_name --help

Almost all Linux commands are distributed together with man pages. A man or manual page is a form of documentation that explains what the command does, examples of how you run the command, and what arguments it accepts. The man command is used to display the manual page of a given command.

$ man command_name

For example, to open the man page of the, cd command, you would type:

$ man cd

To navigate the man pages, use the Arrow, Page Up, and Page Down keys. You can also press the Enter key to move one line at a time, the Space bar to move to the next screen, and the b key to go one screen back. To exit the man page, press the q key

whenever you enter into a room you need to know what is your role there. similarly, here in linux operating systems also if you need to know who you are .then you must type

$ whoami

Basic Linux Commands also contains a simple command “id” which gives you the basic idea of if you’re root user or privileged user. If the access given to you is root then the output of id command would be zero(0). It’s very often to check access level in Pentesting or rooting a virtual machine.

$ id

Related Articles

Responses

Your email address will not be published. Required fields are marked *