The rm command is used to delete a file or directory. Its syntax is
rm file or rm -r directory
Example:
rm myfile
rm -r /home/user/mystuff
UNIX command to display the current datedate +'%d/%m/%Y'Niraj sharma
Traditionally, the UNIX command interface was the only way to communicate within a UNIX system. Today, that is not true, with the graphical interfaces that are available. However, the true power of what you can do within UNIX is still in the command line interface. The command line interface is not very intuitive, and uses commands that are abbreviated to the point of not necessarily being understandable. Also, system administration tasks in Unix have typically been harder to accomplish because of the amount of background knowledge necessary even to do simple things. UNIX was developed early on for programmers by programmers, and little thought was given to the end user; as a result, it had a reputation of being difficult to use until you took the time to understand the (admittedly) arcane command line interface.
In UNIX: with command kill, in Windows: from Task Manager.
Unix and Unix-like systems would be referred to as command interpreters because of the nature of their interface. These systems are interacted with via a shell (i.e. Bash), which is a 'command-line interface' where the user types in text commands and they are executed by the system. This is in contrast with modern operating systems where the primary method of interaction is via a 'graphical user interface' or GUI, where the system is represented with graphics (like windows, cursors, toolbars etc.). These modern OS's still include command-line interfaces, like Command Prompt in Windows and the Terminal in OSX.
The 'uptime' command will tell you exactly how many users are on the system. There are other variations of this, including counting the number of words from the 'users' command, etc., but this is the easiest.
Recursively removes all files from the directory and all under it.
The easiest way is to use the 'rm' command recursively. For example, the command: rm -rf /data/test/docs/fall would remove the directory 'fall' from /data/test/docs, even if it isn't empty.
There is no traditional 'execute' command in Unix.
Del is used to delete a file in command prompt.
There is no standard 'format' command in Unix.
The 'CD' command is not standard for Unix. The 'cd' command, however, will change directories (folders). It is a means of navigating the Unix file system.
To delete a file, type: rm filename To delete a file, but prompt for confirmation first use: rm -i filename In both cases, replace filename with the name of the file you're wanting to remove.
If you are just removing the directory, use the command: rmdir dir-name The dir-name directory has to be empty for this to work. If there are files or other subdirectories then use the command: rm -rf dir-name
In Unix, use the 'man' command.
To do it from a command line: Open a Terminal window and use the unix "rm" command. To do it with a GUI: Download and install the muCommander program (very similar to Windows Explorer, but for the Mac).
The "who" command.
cat /proc/version The above answer will only work on certain systems. For most Unix systems, use the 'uname' command to get the Unix version. AIX uses the oslevel command.