Linux Common Commands 2

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.