Top Expand Collapse

 

Credits

 

© 2007
FREESCO

FREESCO v0.3.8 COMMANDS

Quick Search
 

 

/bin DIRECTORY COMMANDS:
a: arpf authorized_key backup basename beep brcfg
chgrp chmod chown chroot chvt cip clear
clock clr cmp connect control cp cp-rf
crontab date dd df dir dirname dmesg
dyndns echo edit email false find fpenguin
free fromdos grep gunzip gzip hardinfo hostname
htpasswd ifconfig ile insmod ipautofw ipcalc ipportfw
ispstats kill length ll ln loadkmap logger
login ls lsmod math minicom mkdir mknod
mkswap more mount mv netinfo nice nslookup
ntpdate pidof ping pkg play printout ps
pwd random rasstats report rm rmmod route
runchk sed setserial sh sleep snarf star
stty sync sysedit sysinfo tar tclock telnet
todos touch traceroute true tty udosctl umount
umssetup umssync uname uptime useradd userdel useredit
userlist usleep utils wc which zcat  

/sbin DIRECTORY COMMANDS:
= agetty arpmon block_device chat crond daemon
dhcpcd dhcpcd-fld dhcpcd.update dhcpd diald dnsmasq dropbear
dropbearconvert dropbearkey edt fork freetime halt init
ipfwadm ipfwd isapnp killall klogd load logrotate
lpd mgetty mini_sendmail miterm mode oidentd passwd
pnpdump pppd pppmon pppoe pptp pptp_callmgr psh
pure-ftpd reboot remotelog rmlogs savelogs scp serverchk
servermon setleds setspeed setup sftpserver shapecfg smtpclient
ssh swapoff swapon synctime syslogd thttpd tleds
top tsaver update  

Command: =
Location: /sbin
Type: Script
Usage: = [$?/1/0] ["text-success"] ["text-failure"]
Purpose: This command is used to print "Done" or "XXXX" inside of startup scripts.

When used in the above usage example a successful exit will print the first text and a failure will print the second text.
Option(s):
$? Returns the exit code of the preceding process.
0 Always print a green Done (default).
1 Always show a failure.

Command: a:
Location: /bin
Type: Script
Usage: a: [/dev/fdN] [/dev/fdNu1680]
Purpose: Mounts or UnMounts a floppy disk.
Option(s):
N Actual number of the device. For standard floppies on fd0, no other arguments are needed and the floppy will always be mounted to /mnt/fd.

Command: agetty
Location: /sbin
Type: Binary
Usage: agetty [-hiLmw] [-l login_program] [-t timeout] [-I initstring] baud_rate,... line [termtype]
or
agetty [-hiLmw] [-l login_program] [-t timeout] [-I initstring] line baud_rate,... [termtype]
Purpose: The Linux version of getty. Set terminal type, modes, speed, and line discipline. agetty is invoked by init, which ultimately connects a user with the Linux system.
Option(s):
-h Specify hardware, not software, flow control.
-i Suppress printing of /etc/issue before printing the login prompt.
-I STRING Specify STRING to be sent to the tty or modem.
-L Do not require carrier detect; operate locally only. Use this when connecting terminals.
-l PROGRAM Specify the use of PROGRAM instead of /bin/login.
-m Attempt to guess the appropriate baud rate.
-t TIME Specify that agetty should exit if there is no response to the login prompt in TIME seconds.
-w Wait for carriage return or linefeed before sending login prompt. Use when sending an initialization string.
baud_rate A comma-separated list of rates through which agetty will step.

Command: arpf
Location: /bin
Type: Binary
Usage: arpf [-i IF] [-s]
Purpose: This will display the IP and MAC addresses of all clients currently connected to the specified network interface.
Option(s):
-i IF Query network interface IF (Default is eth0).
-s Short output format.

Command: arpmon
Location: /sbin
Type: Script
Usage: None.
Purpose: This script is used by the system to monitor the network to see what machines are currently online. Machines that are online then have their MAC addresses written to a special file the rest of the system can use to control other security and access options.
Option(s): None.

Command: authorized_key
Location: /bin
Type: Script
Usage: authorized_key <users_home_directory>
Purpose: The authorized_keys file allows users to login using SSH and not have to use a password.
Option(s): None.

Command: backup
Location: /bin
Type: Script
Usage: backup
Purpose: This command will copy the primary configuration files from FREESCO running on a hard drive install or on a read-only-once floppy install to a default pre-made FREESCO floppy. Currently it only operates with /dev/fd0.
Option(s): None.

Command: basename
Location: /bin
Type: Script
Usage: basename [dir]name.extension [.extension]
Purpose: This script takes any file and strips all other components from it such as the directory and any extension that you specify as the second argument.
Option(s): None.

