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.