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.
Cut out selected fields of each line of a file System III cxref: C programming Optional (XSI) Generate a C-language program cross-reference table System V date: Misc Mandatory Display the date and time Version 1 AT&T UNIX dd: Filesystem Mandatory Convert and copy a file Version 5 AT&T UNIX delta: SCCS Optional (XSI) Make a delta (change) to an ...
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:
Does nothing, but exits unsuccessfully groups: Prints the groups of which the user is a member hostid: Prints the numeric identifier for the current host id: Prints real or effective UID and GID: link: Creates a link to a file logname: Print the user's login name nice: Modifies scheduling priority nohup: Allows a command to continue running ...
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.
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.