Lantronix MSS manual Rf command

Page 65

Command Reference

 

Disk

 

 

Rm

 

 

Removes files and/or directories from the MSS RAM and Flash disks. The

 

 

possible flags are:

 

 

 

 

 

-i

Prompts for a Y (yes) or N (no) before the file is removed.

 

 

-r

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:

 

 

 

 

-d

True if file exists and is a directory.

 

 

-e

True if file exists (regardless of type).

 

 

-f

True if file exists and is a regular file.

 

 

-l

True if file exists and is a symbolic link.

 

 

-r

True if file exists and is readable.

 

 

-w

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.

 

 

-x

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 -l /PCCARD1/

 

 

Local>> DISK TEST /PCCARD1/add.exe

2-56

Image 65
Contents MSS Reference Manual Part Number Contents Contents Iii Index What’s New Command SyntaxKey Purpose Command Line EditingAbout This Manual HelpCommand Reference Change Change 80211 EnabledBackward Change 80211 Antenna DefaultsRestrictions Change 80211 Fragmentation ErrorsChange 80211 MAC Address ParametersExamples Change 80211 Network ModeChange 80211 Region Change 80211 PowerChange 80211 RTS Change 80211 ResetChange 80211 WEP Current port only Change AccessChange Autobaud DefaultsDynamic See AlsoChange Autostart Dashes for ranges Change Bootgateway Change Backward SwitchDefaultsEnabled Change BootpChange Break Restrictions Requires privileged user status ParametersPortDefaults Bytes DefaultsNone See AlsoChange Buffering Change CharsizeChange Datasend Condition has been detected Restrictions Change DedicatedCommand on Change Domain Change DhcpChange DTRWait Change DSRLogoutChange Flow Control DefaultsDisabledChange Gateway Change Forward SwitchChange Inactive Logout Change Inactive TimerDefaultsDisabled See Also Change Incoming Change IPSecurity Change IPAddressChange LAT CircTimer Change Loadhost Change LAT GroupsChange LAT Identification Change Local Switch Change Modem Control Change LoginpassChange Name Change Modem EmulationChange NetWare Encapsulation Change NameserverChange NetWare Loadhost Change NetWare Internal NetworkParametersfileserver Change NetWare RoutingChange Parity Change Passflow Change Password Limit Change Password IncomingChange Portname Change Password ProtectChange Preferred Change Rarp Change PrivpassChange Retransmit Limit Change RloginChange RS485 Change Session Limit Change Signal CheckChange Secondary Change SNMPSetComm Change SilentbootChange Speed Change SoftwareTwo colons and the startup file name of up to 47 characters Change StartupChange Subnet Mask Defaults See AlsoChange Stopbits Change Telnetdest DefaultsConsoleChange TCPKeepalive Parameters Examples Change TelnetpadChange Termtype Daytime is only supported over UDP Change TimeserverChange Wins Change VerifyCrypt Password Disk Digit Meaning Checks the MSS filesystem and corrects any problems Rf command Disconnect Delete IPSecurityFinger ParametersusernameParameterskeyword ForwardHostlist Initialize Show Hostlist commandParametersserviceName ParametersDelay78 LAT Logout PortPing NetstatResume ParametershostnameParametersIPaddress Rlogin84 RTC ParametersAntenna Set PrivilegedShow Show IPsecurity Show HostlistShow NetWare Show NodesShow RS485 Show PortsShow Server ParametersAllShow Session Show ServicesParametersBootparams Show Users Show SnmpShow Version SourceParametersSAPname 100 SPXTelnet Zero TestFull Contact Information Problem Report ProcedureMultiple Strings UsageAvailable Strings Xxxx Usage ExamplesParametersS 1.5 or1.11 Y Leftmost Number Error BitsIntroduction 08000000 1000000004000000 02000000Rightmost Number Unassigned 00000004 Internal error 00000002 00000001 Index Security 2-27,2-57,2-64IPX NetWare Login 2-31,2-37UDP 2-50,B-3 Telnet 2-48,2-68