Specifications

Command Line Interface
134
Command: rm Description: Remove (unlink directory entries for) one or
more files.
Syntax: rm [-fir] <filename ...>
Options: -f Delete read-only files without asking for
permission.
-i Prompt for confirmation before removing a
file.
-r Recursively delete the contents of a
directory, its subdirectories and the directory
itself.
Example: Console>ls
hosts motw passwd
Console>rm motw
Console>ls
hosts passwd
Command:
rmdir
Description: Remove a directory.
Syntax: rmdir <directory ...>
Example: Console>ls -F
file2 mydir/
Console>rmdir mydir
Console>ls
file2
Command:
setenv
Description: Set or show environmental variables.
Syntax: setenv
setenv <variable> <value>
Note: TERM and HOME are the only variables that
can be changed.
Example: Console>setenv