Linux learning records

Source: Internet
Author: User

Shutdown command www.2cto.com shutdown-h now shutdown-r now Restart computer reboot now Restart computer logout vi Hello. javai input .... esc Enter command mode startx enter linux to graphic interface, log out and enter the console linux directory root: store the root user's related files home: store the common user to the relevant files www.2cto.com bin: store Common commands sbin: with certain permissions, you can use the command mnt: mount the optical drive and the soft drive to the directory etc by default: store configuration-related files, such as JDK configuration, tomcat configuration, mysql configuration and other boot: stores the boot file var: stores frequently changed files dir/usr: stores the installation file directory command: pwd displays the useradd UserName under the directory to add a user named UserName, this command must be performed under root to set password userdel UserName passwd UserName delete user userdel-l UserName delete user and user main directory common command: init [0123456] Run level 0: shutdown 1: single User 2: multi-user status no network 3: multi-user status no network service 4: The system is not used reserved for the user 5: graphic interface 6: system restart www.2cto.com system operation level is 3 and 5, to modify the default value to the running level, you can modify the file/etc/initabl: 5: initdefault: in this row, the numbers ls are used to list files and directories. ls-a is used to display hidden files. ls-l is used to list long list formats. mkdir is used to create a directory. rmdir is used to remove the empty directory author Hongten.

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.