Discover linux delete directory contents, include the articles, news, trends, analysis and practical advice about linux delete directory contents on alibabacloud.com
I. File rename and move (MV) In Linux, renaming files is called moving (moving). The MV command can move files and directories to another location or rename them. 1.1 Using the MV RenameBelow/usr/local create an empty file as test, using the MV
1, the Linux file attributes;
The properties of a Linux file or directory mainly include: The node of the file or directory, the type, the permission mode, the number of links, the users and user groups, the time of the most recent visit or
The main record file/directory copy, Move (rename), delete, and view the contents of the file commands.First, copy (CP)Replication requires that the source file (directory) must exist and that the destination file (directory) does not exist to
Linux directory structure and file basic operation introduction1, the Linux file organization directory structure. 2, relative path and absolute path. 3, the movement of files, copying, renaming, editing and other operations.First, the LINUX
A few common concepts about the Linux directory
PathThe description mechanism of the file location information refers to a path from a directory hierarchy in the tree directory to a file within it, and is divided into relative paths and
Second, the LINUX directory structureBefore you talk about the Linux directory structure, the first thing you need to know is that the difference between the Linux directory and the Windows directory may not be much different from the general
LinuxCreate and DELETE commands for directoriesmkdir CommandFunction: Create a directory (similar to the MD command under MSDOS).Syntax: mkdir [Options] Dir-nameDescription: This command creates a directory named by Dir-name. The user who is
One, the directory of files under LinuxSummary: The Linux file system is a hierarchical, tree- like structure in which the topmost layer of the structure is the root directory "/", and then another directory is created in this directory. A deep
"7.1" Directory and Path"7.1.2" directory-related actions
1 Special Directory list:
(1)
2 Directory Operation command, let's talk about a few common processing directory commands bar:
CDS: Transforming Catalogs
PWD: Displaying the current
Reprinted from: Sina Blog(Watch archive contents: Cat, TAC, more, less, head, tail, NL, just what we mentioned just to show the appearance of the file, or to move and copy a file or directory, so what if we are going to inspect the contents of an
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.