Lantronix SCS Reference Manual page 389

Secure console servers
Table of Contents

Advertisement

Command Reference
-i
-r
-d
-e
-f
-l
-r
-w
-x
Examples
See Also
Rm
Removes files and/or directories from the RAM and Flash disks. The possible
flags are:
Prompts for a Y (yes) or N (no) before the file is
removed.
Removes an entire directory and all of its subdirectories.
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:
True if file exists and is a directory.
True if file exists (regardless of type).
True if file exists and is a regular file.
True if file exists and is a symbolic link.
True if file exists and is readable.
True if file exists and is writable. True indicates only that
the write flag is on. The file is not writable on a read-only
file system even if this test indicates true.
True if file exists and is executable. True indicates only
that the execute flag is on. If the file is a directory, true
indicates that the file can be searched.
Touch
Creates an empty disk file.
Local>> DISK CHMOD 755 /PCCARD1/index.txt
Local>> DISK FORMAT /PCCARD1
Local>> DISK LS -l /PCCARD1/
Local>> DISK TEST /PCCARD1/add.exe
Disk Management, page 2-18
12-185
Navigation/Help Commands

Advertisement

Table of Contents
loading

Table of Contents