Lantronix MSS User Manual

Page 63

Advertising
background image

Command Reference

Disk

2-54

Errors

For the /pccard1 and /pccard 2 parameter, you will receive an error if either the
specified card is not a storage card or if there is no card in the slot.

Parameters

Cat

Displays an entire file in your terminal window.

Cd

Changes your current working directory.

Chmod

Changes permissions for a file or directory. To assign permissions, enter a 3-
digit number. The first digit represents the owner’s permissions. The second
digit represents the group’s permissions. The third digit represents the world’s
permissions.

Cp

Copies or moves a file. To copy a file, enter the filename for file1 and the new
file name as file2. To move a file, specify the filename as file1 and the
destination directory as file2.

Df

Displays the blocks of free space on the MSS disks. When you add the -i
switch, the display includes in the display the number of inodes used versus the
number still available.

/disk

Enter the disk name, e.g. /flash.

Format

Formats either the Flash disk or the specified PC card with the Lantronix
filesystem.

/Flash

Formats or erases the /flash disk.

Digit

Meaning

0

No permissions.

1

Execute permission only.

2

Write permission only.

3

Write and Execute permissions.

4

Read permission only.

5

Read and Execute permissions.

6

Read and Write permissions.

7

All permissions.

Advertising