User Manual

Command Reference Navigation/Help Commands
12-8
Rm
Removes files and/or directories from the RAM and Flash disks. The possible
flags are:
Rmdir
Removes a directory from the specified disks. The command can only be used
if the directory is empty. If the directory is full, you must add the DISK RM -
rf command.
Sync
Forces the SCS to write files on all disks (including any PC card disks)
immediately. Normally, when the SCS is rewriting files to disk, it will buffer
data before initiating a write sequence. Write sequences are automatically
written after 5 seconds of disk inactivity.
Tail
Outputs the end of a file.
Test
Evaluates a file (true or false). The possible flags that will be returned are:
Touch
Creates an empty disk file.
Examples
Local>> DISK CHMOD 755 /PCCARD1/index.txt
Local>> DISK FORMAT /PCCARD1
Local>> DISK LS -l /PCCARD1/
Local>> DISK TEST /PCCARD1/add.exe
See Also Disk Management, page 2-16
-i Prompts for a Y (yes) or N (no) before the le is removed.
-r Removes an entire directory and all of its subdirectories.
-d True if le exists and is a directory.
-e True if le exists (regardless of type).
-f True if le exists and is a regular le.
-l True if le exists and is a symbolic link.
-r True if le exists and is readable.
-w True if le exists and is writable. True indicates only that
the write ag is on. The le is not writable on a read-only
le system even if this test indicates true.
-x True if le exists and is executable. True indicates only
that the execute ag is on. If the le is a directory, true
indicates that the le can be searched.