rm command Creating files in linux is very easy, there will be files at any time in the system become obsolete and useless. Users can delete it with the rm command. The function of this command is to delete one or more files or directories in a directory. It can also delete a directory and all files and subdirectories under it. For linked files, just delete the link and the original file remains the same. The general form of the rm command is: rm [options] file … rm does not delete directories if the -r option is not used. The options for this command have the following meanings: - f Ignore files that do not exist and never give a prompt. -r Instructs rm to recursively delete all directories and subdirectories listed in the parameter. - i Perform an interactive delete. Use the rm command with extra care. Because once a file is deleted, it cannot be recovered. For example, when the user enters cp, mv or other commands, the rm command is accidentally entered. When the user presses the Enter key and recognizes his or her mistake, it is too late and the file is gone. To prevent this from happening, you can use the i option in the rm command to confirm each file you want to delete. If the user enters y, the file will be deleted. If you enter anything else, the file will be retained. In the next example, the user wants to delete the files test and example. You will then be asked to confirm each file. The user finally decides to delete the example file and keep the test file. $ rm – ii test example
Linux Mint is an Ubuntu-based distribution whose goal is to provide a more complete and immediate ex
According to foreign media reports, Linux does not seem to be fully loved by people. Operating syste
With the advantage of strong stability, embedded DVR is increasingly accepted by the security indust
Today, I suddenly had a whim and wanted to experience Mac Os. I heard that the virtual machine inst
How to configure vnc under linux
Linux/Unix operating system is in the desktop control of the intranet
Installation and configuration of Ethernet card under Linux operating system
Example of initialization file for rom under ISE
How to modify ssh default 22 port number
How do I view the specific release version of Red Hat Enterprise Linux?
Linux file search technology Daquan
Linux Network Programming - Server and Client Information Functions
Linux operating system mounts U disk and hard disk drive problem
Win10 preview version 9924 download address win10 9924 official download
How to improve the restart speed and shutdown speed of the computer
Windows7 system often uses black screen or prompts to accidentally shut down
Win9 RTM new concept design, looks good
Will a quick shutdown cause Windows data corruption?
Shield Win10 upgrade notification pop-up tool release the latest version