001_linux common Commands ls, mkdir, CD, PWD, RmDir, RM, CP, MV, LN===================== Body ===============================XXXXXX directory and File command xxxxxx1.lsls [options] [file or directory]Options:-a----show all files, including hidden
Sometimes you need to create a directory function recursively, you need to use the DirName () function (get the directory portion of the path) and the mkdir () function (create directory).
First, popularize the grammar:
DirName
(PHP 4, PHP
Sometimes you need to create a directory function recursively, and you need to use the DirName () function (get the directory portion of the path) and the mkdir () function (create the directory).
First, popularize the grammar:
DirName
(PHP 4,
Linux File Creation commandWe often have to create some documents to add content or to create a file directory to organize the file collation, so we need to get familiar with the command created, the Linux file Creation command basically has the
Contents1. Directory and path???? 11.1 Absolute path and relative path???? 11.2 CD Transform Catalog???? 11.4 mkdir Create a new directory???? 21.5 rmdir Delete Empty directory???? 31.6 $PATH (must capitalize) the path of the execution instruction???
hierarchy of Linux file systemstree structure of Linux file systemWhat is a catalog?Presentation of the top-level root directoryTwo special directories in the file systemSome of the important directories in the Linux systemBin directorySbin
Dos:-----------1. Dir List Directory2. Dir/? Help3, dir/w widescreen display4. dir/p pagination Display5, D: is the PLATE Plus: number is the switch letter6, Tab completion key, such as to enter a file cd+ Enter the letter before the file name hold
Rsync is a data image backup tool in Linux. It can be seen from the software name-remote sync. Rsync supports most Unix-like systems, including Linux, Solaris, and BSD. The latest version of rsync can be found at http://rsync.samba.org/rsync. Its
Use rsync to back up images for websites from linux to linux or to windows-Linux Enterprise applications-Linux server applications. For more information, see the following. Rsync is a data image backup tool in Linux. It can be seen from the software
1. Directory Management1.1, the directory structure of Linux.: Current Directory.. : Top level Directory/: Root directory/bin: binary, executable commands/boot: Boot, the file that the operating system uses to boot the system, kernel, grub/dev:
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.