1. Directory structure
1.1 Basic Introduction
Linux file system is a tree directory structure laminar type, the uppermost root directory "/" directory and then the next and then re-create other directories.
In the Linux world, everything is a file.
1.2 Specific configuration (focus bold)
- / bin (/ usr / bin, / usr / local / bin) is a binary acronym, This directory is the most commonly used commands;
- / sbin (/ usr / sbin, / usr / local / sbin) Super User S is meant here is the storage hypervisor system administrators;
- / home store home directories ordinary users, each user in Linux has its own directory, the directory name to the general user account name;
- / root of the directory for the system administrator, also called super-user privileges group directory;
- / boot storage are some of the core Linux startup files, including some linked files and image files;
- / Proc a virtual directory, which is the system memory map, access the directory to obtain system information;
- Abbreviations / srv service, the directory to store some of the data service started to be extracted;
- / Sys This is a big change Linux2.6 kernel, the 2.6 kernel a file that appears in the installation directory;
- / Tmp This directory is used to store temporary files;
- / Dev similar to the Device Manager under Windows, all the hardware is stored in the form of a file;
- / Media Linux will automatically identify some devices, such as U disk, CD-ROM, etc., after identification, the device may be mounted to this directory;
- / mnt system provides this directory is to enable users to temporarily mount other file systems, we can use an external memory mounted on / mnt /
- / Opt This is for the host software to install the placing of a directory, such as installing mysql database to this, the default is empty;
- / usr / local This is another installation directory to host additional installed software, usually installed by compiling source code of the program;
- / var This directory contains the ever-expanding stuff, will often be used to modify the directory in this directory, including log files about her;
- / Selinux [security-enhanced linux] 360 a secure subsystem control program can only have access to specific files.
1.3 summary
- Linux directory has one and only one root directory;
- Linux content of each directory store is planned, without misplacing files;
- Linux file management in the form of our equipment, so the Linux system, everything is a file;
- What is stored under various file directory Linux, we must have an understanding;
- After learning, the mind should have a directory tree.
2. remotely operated vehicle (similar)
2.1 Xshell5
Action: to access a remote server, the remote terminal under the control of different systems in the Windows interface.
Pros: the best use of remote login software, speed and smooth, perfect solution Chinese garbage problem, support Telnet protocol SSH1, SSH2, Windows platform.
Remote premise: Linux SSHD must be enabled service that listens port 22, so as to remote access.
2.2 xftp
Role: is a powerful Windows-based platform, SFTP, FTP file transfer software. Secure file transfer between Windows and Linux.
1.3 Xftp solve the garbage problem
Learn finishing in Linux