Search results
Results from the WOW.Com Content Network
rm (short for remove) is a basic command on Unix and Unix-like operating systems used to remove objects such as computer files, directories and symbolic links from file systems and also special files such as device nodes, pipes and sockets, similar to the del command in MS-DOS, OS/2, and Microsoft Windows.
Some commands are built into the command interpreter; others exist as external commands on disk. Over multiple generations, commands were added for additional functions. In Microsoft Windows, a command prompt window that uses many of the same commands, cmd.exe, can still be used.
will first remove baz/, then bar/ and finally foo/ thus removing the entire directory tree specified in the command argument. rmdir will not remove a directory if it is not empty in UNIX. The rm command will remove a directory and all its contents recursively. For example:
This page was last edited on 24 January 2019, at 19:33 (UTC).; Text is available under the Creative Commons Attribution-ShareAlike 4.0 License; additional terms may apply.
Displays how a name would be interpreted if used as a command ulimit: Misc Optional (XSI) Set or report file size limit umask: Misc Mandatory Get or set the file mode creation mask System III unalias: Misc Mandatory Remove alias definitions uname: Misc Mandatory Return system name PWB UNIX uncompress: Misc Optional (XSI) Expand compressed data ...
rm: Removes (deletes) files, directories, device nodes and symbolic links rmdir: Removes empty directories shred: Overwrites a file to hide its contents, and optionally deletes it sync: Flushes file system buffers touch: Changes file timestamps; creates file truncate: Shrink or extend the size of a file to the specified size vdir: Is exactly ...
A built-in help command. A man page, and; ... or man builtins at a terminal prompt where bash is ... the shell would attempt to execute the command rm -rf / as a ...
It is analogous to the Unix rm command and to the Stratus OpenVOS delete_file and delete_dircommands. [5] DEC RT-11, [6] OS/8, [7] RSX-11, [8] and OpenVMS [9] also provide the delete command which can be contracted to del. AmigaDOS [10] and TSC FLEX [11] provide a delete command as well. The erase command is supported by Tim Paterson's SCP 86 ...