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.
rm: Filesystem Mandatory Remove directory entries Version 1 AT&T UNIX rmdel: SCCS Optional (XSI) Remove a delta from an SCCS file PWB UNIX rmdir: Filesystem Mandatory Remove directories, if they are empty. Version 1 AT&T UNIX sact: SCCS Optional (XSI) Print current SCCS file-editing activity System III sccs: SCCS: Optional (XSI)
Makes block or character special files: mktemp: Creates a temporary file or directory mv: Moves files or rename files realpath: Returns the resolved absolute or relative path for a file rm: Removes (deletes) files, directories, device nodes and symbolic links rmdir: Removes empty directories shred: Overwrites a file to hide its contents, and ...
The GNU Core Utilities or coreutils is a package of GNU software containing implementations for many of the basic tools, such as cat, ls, and rm, which are used on Unix-like operating systems. In September 2002, the GNU coreutils were created by merging the earlier packages textutils , shellutils , and fileutils , along with some other ...
Inadvertent typing errors such as rm-rf * / (instead of the intended rm -rf */) are folklore in the Unix community; a single extra space converts the command from one that deletes all subdirectories contained in the current directory, to one which deletes everything from the file system's root directory.
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:
Discover the best free online games at AOL.com - Play board, card, casino, puzzle and many more online games while chatting with others in real-time.
In Linux, if the script was executed by a regular user, the shell would attempt to execute the command rm -rf / as a regular user, and the command would fail. However, if the script was executed by the root user, then the command would likely succeed and the filesystem would be erased. It is recommended to use sudo on a per-command basis instead.