40 Most Useful Commands For Linux | Best And Useful Commands For Linux.

Today I’m telling you people about some of the important commands for Linux that make you a Linux expert. But before that, you will have to read this post properly and carefully. Try as far as possible that there is no spelling mistake from you. If this happens then the commands will not work.

most-useful-commands-for-linux

Many of you have advanced users or beginners who use Linux-based operating systems. As we all know, if we are using a Linux based operating system, then 80% of our work is done by commands only. So if you want to operate Linux or you are just operating the Linux operating system, then I’m going to tell you about some 40 Linux commands that will make you an expert.
Let me tell you that I have given them all the commands for linux I have written here, according to the category.

See Also Below Links:-

What Is Data Mining?

Why Do Not Aliens Comes To Earth. Solved.

How Gravitational Force Effect On Our Time. Explained

Difference between HTML and CSS.

    1. Hardware

 

    1. System

 

    1. File Commands

 

    1. User Mode

 

    1. System’s Process Related

 

    1. Files Permission

 

    1. Archive And Compression

 

    1. Search 

 

    1. Package Installation 

 

  1. File Installation From Internet Or Source.
I am going to tell you, people, the commands that are related to these 10 categories. But before that, I want to tell you again that you will not make any type of spell Mistakes in the commands, otherwise the commands will not work.
And Please Be Sure All Commands Is Using In Rooted User Mode.
Hardware Commands For Linux
 
    1. #dmesg =  Hardware And Boot Messages Detection.
    2. #cat /proc/cpuinfo = It’s Detect CPU Model
    3. #cat /proc/meminfo = Hardware Memory Detection
    4. #free -m = See Used And Free Memory
    5. #lsusb -tv = See Attached USB Devices.

System Commands For Linux

    1. #uname -a = Display Linux System Information
    2. #uname -r = Display Linux Kernel Version Information
    3. #uptime = It’s Display System Running And Load Time
    4. #hostname = See System Host Name.
    5. #last reboot = See Rebooting History Of System

File Commands For Linux

    1. #ls -al = Display All Information Of Directories And Files
    2. #pwd = See Path Of Current Directory
    3. #mkdir folder-name = Create New Folder Or Directory
    4. #rm your-file-name = Delete File
    5. # cp file1 file2 = Copy File 1 To File 2 (CTRL+C) (CTRL+V)
    6. #mv folder1 folder2 = Move File folder 1 >folder 2 (CTRL+x)
    7. #gpg -c file = Encrypt File
    8. #gpg file got = Decrypt File

User Mode Commands For Linux

    1. #id = See Active User Id And Group
    2. #last = Last Login On System History
    3. #who = who logged on system
    4. #adduser name = Add New User
    5. #userdel name = Delete User

System Process Related

    1. #ps = Display All Currently Active Process
    2. #top = Display All Running Process
    3. #pmap = memory map of the process
    4. #bg = List Of Stopped Or Background Jobs

File Permissions Commands For Linux

    1. #chmod 777 /data/name.c = Set rwx Permission for owner
    2. #chmod  755 /data/name.c = Set rwx Permission for owner rw
    3. chown  owner -user file = Change File Owner Name

Archive And Compression Commands For Linux

    1. #tar cf home.tar home = Create home.tar named file in /home
    2. #tar xf file.tar = Extract files from file.tar
    3. #gzip file  = compress File in gz

Search Commands For Linux

    1. #grep pattern files = Search For Patterns in Files
    2. #locate file = find file destination
    3. #find /data -size +1000k = find files larger then 1000k in /data folder

Package Installation Commands For Linux

    1. #rpm -i filename.rpm = Install Rpm Based file
    2. #dpkg -i install filename.deb = install Debian based files.
    3. #rpm -e filename = Remove rpm files

File Installation From Internet Or Source Commands For Linux

    1. #./configure
    2. git clone = git used for downloading data from GitHub
    3. apt-install file name = directly install from Linux server.

If you read these given commands well then I believe 100% that you will become a Linux user of the upper level. All the commands that I have told are the commands that come in our everyday activities.

I hope You like this post so please comment below and share with your friends.


Leave a Reply

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

*
*