Command ReferenceDisk

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.

 

 

 

 

 

 

 

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.

 

 

 

 

 

 

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.

2-54

Page 63
Image 63
Lantronix MSS manual Digit Meaning