Top 10 Basic Commands for Every Linux User
Top 10 Basic Commands for Every Linux User
1.hostname
Show your hostname
2.hostnamectl
control the system hostname and also for full view about your os like kernel version etc
3.ls
list files in your current directory
4.cd
‘cd’ command is used to change the directory
Syntax- cd directory_name
5. pwd
to check your present working directory with complete location
6. su – username
to switch the user
7. ifconfig
to check the ip address on your linux Operating System.
8. rm -rf filename/directoryName
delete any file or remove a file forcefully and directory
9. ctrl + shift + t
open a new tab in your Linux terminal
10. cat filename
to view the content of any file in Linux system.