Command: beep
Location: /bin
Type: Binary
Usage: beep [-f freq] [-l length] [-r reps] [-d delay] [-D delay] [-s] [-c]
beep [-h ¦ --help]
beep [-v ¦ -V ¦ --version]
Purpose: Produces a tone from the speaker. Used by the "play" script.
Option(s):
-c Beep after each char of input from stdin, echo char to stdout.
-d delay Delay in ms.
-D delay Similar to -d, but delay after last repetition as well.
-f freq Frequency in Hz.
-h,
--help
Show help.
-l length Tone length in ms.
-n Allows you to break the command line up into specifying multiple beeps.
Each time this option is used, beep starts treating all further arguments as though they were for a new beep.
-r reps Repetitions.
-s Beep after each line of input from stdin, echo line to stdout.
-v,
-V,
--version
Show version.

Command: block_device
Location: /sbin
Type: Binary
Usage: block_device FILE
Purpose: Returns the block device where a file or directory resides.
Option(s): None.

Command: brcfg
Location: /bin
Type: Binary
Usage: brcfg -enable
Purpose: This binary should NOT be used directly from the command line and it is included into FREESCO's internal operations.
Option(s): None.

Command: chat
Location: /sbin
Type: Binary
Usage: chat [-e] [-E] [-v] [-V] [-t TIMEOUT] [-r REPORT_FILE] [-T PHONE_NUMBER] [-U PHONE_NUMBER2] {-f CHAT_FILE ¦ Chat_Script}
Purpose: The chat binary manages dialing a connection and password negotiation before a PPP connection is made.
Option(s):
-e Start with the echo option turned on.
-E Enables environment variable substituion within chat scripts using the standard $xxx syntax.
-f CHAT_FILE Read the chat script from the chat file (mutually exclusive with chat script parameters).
-r REPORT_FILE Set the file for output of the report strings. If you use the keyword REPORT, the resulting strings are written to this file. If this option is not used and you still use REPORT keywords, the stderr file is used for the report strings.
-T PHONE_NUMBER Pass in an arbitary string, usually a phone number, that will be substituted for the T substitution metacharacter in a send string.
-t TIMEOUT Set the timeout for the expected string to be received. If the string is not received within the time limit then the reply string is not sent.
-U PHONE_NUMBER2 Pass in a second string, usually a phone number, that will be substituted for the U substitution metacharacter in a send string. This is useful when dialing an ISDN terminal adapter that requires two numbers.
-v Request that the chat script be executed in a SYSLOG verbose mode.
-V Request that the chat script be executed in a stderr verbose mode.
Chat_Script If the script is not specified in a file with the -f option then the script is included as parameters to the chat program.

Command: chgrp
Location: /bin
Type: Binary
Usage: chgrp [OPTION]... GROUP FILE...
Purpose: Change the group membership of each FILE to GROUP.
Option(s):
-R Recursive.

Command: chmod
Location: /bin
Type: Binary
Usage: chmod [-R] MODE[,MODE]... FILE...
Purpose: Change file access permissions.
Option(s):
-R Recursive.
MODE One or more of the letters ugoa, one of the symbols +-= and one or more of the letters rwxst.

Command: chown
Location: /bin
Type: Binary
Usage: chown [ -Rh ]... OWNER[<.¦:>[GROUP]] FILE...
Purpose: Change the owner and/or group of each FILE to OWNER and/or GROUP.
Option(s):
-h Do not dereference symbolic links.
-R Recursive.

Command: chroot
Location: /bin
Type: Binary
Usage: chroot NEWROOT [COMMAND...]
Purpose: Run COMMAND with root directory set to NEWROOT.
Option(s): None.

Command: chvt
Location: /bin
Type: Binary
Usage: chvt N
Purpose: Changes the foreground virtual terminal to /dev/ttyN.
Option(s): None.

Command: cip
Location: /bin
Type: Script
Usage: cip [DEV]
Purpose: Displays a spinning cursor on DEV to indicate 'Computing In Progress'. If DEV is not specified, cip will use the current console. Use CTRL+c to terminate.
Option(s): None.

Command: clear
Location: /bin
Type: Binary
Usage: clear
Purpose: Clears the current display of all text.
Option(s): None.

Command: clock
Location: /bin
Type: Binary
Usage: clock [-u] -r¦w¦s¦a
Purpose: Manipulate the CMOS clock.
Option(s):
-a Get system time and adjust CMOS clock.
-r Read and print CMOS clock.
-s Set system time from CMOS clock.
-u CMOS clock is in universal time.
-w Write CMOS clock from system time.

Command: clr
Location: /bin
Type: Script
Usage: clr
Purpose: Clear the screen. This is a shortcut to the binary "clear".
Option(s): None.

