Frequently used Linux commands

Frequently used Linux commands

 

c 
catView the contents of a file
cdMove the directory
chgrpChange the group to which files and directories belong.
chkconfig
Control service registration, deletion, and service startup.
chmodChange permissions on files and directories
chownChange the owner of a file or directory
cpCopying files and directories
d 
dateView, set, and change the current date and time.
dfAggregate and display the size of free disk space.
dmesg
Display system messages at startup
dstatReal-time monitoring of server resources
duCheck and display usage by directory.
f
freeChecking the memory status of Linux
g 
groupaddAdd a group
i 
ifconfg
Check the operation status of the network interface.
l 
lastDisplay the history of logins to the system.
logout
Logging out
lsDisplay a list of files in a directory
m 
mkdirCreate a directory
mvMove or rename a file
n 
netstatDisplay the current network information
ntpdate
Set the server time.
p 
passwdChange your password
pingCheck for communication with hosts on the network.
psView and check the status of processes in a list
pstreeDisplay the process in a tree view
pwdDisplay the current directory
r
rmDelete a file or directory
rpm
Managing RPM package
s 
sedConvert characters
shutdownShut down and reboot the system.
source
Reflect the shell configuration file.
suSwitch to another user
t 
tailDisplay the contents of a file only at the end.
tarCreate/Restore Archives
tcpdumpCapture packets
topView running processes in real time.
u 
useraddAdd a user
v 
vmstatDisplay the load rate and usage status of memory and CPU.
w 
wShow user information while logged in
wget
Download files by specifying URL
whoFind out which users are logged in.
タイトルとURLをコピーしました