Common Linux commands (System Management) chkconfig -- list all system services chkconfig -- list | grep on list all started system services cut-d: -f1/etc/passwd: -f1/etc/group view all system groups crontab-l view the current user's scheduled task crontab-e routine work edit ifconfig view ip configuration kill process-9 Force killing ps-aux view process information top display system important information including memory cpu load Login User setup graphical interface configuration system information runlevel display current run level who view active user id <User Name> View specified user information last view User Login log whoami and ask who exits the current user uname-a to view kernel/OS/CPU information fdisk-l to view all partitions echo $0 to view The current shellshutdown of the system after switching the shellecho $ shell to view the system by default. Use shell/etc/shells to view the shell list sh to convert the shbash to the bashredhat system chsh-s to switch the shell. related-h shutdown-rnow restart su-user Switch user su switch root reboot system restart mount | column-t check mounted partition status swapon-s view all swap partitions iptables-L view the firewall sets up mke2fs to establish the ext2 File System fsck used by Linux to check and maintain inconsistent file systems. If the system power is down or the disk is faulty, run the fsck command to check and repair the disk. before using the command, run umount to uninstall mkfs. ext3 is created as the ext2/ext3 File System dumpe2fs to view the superblock and blocksgroup of existing file systems on a specific device) mkswap/dev/hda3 create a swap file system service name restart stop start service restart, etc.