A brief introduction to the 1linux
Linux is a free-to-use and free-spread UNIX-like operating system software, is a posi and Unix-based multi-user, multi-tasking, support multi-threaded and multi-CPU of an operating system. Mainly used for servers, especially network servers.
2 hot Keys for virtual machines
CTRL + C terminates the currently running programs and commands.
Ctrl+l clear screen, equivalent to clear command '
The CTRL + a cursor moves to the beginning of the line.
Ctrl+e the cursor will be moved to the end of the line.
Ctrl+d exits the current user environment, which is equivalent to Exit,logout.
CTRL+ALT+F1 (F2,F3,F4,F5,F6), while switching or logging on to multiple virtual users.
3 Some simple commands for Linux and how to use them
Date, which displays the exact time of the current system. Adding (-S ' time ') is the time to change the current system.
Clear, clear the screen, and ctrl+l the same results.
Cal, viewing the calendar, followed by years, will show you the calendar of the month you added.
Su, switch User, followed by (-user name).
echo, the meaning of the output. On the back of the machine (|passwd--stdin user name) is to change the user's password.
Exit is to log out the current user and return to the top user.
Useradd, create the user, and then add the user name to create the user.
Which, find the path to the command, followed by the command you want to find.
PWD to see the path that is currently located.
LS, view the directory or folder, and then add the directory or folder you want to view (/Folder/). The following plus-A is to view all files (including hidden files). Followed by-L, is to view the details of all the files in the current directory.
CD, switch directories or folders, and later add you want to switch directories or folders (/Folders/). The Back plus ~ is the home directory representing the current user. Add the following: Is the directory representing the previous level. The next plus-represents the last directory that was located.
RM, remove the meaning, followed by the file name you want to delete. The following plus-RF is a direct delete file (RM-RF/delete object/).
mkdir, create directory, followed by-p (/create name/name/name/) is a recursive build directory.
DF, is to view the hard drive.
RPM, is installed software, after adding-IVH is the process of software installation.
CP, copy, add the folder you want to copy, and finally add the location you want to copy to (CP/The parent directory you want to copy/the object you want to copy/the location to copy to). You can change the name of the folder when you copy it (CP/parent directory to be copied/the object to be copied/the location to copy to/the name you want to modify). followed by-R (the object to be copied) is the recursive copy directory. Add a-A (the file you want to copy), and copy the details of the file.
Man, is the various uses of the view (browse) command, followed by the command you want to view.
4 Some important directories in Linux
The bin directory is used to store some common executable files.
The Sbin directory is intended to store the system's executable files.
The home directory is designed to store users ' own files and directories.
Der Directory: Device Files directory.
ETC Directory: Configuration file directory.
Mount points (directories) are usually for removable hardware to be mounted under a directory of/media or/mnt.
Walk into the fourth day of the computer (Linux hotkeys and some simple commands)