Command: cmp
Location: /bin
Type: Binary
Usage: cmp [-s] FILE1 [FILE2]
Purpose: Compare files.
Option(s):
-s Silent mode - do not print.

Command: connect
Location: /bin
Type: Script
Usage: connect
Purpose: Used to establish a modem connection to the default ISP.
Option(s): None.

Command: control
Location: /bin
Type: Script
Usage: control [Command]
Purpose: Controls the current state of the dial-up daemon.
Option(s):
block Block outgoing calls. Also brings the link down.
debug Set the diald debug flags. See diald man page for values.
delay-quit Terminate diald as the link next goes idle.
down Force the link down.
force Bring up the link continuously.
queue Force diald to print the contents of the filter queue to the syslog.
quit Force the link down and exit diald.
reset Force diald to reread its configuration. If the configuration is incorrect, diald will terminate with an error condition.
unblock Allow outgoing calls.
unforce Resume normal link state.
up Force the link up.

Command: cp
Location: /bin
Type: Binary
Usage: cp [OPTION]... SOURCE DEST
Purpose: Copies SOURCE to DEST, or multiple SOURCEs) to DIRECTORY.
Option(s):
-a Same as -dpR.
-d Preserves links.
-f Force <implied; ignored> - always set
-p Preserves file attributes if possible.
-R Recursive.

Command: cp-rf
Location: /bin
Type: Script
Usage: cp-rf /DIR1 /DIR2
Purpose: Copies recursively from DIR1 to DIR2.
Option(s): None.

