Discover move file to another directory linux, include the articles, news, trends, analysis and practical advice about move file to another directory linux 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
This essay will supplement the file types of Linux systems and the directory structure of Linux (Linux directory Management and permissions are very important, especially in Linux installation database class software).One, Linux change file
To illustrate the original file: Moving target: Step: 1. Find the file that meets the criteria and create the target directory find/root/-maxdepth 5-name ' *.log '-exec echo {} \;|sed "s/\/root\//\/root\/mv2\//g "|sed" s/[^/]*\.log//"|awk ' {System (
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
"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
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
When you want to move a file from one location to another and do not want to copy it, the MV command is the first choice to complete the task.Initial knowledge of MV commandThe MV command is a command similar to CP, but it does not create
The mv command is short for moving files. it can be used to move files or rename files. it is a common command in Linux and is often used to back up files or directories.
The mv command is short for moving files. it can be used to move files or
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:
Linux file type and vice file name
Always emphasize a concept, that is: Any device under Linux are files, not only that, even the interface of data communication has a proprietary file in charge ~ So, you will? solution, Linux file type is really a
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.