Command Reference

 

Disk

 

 

/PCCard1 and /PCCard2

 

 

Formats an ATA flash card for use in an MSS PC card slot. An unformatted

 

 

card can not be used by the MSS. The /pccard1 parameter applies to all MSS

 

 

products with one PC card slot (MSS-VIA) or the first (top) slot of the MSS4.

 

 

The /pccard2 parameter applies to the bottom PC card slot of the MSS4.

 

 

Fsck

 

 

Checks the MSS filesystem and corrects any problems.

 

 

Head

 

 

Outputs the beginning of a string.

 

 

Ln

 

 

Creates a hard or soft link for files, linking a file or set of files to another file.

 

 

using no flag creates a hard link. Adding the -s flag creates a soft link.

 

 

Ls

 

 

Displays the contents of a directory. The available flags are:

 

 

 

 

 

-l

Returns a list in long form, which includes information

 

 

 

about modification date, size, owner, and permissions.

 

 

-t

Sorts the list by modification date, with the newest file

 

 

 

appearing first.

 

 

-r

Reverses the order of the file listing. For example, if -t

 

 

 

was also specified, -r would list the oldest file first.

 

 

 

 

 

 

 

Mkdir

 

 

Creates a new directory on the MSS RAM or flash disk.

 

 

More

 

 

Displays the contents of a file on the terminal, 24 lines of text at a time.

 

 

Normally the display pauses after each screen and prints “--MORE--” at the

 

 

bottom of the screen. To access the next screen, press the Space bar. To abort,

 

 

press Ctrl-C.

 

 

Mv

 

 

Moves files or directories on the MSS RAM and flash disks. You can also

 

 

rename files with this command by inserting the new filename for target

 

 

Od

 

 

Displays the contents of the specified file as raw hexadecimal byte values. The

 

 

possible flags are:

 

 

 

 

-b

Prints the bytes in octal format.

 

 

-ct

Prints the bytes in ASCII format.

 

 

-x

Prints the bytes in hexadecimal format.

 

 

 

 

 

 

 

Pwd

 

 

Displays the full pathname of your current directory.

2-55

Page 64
Image 64
Lantronix manual Checks the MSS filesystem and corrects any problems