Basic linux Commands for the Beginners - Class 1

Basic linux Commands for the Beginners - Class 1

Dharshan K's photo
Dharshan K
·Sep 29, 2022·

2 min read

Table of contents

  • Linux is a kernel
  • Community and Social Footprints :

Linux is a kernel

yes, Linux is a kernel which means it acts like a CPU for everything that happens on the computer operating system. It is an Open source where users have the rights to access the source code of the Linux and can use it and modify it as per their requirements. it enables the command line interface which consists of a shell that translates the command that is entered by the user into actions. commands are just like instructions that are easy to understand and remember

let's begin with the commands of the basic Linux...

we have to know the syntax of the command to understand them easier

command [options] [arguments]

     where commands are that you will see below
                 options are like filters that are used to extract only the required data that is required by the 
                 arguments are like parameters that we use in programming languages [ /-l/-r/lr/l]:


This command is used to give the files and directories that are present in the system. options can be empty.
-l = gives the complete information of the file such as the date of creation size in bytes.
-r = gives all the files/directories of the system in reverse alphabetic order.
-lr = gives all the files/directories of the system including information in reverse alphabetic order
-lh = gives the information (size) of the file in the human-readable format in Kb/mb/Mb...



2. whoami


This command is used to display the user name of the current user.


3. pwd


This command is used to display the present working directory/location, and the user working in the system.




This command is used to print what the user needs.


5. alias

    alias [any name] =['command']
    alias file in reverse order = 'ls -lr'

This command is used when the user is using the same longer command frequently then he can make it easier by storing the command in another name. let us see the implementation. image.png

6. history


This command is used to display the recently used commands, this can also be done using up arrow and down arrow.


Community and Social Footprints :

Did you find this article valuable?

Support Cloudnloud Tech Community by becoming a sponsor. Any amount is appreciated!

Learn more about Hashnode Sponsors
Share this