Command: crond
Location: /sbin
Type: Binary
Usage: crond -d[#] [-l#] [-f] [-b] [-c DIR]
Purpose: Execute commands at scheduled times.
Option(s):
-b Run crond in the background (default unless -d specified).
-c DIR Specify directory containing crontab files.
-d[#] Set debugging level (default is 0). If no level is specified with -d option, default is 1. This option also sets the logging level to 0 and causes crond to run in the foreground.
-f Run crond in the foreground.
-l# Set logging level (default is 8).

Command: crontab
Location: /bin
Type: Script
Usage: crontab [-e]
or
crontab [-l]
Purpose: View or edit your current crontab file.
Option(s):
-e Edits the crontab entries.
-l Lists all current crontab entries.

Command: daemon
Location: /sbin
Type: Script
Usage: daemon PROGRAM
Purpose: Runs PROGRAM in an endless loop that will continue to restart even if the program is killed.
Option(s): None.

Command: date
Location: /bin
Type: Binary
Usage: /bin/date [OPTION]... [+FORMAT]
or
/bin/date [OPTION] [MMDDhhmm[[CC]YY][.ss]]

NOTE: It is important to use the FULL PATH to this binary because there is also a built-in "date" command that does not have the below options available.
Purpose: Display the current time in the given FORMAT, or set the system date.
FORMAT controls the output. Interpreted sequences (listed under options) begin with the % character.
By default, date pads numeric fields with zeroes. GNU date recognizes the following modifiers between `%' and a numeric directive:
`-' (hyphen) do not pad the field
`_' (underscore) pad the field with spaces.
Option(s):
%% A literal %
%a Locale's abbreviated weekday name (Sun..Sat)
%A Locale's full weekday name, variable length (Sunday..Saturday)
%b Locale's abbreviated month name (Jan..Dec)
%B Locale's full month name, variable length (January..December)
%c Locale's date and time (Sat Nov 04 12:02:33 EST 1989)
%d Day of month (01..31)
%D Date (mm/dd/yy)
%e Day of month, blank padded ( 1..31)
%h Same as %b
%H Hour (00..23)
%I Hour (01..12)
%j Day of year (001..366)
%k Hour, blank padded ( 0..23)
%l Hour, blank padded ( 1..12)
%m Month (01..12)
%M Minute (00..59)
%n A newline
%p Locale's AM or PM
%r Time, 12-hour (hh:mm:ss [AP]M)
%s Seconds since 00:00:00, Jan 1, 1970 (a GNU extension)
%S Second (00..61)
%t A horizontal tab
%T Time, 24-hour (hh:mm:ss)
%U Week number of year with Sunday as first day of week (00..53)
%V Week number of year with Monday as first day of week (01..52)
%w Day of week (0..6); 0 represents Sunday
%W Week number of year with Monday as first day of week (00..53)
%x Locale's date representation (mm/dd/yy)
%X Locale's time representation (%H:%M:%S)
%y Last two digits of year (00..99) %Y year (1970...)
%z RFC-822 style numeric timezone (-0500) (a nonstandard extension)
%Z Time zone (e.g., EDT), or nothing if no time zone is determinable
-d,
--date=STRING
Display time described by STRING, not `now'
-f,
--file=DATEFILE
Like --date, once for each line of DATEFILE.
-r,
--reference=FILE
Display the last modification time of FILE.
-R,
--rfc-822
Output RFC-822 compliant date string.
-s,
--set=STRING
Set time described by STRING.
-u,
--utc,
--universal
Print or set Coordinated Universal Time.

Command: dd
Location: /bin
Type: Binary
Usage: dd [if=FILE] [of=FILE] [bs=N] [count=N] [skip=N] [seek=N] [conv=notrunc¦noerror¦sync]
Purpose: Copy a file, converting and formatting according to options.
Numbers may be suffixed by c <x1>, w <x2>, b <x512>, kD <x1000>, k <x1024>, MD <x1000000>, M <x1048576>, GD <x1000000000> or G <x1073741824>.
Option(s):
bs=N Block Size; Read and write N bytes at a time.
conv=noerror Continue after read errors.
conv=notrunc Don't truncate output file.
conv=sync Pad blocks with zeros.
count=N Copy only N input blocks.
if=FILE Input File; Read from FILE instead of stdin.
of=FILE Output File; Write to FILE instead of stdout.
seek=N Skip N output blocks.
skip=N Skip N input blocks.

Command: df
Location: /bin
Type: Binary
Usage: df [-hmk] [FILESYSTEM ...]
Purpose: Print the filesystem space used and space available.
Option(s):
-h Print sizes in human readable format (e.g., 1K, 243M, 2G).
-k Print sizes in kilobytes(default).
-m Print sizes in megabytes.

Command: dhcpcd
Location: /sbin
Type: Binary
Usage: dhcpcd [-dknrBCDHNRSTY] [-l LEASETIME] [-h HOSTNAME] [-t TIMEOUT] [-i VENDOR_ID] [-I CLIENT_ID] [-c FILENAME] [-s [IPADDR]] [-w WIN_SIZE] [-L CONFIG_DIR] [-G [GATEWAY]] [INTERFACE]

INTERFACE Specifies the network interface name (eth0, eth1, etc.).
Purpose: DHCP client for ISP DHCP connections.
Option(s):
-B Requests broadcast response from DHCP server.
-C Forces dhcpcd to calculate checksum on received packets.
-c FILENAME Execute FILENAME script instead of the default script every time it configures or brings down the interface.
-d Sets debugging output.
-D Forces dhcpcd to set domainname of the host to the domainname option supplied by DHCP server.
-G [GATEWAY] Prevents dhcpcd from installing default routes provided by DHCP server. If optional gateway ip address parameter is supplied then use it for default route.
-H Forces dhcpcd to set hostname of the host to the hostname option supplied by DHCP server. By default dhcpcd will NOT set hostname of the host to the hostname option received from DHCP server.
-h HOSTNAME Specifies a string used for the hostname option field when dhcpcd sends DHCP messages.
-I CLIENT_ID Specifies the client identifier string.
-i VENDOR_ID Specifies the vendor class identifier string.
-k Sends SIGHUP signal to the dhcpcd process that is currently running.
-L CONFIG_DIR Use CONFIG_DIR directory instead of default /etc/dhcpc to store configuration information.
-l LEASETIME Specifies (in seconds) the recommended lease time to the server. (Note that the server can override this value if it sees fit).
-n Sends SIGALRM signal to the dhcpcd process that is currently running which forces dhcpcd to try to renew the lease. If dhcpcd is not running, the flag is ignored and dhcpcd follows the normal startup procedure.
-N Prevents dhcpcd from replacing existing /etc/ntp.conf file.
-r Makes dhcpcd RFC1541 (obsolete) compliant. dhcpcd is RFC2131 compliant unless this option is specified.
-R Prevents dhcpcd from replacing existing /etc/resolv.conf file.
-S Forces dhcpcd to send second DHCP_DISCOVER message even after receiving DHCP_OFFER on the first one. Some DHCP servers expect the client to send second DHCP_DISCOVER message before replying on DHCP_REQUEST.
-s [IPADDR] Sends DHCP_INFORM message to DHCP server using IPADDR.
-T This option is used primarily for testing DHCP servers, for obtaining multiple IP addresses for the same dummy interface, and/or configuring virtual interfaces in conjunction with -L CONFIG_DIR and -I CLIENT_ID options.
-t TIMEOUT Specifies (in seconds ) for how long dhcpcd will try to get an IP address. The default is 60 seconds.
-w WIN_SIZE Specifies the window size for the gateway route. Default = 32768.
-Y Prevents dhcpcd from replacing existing /etc/yp.conf file. Domainname is not updated unless -D is specified.

Command: dhcpcd-fld
Location: /sbin
Type: Script
Usage: None.
Purpose: This script is used by the system when the external DHCP lease from an ISP fails.
Option(s): None.

Command: dhcpcd.update
Location: /sbin
Type: Script
Usage: None.
Purpose: This script is used by dhcpcd to update the system when a new lease is acquired.
Option(s): None.

Command: dhcpd
Location: /sbin
Type: Binary
Usage: dhcpd [-p PORT] [-d] [-f] [-cf CONFIG-FILE] [-lf LEASE-FILE] [-pf PID-FILE] [if0 [...ifN]]
Purpose: Dynamic Host Configuration Protocol server daemon.
Option(s):
-cf CONFIG-FILE Use configuration file CONFIG-FILE.
-d Debug mode. Logs to standard out instead of syslog.
-f Run in foreground instead of as a daemon.
-lf LEASE-FILE Use lease file LEASE-FILE.
-p PORT Use alternate listen port PORT; default is port 67 and the broadcast port one higher at 68.
-pf PID-FILE Use PID file PID-FILE.

Command: diald
Location: /sbin
Type: Binary
Usage: diald [modem-device1] [modem-device2 ...] [options...] [-- [pppd options...]]
Purpose: Monitor and control dialup connections.
Option(s):
-daemon Don't run in daemon mode.
-f FILE,
-file FILE,
include FILE
Read the file FILE for additional commands.
-m MODE,
mode MODE
Set the operation mode to MODE.
Valid choices are:
slip - SLIP mode.
cslip - Compressed SLIP mode.
slip6 - 6 BIT SLIP mode.
cslip6 - Compressed 6 BIT SLIP mode.
aslip - Adaptive SLIP mode.
ppp - PPP mode.
dev - Ethernet device mode.
-pidstring Write lock files in binary format.
-reroute This command asks diald to forward packets from the proxy link to the real link, rather than change the system routes to point to the real route.
accept <prot-rule> <time> <pack-rule> Define a packet matching rule to control the link.
Packets that match an accept rule will cause the link to come up and stay up for at least <time> seconds.
The <prot-rule> must refer to a protocol rule defined by a previous prule statement.
The value <time> must be a non negative integer.
accounting-log FILE Name the file that diald should append accounting information to.
addroute FILE The designated script or executable is called by diald once it has established the proxy device.
The script is passed five arguments: <iface> <netmask> <local-ip> <remote-ip> <metric>.
bringup <prot-rule> <time> <pack-rule> Define a packet matching rule to control the link.
Packets that match a bringup rule will cause attempts to bring the link up for at least <time> seconds. These rules are ignored if the link is currently up.
The parameters are exactly as described for the accept command.
buffer-fifo-dispose,
-buffer-fifo-dispose
Tells diald Do/Don't dispose of packets in a first in first out order if it runs out of room on the packet buffer while waiting for a link to come up.
buffer-packets,
-buffer-packets
Tells diald Do/Don't buffer packets while waiting for a link to come up.
buffer-timeout NN Set the timeout (in seconds) for throwing away packets in the buffer.
buffer_size NN Sets the size of the buffer for saving packets while waiting for a link to come up.
connect FILE Use the executable or shell script FILE to set up the serial line.
connect-timeout NN Set the maximum amount of time to wait for the connect script to complete (in seconds).
crtscts Use the hardware flow control lines (RTS and CTS) to control the serial line.
debug MASK Set the debugging mask. The mask is the binary OR of the following hex value flags:
0x0001 FILTER_MATCH - dump information showing which packets are matched by which filtering rule.
0x0004 PROXYARP - dump information on the proxyarp setup.
0x0008 VERBOSE - dump details on various normal operations.
0x0010 STATE_CONTROL - output changes in the finite state control for the link status.
0x0020 TICK - dump a heartbeat message every second.
0x0040 CONNECTION_QUEUE - dump information detailing every change to the connection queue.
A value of 0 turns off debugging output (default).
defaultroute Tell diald to set up a default route to the SLIP link.
delroute FILE The designated script or executable is called by diald just before it deletes the proxy device (when diald is about to terminate).
The script receives the same arguments as the addroute script.
device DEV Add the device DEV to the list of devices that can be used for the outgoing connection. For SLIP and PPP modes these should be serial devices. For the "dev" mode this should be the name of an Ethernet device.
dial-fail-limit NN Sets the maximum number of consecutive failed connection attempts diald will allow.
died-retry-count NN Set the maximum number of times diald should attempt to restore a connection that was severed before it should fall back and wait for more network traffic.
disconnect FILE Use the executable or shell script FILE to shut down serial line.
disconnect-timeout NN Set the maximum amount of time to wait for the disconnect script to complete (in seconds).
down The down rule forces the link to be down at all times, regardless of the packet filtering that is in force.
dslip-mode MODE Set the interpretation of dynamic address information for SLIP mode.
The possible settings are: bootp, remote, local, remote-local, and local-remote.
dynamic Dynamically change the local and remote IP addresses to match those obtained when an actual connection (either SLIP or PPP) is made.
fifo FILE Turns on the FIFO command channel. Diald will attempt to open a named pipe with the pathname FILE. External programs can write commands to the pipe and diald will react.
first-packet-timeout NN Set the first packet timeout to NN seconds.
flushfilters Remove all existing filter rule definitions.
flushprules Remove all existing protocol rule definitions.
flushvars Remove all existing variable definitions.
give-way Normally if a FIFO connect request comes in while a connection script is running, the FIFO connect request shell is terminated. This command reverses this behavior so the connect script will be terminated and the FIFO request honoured.
ignore <prot-rule> <pack-rule> Define a packet matching rule to control the link.
Packets that match an ignore rule will be ignored and will not match any later rules.
Except for the lack of a <time> parameter, the parameters are exactly as described for the accept command.
impulse <dur>,<fuzz>,
impulse <init-dur>,<sec-dur>,<fuzz>
The impulse command is used to control the link up time in units larger than a single second.
ip-down FILE The designated script or executable is called by diald whenever the IP layer is brought down.
The script receives the same arguments as the addroute script.
ip-up FILE The designated script or executable is called by diald whenever the IP layer is brought up.
The script receives the same arguments as the addroute script.
keepalive NN This option tells diald to set the SLIP keepalive timer to NN seconds. Range: 0-255.
keepup <prot-rule> <time> <pack-rule> Define a packet matching rule to control the link.
Packets that match a keepup rule will cause the link to stay up, if it is already up, for at least <time> seconds. These rules are ignored if the link is currently down.
The parameters are exactly as described for the accept command.
kill-timeout NN Set the maximum amount of time to wait for a subprocess to die after sending a SIGKILL to NN seconds.
local IP Sets the local IP address for the link established by diald. This option is not optional.
lock Perform UUCP style locking of the serial line.
lock-prefix PATH Set the pathname prefix to use for modem device lock files.
modem Treat the serial device as a modem.
mru NN Set the MRU (Maximum Receive Unit) to NN.
mtu NN Set the MTU (Maximum Transmission Unit) to NN.
netmask MASK Set the netmask to be used for the interface.
nodev-retry-timeout NN Set the delay between dialing attempts when no free modem device is available to NN seconds.
outfill NN This option tells diald to set the SLIP outfill timer to NN seconds. Range: 0-255.
path-bootpc PATH Set the path to the bootpc command.
path-ifconfig PATH Set the path to the ifconfig command.
path-pppd PATH Set the path to the pppd command.
path-route PATH Set the path to the route command.
pidfile FILE Changes the name of the file that diald uses to store its own PID from diald.pid to the given file.
pidstring Write lock files as an ASCII string representing the process identifier of the locking program (default).
pppd-options OPTS ... When diald is being used in PPP mode extra commands can be passed on to pppd by specifying them after a pppd-options command, or after "--" on the command line.
proxyarp Tell diald to add an entry to this system's ARP (Address Resolution Protocol) table with the IP address of the remote system, and the Ethernet address of this system.
prule <name> <protocol> <spec> Define a new protocol rule called <name> to be used in filter statements.
The <protocol> field must either be the name of a protocol defined in /etc/protocols, the special keyword "any", or an integer between 0 and 254 inclusive.
The <spec> field is a list of 16 colon separated offset codes that specify the bytes to be extracted from a packet to build a connection identifier.
redial-backoff-limit NN Set the maximum number of seconds diald will delay between failed calls when it invokes the backoff algorithm.
redial-backoff-start NN Specifies the number of consecutive failures to connect allowed before diald starts doubling the delay between dialing attempts after each attempt.
redial-timeout NN Set the delay between dialing attempts to NN seconds.
remote IP Sets the remote IP address for the link established by diald. This option is not optional.
reroute This command asks diald to change the system routes to point to the real link when it brings it up, rather than forwarding packets from the proxy to the real link.
restrict <s> <e> <wd> <md> <m>,
or-restrict <s> <e> <wd> <md> <m>
Normally filter rules apply at all times. The restrict statement makes all filter rules following the restrict statement, up to the next restrict statement, apply only at the times indicated by the restrict statement.
The or-restrict command expands the immediately preceding restrict to include the range of times specified by the or-restrict command.
Arguments are <start-time> <end-time> <weekdays> <monthdays> <months>.
retry-count NN Set the maximum number of times diald should attempt to make the initial connection without falling back and waiting for more network traffic.
rotate-devices This command forces diald to rotate the list of devices each time a device is opened.
route-wait On some badly configured PPP servers, traffic will not flow until a routing daemon notices that the PPP link has come up, at which time a routing packet will cross the link from the server to the local side. This option tells diald that it is interoperating with server that is broken in this way, and that it should not consider the IP layer to have come up until it sees at least one packet come from the remote side.
run-prefix PATH Set the directory where diald writes out its PID file.
speed BAUD Set the baud rate to use on the serial line.
start-pppd-timeout NN Set the maximum amount of time to wait for pppd to choose a PPP device to NN seconds.
stop-dial-timeout NN Set the maximum amount of time to wait for connect to die after sending a SIGINT to NN seconds.
stop-pppd-timeout NN Set the maximum amount of time to wait for pppd to die after sending it SIGINT to NN seconds.
two-way Normally if the connection is broken by the other end hanging up diald will immediately re-dial the other end. This command forces diald to re-dial only if there is some outgoing traffic.
up The up rule forces the link to be up at all times, regardless of the packet filtering that is in force.
var <name> <spec> Define a new variable called <name> to be used in filter statements.
The <spec> portion of the definition defines how to construct the value of the variable from a packet.
window NN This option specifies a TCP window size to place in routing table entries.

Command: dir
Location: /bin
Type: Script
Usage: dir [dirname]
Purpose: Prints files in a six column display with executables marked with a "*".
Option(s): None.

Command: dirname
Location: /bin
Type: Script
Usage: dirname /dir/filename.extension
Purpose: Separates only the directory from the full directory and file name.
Option(s): None.

Command: dmesg
Location: /bin
Type: Binary
Usage: dmesg [-c] [-n LEVEL] [-s SIZE]
Purpose: Prints or controls the kernel ring buffer.
Option(s):
-c Clears the ring buffer's contents after printing.
-n LEVEL Sets console logging to level LEVEL.
-s SIZE Use a buffer of size SIZE.

Command: dnsmasq
Location: /sbin
Type: Binary
Usage: dnsmasq [options]
Purpose: A caching DNS forwarder.
Option(s):
-A /DOMAIN/IPADDR Return ipaddr for all hosts in specified domains.
-a IPADDR Specify local address(es) to listen on.
-b Fake reverse lookups for RFC1918 private address ranges.
-B IPADDR Treat IPADDR as NXDOMAIN (defeats VeriSign wildcard).
-c CACHESIZE Specify the size of the cache in entries (defaults to 150).
-d Do NOT fork into the background: run in debug mode.
-D Do NOT forward queries with no domain part.
-e Return self-pointing MX records for local hosts.
-E Expand simple names in /etc/hosts with domain-suffix.
-f Don't forward spurious DNS requests from Windows hosts.
-g GROUPNAME Change to this group after startup (defaults to dip).
-h Do NOT load /etc/hosts file.
-H PATH Specify a hosts file to be read in addition to /etc/hosts.
-i INTERFACE Specify interface(s) to listen on.
-I INTERFACE Specify interface(s) NOT to listen on.
-L Return MX records for local hosts.
-l PATH Specify the path to the DHCP lease file.
-m HOST_NAME Specify the MX name to reply to.
-n Do NOT poll /etc/resolv.conf file, reload only on SIGHUP.
-N Do NOT cache failed search results.
-o Use nameservers strictly in the order given in /etc/resolv.conf.
-p PORT Specify port to listen for DNS requests on (defaults to 53).
-q Log queries.
-Q PORT Force the originating port for upstream queries.
-R Do NOT read resolv.conf.
-r PATH Specify path to resolv.conf (defaults to /etc/resolv.conf).
-S /DOMAIN/IPADDR Specify address(es) of upstream servers with optional domains.
-s DOMAIN Specify the domain suffix which DHCP entries will use.
-t HOST_NAME Specify the host in an MX reply.
-T TTL Specify time-to-live in seconds for replies from /etc/hosts.
-u USERNAME Change to this user after startup (defaults to nobody).
-v Display version.
-w Display this message.
-x PATH Specify path of PID file (defaults to /var/dnsmasq.pid).

Command: dropbear
Location: /sbin
Type: Binary
Usage: dropbear [OPTIONS]
Purpose: Multicall binary that provides SSH server and client in addition to SFTP, Security key conversion and creation.
Option(s):
-d KEYFILE Use KEYFILE for the dss host key (default:/etc/dropbear.dss).
-E Log to stderr rather than syslog.
-F Don't fork into background.
-g Disable password logins for root.
-j Disable local port forwarding.
-p PORT Listen on specified tcp port, up to 10 can be specified (default 22 if none specified).
-r KEYFILE Use KEYFILE for the rsa host key (default:/etc/dropbear.rsa).
-s Disable password logins.
-w Disallow root logins.

Command: dropbearconvert
Location: /sbin
Type: Binary
Usage: dropbearconvert <INPUTTYPE> <OUTPUTTYPE> <INPUTFILE> <OUTPUTFILE>
Purpose: Convert private keys between Dropbear and OpenSSH format.

The input and output types are one of:
openssh
dropbear
Option(s): None.

Command: dropbearkey
Location: /sbin
Type: Binary
Usage: dropbearkey -t <TYPE> -f <FILENAME> [-s BITS]
Purpose: Create or display the dropbear keys.
Option(s):
-f FILENAME Use FILENAME for the secret key.
-s BITS Key size in bits, should be a multiple of 8 (optional).
-t TYPE Type of key to generate (rsa or dss).
-y Just print the public key and fingerprint for the private key in FILENAME.

Command: dyndns
Location: /bin
Type: Binary
Usage: dyndns [-f]
Purpose: This is a dynamic DNS client that will update dyndns.org, zoneedit, loopia, dhs, domain-dns, and is capable of being configured to support unsupported dynamic DNS servers.
Option(s):
-f Forces an update of your external IP address even if the status is already up to date.

Command: echo
Location: /bin
Type: Binary
Usage: echo [-neE] [ARG ...]
Purpose: Prints the specified ARGs to stdout.
Option(s):
-e Interpret backslash-escaped characters <i.e., \t=tab>.
-E Disable interpretation of backslash-escaped characters.
-n Suppress trailing newline.

Command: edit
Location: /bin
Type: Script
Usage: edit filename
Purpose: This script uses the editor listed in the advanced setup (default: edt) to edit files, except when finished it syncs the drive so changes are permanent and clears the screen.
Option(s): None.

Command: edt
Location: /sbin
Type: Binary
Usage: edt [-r] filename
Purpose: A simple file editor.
Option(s):
-r Read-Only mode. Will not allow any changes to be made.

Command: email
Location: /bin
Type: Script
Usage: email [[-messages] [-secure] [-infologs] [-netinfo] [-report]] [user@domain]
Purpose: Send logs through email.
If no email address is entered, the default email address in the configuration will be used.
Option(s): None.

Command: false
Location: /bin
Type: Binary
Usage: false
Purpose: Returns a false status for usage by shell scripts.
Option(s): None.

Command: find
Location: /bin
Type: Binary
Usage: find PATH -name PATTERN
find PATH -follow
find PATH -print
Purpose: Search for files in a directory hierarchy. The default PATH is the current directory; default EXPRESSION is '-print'.
Option(s):
-follow Dereference symbolic links.
-name PATTERN File name (leading directories removed) matches PATTERN.
-print Print (default and assumed).

Command: fork
Location: /sbin
Type: Binary
Usage: fork PROGRAM
Purpose: Starts an independent shell for the program to run in.
Option(s): None.

Command: fpenguin
Location: /bin
Type: Script
Usage: fpenguin [OPTIONS]
Purpose: Screen saver.

Use CRTL+c to terminate.
Option(s):
blogo Displays the boot logo with animated penguin and exits.
spage Displays the FREESCO logo and exits.

Command: free
Location: /bin
Type: Script
Usage: free
Purpose: Display all memory usage and disk usage.
Option(s): None.

Command: freetime
Location: /sbin
Type: Binary
Usage: freetime [OPTIONS]
Purpose: Used by the synctime script to correct the system clock.
Option(s):
-d Debug mode, shows additional info.
-n /PATH/FILE Set alternative location for ntpdate command (default is /bin/ntpdate).
-o /PATH/FILE Set alternative location for ntpdate result file (default is /tmp/freetime.dat).
-q Query.

Command: fromdos
Location: /bin
Type: Script
Usage: fromdos < Dos.file > Linux.file
Purpose: Converts files that are in DOS format to Linux format files.
Option(s): None.

Command: grep
Location: /bin
Type: Script
Usage: OUTPUT ¦ grep PATTERN
Purpose: Takes command OUTPUT and filters it to only display lines that match the specified PATTERN.
Option(s): None.

Command: gunzip
Location: /bin
Type: Binary
Usage: gunzip [OPTION]... FILE
Purpose: Uncompress FILE (or standard input if FILE is '-').
Option(s):
-c Write output to standard output.
-t Test compressed file integrity.

Command: gzip
Location: /bin
Type: Binary
Usage: gzip [OPTION] FILE
Purpose: Compress files.
Option(s):
-c Write output to standard output instead of FILE.gz.
-d Decompress.

Command: halt
Location: /sbin
Type: Binary
Usage: halt
Purpose: Stops the system so it can be turned off.
Option(s): None.

Command: hardinfo
Location: /bin
Type: Script
Usage: hardinfo
Purpose: Prints current detected hardware to stdout.
Option(s): None.

Command: hostname
Location: /bin