Shutdown and restart commands
1)shutdown-h now No special case, use this command
- H turn off the machine
- R Restart
shutdown-r now
command name:shutdown
Command path: /sbin/shutdown
Execute Permissions: Root
2)reboot
Command name: reboot
Command path: /sbin/reboot
Execute Permissions: Root
Eight mount Command
all linux storage devices must be mounted for use, including hard drives
Command name: Mount
Command path: /bin/mount
Execute Permissions: All Users
CD Mount
/dev/sda1 First partition of the first SCSI Hard Drive
/dev/cdrom CD
/DEV/HDC CD CentOS 5.5
/dev/sr0 CD CentOS 6.x
mount-t file system Device description file mount point (empty directory already exists)
Mount-t Iso9660/dev/cdrom/mnt/cdrom
CD Uninstall
Umount/dev/cdrom
Umount/mnt/cdrom emphasis: Exiting the mount directory before uninstalling
fdisk-l
Mount-t Vfat/dev/sdb1/mnt/usb
Six Network Commands
1 Ping Test network Connectivity
Command name: Ping
Command path: /bin/ping
Execute permissions: All users ping-c number of IP Detection Network unobstructed
2ifconfig Query native network information
Command name: ifconfig
Command English Original: Interface Configure
Command path: /sbin/ifconfig
Execute Permissions: Root
This article is from the "Sail" blog, please be sure to keep this source http://fengyunfan.blog.51cto.com/6663935/1650072
Linux Common Commands 2