Home Hacking Tutorials Top 10 Basic Commands for Every Linux User

Top 10 Basic Commands for Every Linux User

474
0
Basic Commands for Every Linux User

Top 10 Basic Commands for Every Linux User

1.hostname

Show your hostname

Top 10 Basic Commands for Every Linux User

2.hostnamectl

control the system hostname and also for full view about your os like kernel version etc

Top 10 Basic Commands for Every Linux User

3.ls

list files in your current directory

Top 10 Basic Commands for Every Linux User

4.cd

‘cd’ command is used to change the directory

Syntax- cd directory_name

Top 10 Basic Commands for Every Linux User

5. pwd

              to check your present working directory with complete location

Top 10 Basic Commands for Every Linux User

6. su – username

            to switch the user

Top 10 Basic Commands for Every Linux User

7. ifconfig

         to check the ip address on your linux Operating System.

Top 10 Basic Commands for Every Linux User

8. rm -rf filename/directoryName

      delete any file or remove a file forcefully and directory

Top 10 Basic Commands for Every Linux User

9. ctrl + shift + t 

    open a new tab in your Linux terminal

Top 10 Basic Commands for Every Linux User

10. cat filename

to view the content of any file in Linux system.

            Top 10 Basic Commands for Every Linux User

 

Previous articleExplore Cat Command in Linux
Next articleCyber Crime Is Increasing During Shortage of Oxygen Cylinder

LEAVE A REPLY

Please enter your comment!
Please enter your name here