MU Lesson Linux Learning Notes (ix) common commands (6)

Source: Internet
Author: User

Shutdown and restart commands

Shutdown [Options] Time

-C cancels the previous shutdown command

-H shutdown

-R Restart

Shutdown-r now

Other shutdown commands

Halt

Poweroff

Init 0

Other Restart commands

Reboot

Init 6

System Run Level

0 Shutdown 1 Single user

2 not fully multiuser, no NFS service included

3 Full Multi-user

4 Not assigned

5 graphical interface

6 restart

RunLevel querying the current level

User Exits Login Logout

Mount Command '

Commands already mounted in Mount query system

-A according to the content of/ect/fstab, automatically mount

mount-t[file System]-o[Special options] Device file name mount point

Create a file in the/home directory

Mounting discs

Unloading

umount/mnt/cdrom/

Mount USB Drive

Fdisk-l view USB drive device file name

Mount-t vfat/dev/sdb1/mnt/usb/

Linux default is not supported for NTFA file system

MU Lesson Linux Learning Notes (ix) common commands (6)

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.