Command Reference |
| Disk | |
|
| Rm | |
|
| Removes files and/or directories from the MSS 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 MSS to write files to flash immediately. Normally, when the MSS | |
|
| is rewriting files to the Flash 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 |
|
|
| 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. | |
Examples | Local>> DISK CHMOD 755 /PCCARD1/index.txt | ||
|
| Local>> DISK FORMAT /PCCARD1 | |
|
| Local>> DISK LS | |
|
| Local>> DISK TEST /PCCARD1/add.exe |