RM (1) User Commands RM (1)NAMERm-remove Files or directoriesSynopsisRM [OPTION] ... FILE ...DESCRIPTIONThis manual page documents the GNU version of RM. RM removes eachSpecified file. By default, it does not remove directories.If the-i
Yesterday I learned the command to create a directory mkdir, and then learn about the commands for deleting files and directories in Linux: the RM command.RM is a dangerous command, especially when used, especially for novices, or the entire system
Relative and absolute paths of linux knowledge point Review, linux knowledge point2.6 relative and absolute paths
Each file has a file starting from the root. All files have their own paths starting from the root. They are absolute paths, no matter
Linux Delete directory is very simple, many people are still accustomed to using rmdir, but once the directory is not empty, into deep distress, now use the RM-RF command.
Direct RM is OK, but add two parameters-rf namely: RM-RF directory Name
-R is
mkdir directory name to create a directory
RmDir Empty directory name Delete an empty directory
RM FileName File name Delete one file or multiple files
RM–RF non-empty directory name deletes everything under a non-empty directory
Touch filename
Linux basic commands--related operations of the directoryCommon commands for working with directories:
CD: Transform Catalog
PWD: Displays the current directory
mkdir: Create a new directory
RmDir: Delete an empty directory
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
We know that the directory structure of Linux is tree-like structure, the top-level directory is the root directory/.Other catalogs can be mounted to add them to the tree, and they can be removed by lifting the mount.Before starting this tutorial we
Common linux commands and common linux commands
1. Change the group to which the chgrp belongs:
For example, change the group of install. log to users.
chgrp users install.log
ls –l
View results: root users 68495 25 install. log
Owner
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.