Under Linux When we use the rmdir command to delete a folder, it often appears
"Rmdir:failed to remove ' tmp ': Directory not Empty"
Such a mistake, then, how to delete a Non-empty folder.
Actually very simple, with the following command on it,
RM command
Creating files in Linux is easy, and files can become obsolete and useless in the system at any time. Users can delete them with the RM command. The function of this command is to delete one or more files or directories in a directory,
#include #include#include/** * Recursively delete directories (delete the directory and the files and directories contained in the directory) * @dir: The absolute path of the directory to be deleted*/intRemove_dir (Const Char*dir) { CharCur_dir[]
On the first, straight hit Linux:12 asked 1. What is Linux? Linux is an exotic operating system that is born on the web, growing up on the web, and ripe for networking. In the 1991, Finnish college student Linus Torvalds The idea of developing a
Linux running time (5) (laruence's Private food note)-Linux general technology-Linux technology and application information. The following is a detailed description.
Although there are a lot of things to do, the progress of learning Linux is not
Summary of the basic operations of Linux, basic operations of linux
Preface
Linux was a UNIX-compatible operating system developed in 1991 and can be used for free. Its source code can be freely transmitted and can be modified, enriched, and
This chapter mainly describes how to operate and manage the Linux system files and directories, mainly including the switch between directories, the creation and deletion of directories, the creation and deletion of files , file lookup, file content
A directory related to the path 1 directory:Exchange Directory Command CD. Represents this Layer directory.. Represents a previous level directory
Represents a previous working directory~ Represents the home directory where [current user
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
Linux directory structureThe difference between Linux and the Windows directory structure is reflected in the relationship between the directory and the storage medium. In the past, Windows has been mainly storage media, mainly in the drive letter
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.