Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Common linux commands!


May 29, 2021 Article blog



Today w3cschool has compiled some common linux commands for everyone, hoping to help you learn linux better.

View hardware-related commands

ifconfig ​ ​ free ​​ ethtool ​ ​ mii-tool ​ ​ fdisk ​ ​ dmindecode ​ ​ lspci ​ ​ dmesg

memory

free ​ ​ top ​ ​ mpstat ​ ​ vmstat ​​ iostat ​ ​ sar

Monitor commands

uptime ​ ​ top ​ ​ free ​ ​ vmstat ​ ​ sar ​​ iostat ​ ​ chkconfig

CPU

top ​ ​ vmstat ​ ​ mpstat ​​ iostat ​​ sar

I/O

vmstat ​​ mpstat ​​ iostat ​​ sar

process

ipcrm ​​ ipcs ​​ lsof ​​ lstrace ​​ strace

load

uptime ​​ mount ​​ umount ​​ df ​​ du ​​ dd ​ ​ fsck ​​ dumpe2fs ​​ dump

System management

uptime ​​ top ​​ free ​​ mpstat ​​ vmstat ​​ iostat ​​ sar ​​ chkconfig

System security

chmod ​ ​ chown ​ ​ chgrp ​ ​ chage ​​ passwd ​ ​ sudo ​ ​ su ​ ​ umask ​ ​ chattr

Shut down and view system information

shutdown ​ ​ halt ​ ​ init

These are the usual linux commands for w3cschool small orchestrations.

Editor's note: The fastest way to remember these commands is to use them over and over again, which is to practice the code.

For more linux learning follow w3cschool.com.

Recommended courses: linux micro-classes, linux getting started