[root@Freesco]_ /bin directory commands date pkg chvt clock control ping htpasswd ifconfig ile ipautofw ipcalc ipfwadm ipportfw logger ntpdate route sed setserial sh tty login snarf utils beep insmod umssync mount connect dyndns arpf dir edit lsmod clr a: userlist ll runchk basename dirname hostname sysinfo report sysedit free grep ps minicom useradd useredit userdel netinfo uptime backup uname fromdos todos cp-rf crontab play listpkg installpkg removepkg arpmon umssetup udosctl rmmod chgrp chmod chown chroot clear dd df dmesg find false halt length ls math mkdir more mv pwd reboot sleep star touch tryopen true umount zcat /sbin directory commands = agetty crond chat daemon dhcpcd dhcpd diald edt fork freetime init isapnp klogd logrotate lpd mgetty oidentd pnpdump pppd pppoe pptp pptp_callmgr pure-ftpd syslogd dropbear thttpd tleds dnsmasq passwd smtpclient shapecfg dropbearkey ssh block_device fdflush loadkmap losetup mkswap swapon swapoff update killall load mode setspeed setup synctime rmlogs savelogs sendlogs dhcpcd-fld remotelog dhcpcd.update /bin/a: Script Usage: a: [/def/fdN] [/dev/fdNu1680] N is the actual number of the device. But for standard floppies on fd0 no other arguements are needed and the floppy will always be mounted to /mnt/fd. /bin/arpf Binary Usage: arpf [-i if] [-s] /bin/arpmon Script Usage: NONE, This script has no arguements. It is executed once and constantly monitors the local network for new machines anytime MAC addresses are used in the restrict.cfg file. /bin/backup Script Usage: backup 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 /bin/basename Script Usage: basename [dir]name.extension [.extension] 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 arguement. /bin/beep Binary Usage: beep [-f freq] [-l length] [-r reps] [-d delay] [-D delay] [-s] [-c] beep [Options...] [-n] [--new] [Options...] ... beep [-h] [--help] beep [-v] [-V] [--version] /bin/brcfg Binary Usage: brcfg -enable This binary should NOT be used directly from the command line and it is included into FREESCO's internal operations. /bin/chgrp Binary Usage: chgrp [-R] group-name file [file ...] The group list is kept in the file /etc/groups. -R: Recursively change the group of all files and directories under the argument directory. /bin/chmod Binary Usage: chmod [OPTION]... MODE[,MODE]... FILE... or: chmod [OPTION]... OCTAL_MODE FILE... -c, --changes like verbose but report only when a change is made -f, --silent, --quiet suppress most error messages -v, --verbose output a diagnostic for every file processed -R, --recursive change files and directories recursively --help display this help and exit --version output version information and exit Each MODE is one or more of the letters ugoa, one of the symbols +-= and one or more of the letters rwxXstugo. /bin/chown Binary Usage: chown [-R] user-name file [file ...] The group list is kept in the file /etc/groups. -R: Recursively change the mode of all files and directories under the argument directory. /bin/chroot Binary usage: chroot directory program [arg ...] Changes the root directory of the current user or program. /bin/chvt Binary Usage: chvt N N is defined as a number representing the /dev/ttyN and the command changes the current displayed terminal. /bin/clear Binary Usage: clear Clears the current display of all text. /bin/clock Usage: clock [-u] -r|w|s|a|v|J|A r: read and print CMOS clock w: Write CMOS clock from system time s: set system time from CMOS clock a: get system time and adjust CMOS clock u: CMOS clock is in universal time v: print version (1.6) and exit /bin/clr Script Usage: clr This is a shortcut to the binary "clear" /bin/connect Script Usage: None This is a script used internally by FREESCO for dialup connections. /bin/control Script Usage: control Command Command: force/unforce Bring up the link continuously. block/unblock Block outgoing calls. Also brings the link down. up/down Force the link up/down. debug Set the diald debug flags. See diald manpage for values. delay-quit Terminate diald as the link next goes idle. quit Force the link down and exit diald. reset Force diald to reread its configuration. If configuration incorrect, diald will terminate with an error condition. queue Force diald to to print the contents of the filter queue to the syslog. /bin/cp-rf Script Usage: cp-rf /dir1 /dir2 This script recursively copies directopries and sub directories from dir1 to dir2 /bin/crontab Script Usage: crontab [-e] or [-l] -e Edits the crontab entries. -l Lists all current crontab entries. /bin/date 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 builtin "date" command that does not have the below options availible. Display the current time in the given FORMAT, or set the system date. -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 --help display this help and exit --version output version information and exit FORMAT controls the output. The only valid option for the second form specifies Coordinated Universal Time. Interpreted sequences are: %% 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 ( 0..23) %l hour ( 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 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 /bin/dd Binary Usage: dd [OPTION]... Copy a file, converting and formatting according to the options. bs=BYTES force ibs=BYTES and obs=BYTES cbs=BYTES convert BYTES bytes at a time conv=KEYWORDS convert the file as per the comma separated keyword list count=BLOCKS copy only BLOCKS input blocks ibs=BYTES read BYTES bytes at a time if=FILE read from FILE instead of stdin obs=BYTES write BYTES bytes at a time of=FILE write to FILE instead of stdout, don't truncate file seek=BLOCKS skip BLOCKS obs-sized blocks at start of output skip=BLOCKS skip BLOCKS ibs-sized blocks at start of input --help display this help and exit --version output version information and exit BYTES may be suffixed: by xM for multiplication by M, by c for x1, by w for x2, by b for x512, by k for x1024. Each KEYWORD may be: ascii from EBCDIC to ASCII ebcdic from ASCII to EBCDIC ibm from ASCII to alternated EBCDIC block pad newline-terminated records with spaces to cbs-size unblock replace trailing spaces in cbs-size records with newline lcase change upper case to lower case ucase change lower case to upper case swab swap every pair of input bytes noerror continue after read errors sync pad every input block with NULs to ibs-size /bin/df Binary Usage: df [file system] Displays the disk usage of all file systems or specific file systems if specified. /bin/dir Script Usage: dir [dirname] Prints files in a six column display with executables marked with a "*". /bin/dirname Script Usage: dirname /dir/filename.extension Seperates only the directory from the full directory and file name. /bin/dmesg Binary Usage: dmesg Displays kernel logged messages. /bin/dyndns Script Usage: dyndns [-f] -f forces an update of your external IP address even if the status is already up to date. /bin/edit Script Usage: edit filename This script uses the edt binary to edit files, except when finished it syncs the drive so changes are permanet and clears the screen. /bin/false Binary Usage: false Returns a false status for usage by shell scripts. /bin/find Binary Usage: find dir[pattern] Finds specified by the pattern. /bin/free Script Usage: free Display all memory usage a disk usage. /bin/fromdos Script Usage: fromdos < Dos.file > Linux.file Converts files that are in DOS format to Linux format files. /bin/grep Script Usage: OUTPUT | grep PATTERN Takes command OUTPUT and filters it to only display lines that match the specified PATTERN. /bin/halt Binary Usage: halt Stops the system so it can be turned off. /bin/hostname Script Usage: hostname Returns the name and domain of the current system. /bin/htpasswd Binary Usage: htpasswd [-c] passwordfile username The -c flag creates a new file. /bin/ifconfig Binary Usage: ifconfig [device] [options] Displays and controls network interfaces. options: [up down] [(IP address)] [netmask (nn.nnn.nnn.nnn)] /bin/ile Binary Usage: ile Enables command line history for the ash shell. /bin/insmod Binary Usage: insmod [-fkmopsvVxX] [-o name] module [[sym=value]...] module Filename of a loadable kernel module (*.o) -f Force loading under wrong kernel version -k Make module (autoclean)-able -m Generate loadmap (so crashes can be traced) -o name Set internal modulname to name -p Poll mode, just check if the module matches the kernel -s Report errors via syslog -v Verbose output -V Show version -x do *not* export externs -X *do* export externs /bin/installpkg Script Usage; NONE /bin/ipautofw Binary Usage: ipautofw COMMAND -r TYPE nn xx -h yyy.yy.yy.yy COMMAND must be either -A -D or -F TYPE must be either udp or tcp -F flushes all current ipautofw forwards. -A adds forward to the list. -D deletes specified forward from the list. -r Port range from nn to xx -h host IP address to forward ports to. /bin/ipcalc Binary Usage: ipcalc NETMASK IPADDRESS Returns the network IP address and the broadcast IP address. /bin/ipfwadm Binary Usage: ipfwadm -A [direction] command [options] (accounting) ipfwadm -F command [options] (forwarding firewall) ipfwadm -I command [options] (input firewall) ipfwadm -O command [options] (output firewall) ipfwadm -M [-s | -l] [options] (masquerading entries) ipfwadm -h (print this help information)) Commands: -i [policy] insert rule (no policy for accounting rules) -a [policy] append rule (no policy for accounting rules) -d [policy] delete rule (no policy for accounting rules) -l list all rules of this category -z reset packet/byte counters of all rules of this category -f remove all rules of this category -p policy change default policy (accept/deny/reject) -s tcp tcpfin udp set masuerading timeout values -c check acceptance of IP packet Options: -P protocol (either tcp, udp, icmp, or all) -S address[/mask][port ...] source specification -D address[/mask] [port ...]destination specification -V address network interface address -W name network interface name -b bidirectional match -e extended output mode -k match TCP packets only when ACK set -m masquerade packets as coming from local host -n numeric output of addresses and ports -o turn on kernel logging for matching packets -r [port] redirect packets to local port (transparent proxying) -t and xor and/xor masks for TOS field -v verbose mode -x expand numbers (display exact values) -y match TCP packets only when SYN set and ACK cleared /bin/ipportfw Binary Usage: ipportfw -A -[t|u] l.l.l.l/lport -R a.a.a.a/rport add entry ipportfw -D -[t|u] l.l.l.l/lport delete entry ipportfw -C clear table ipportfw -L list table l.l.l.l is the local interface receiving packets to be forwarded. a.a.a.a is the remote address. lport is the port being redirected. rport is the port being redirected to. /bin/lenght Binary Usage: length variable Returns the lenght of the "variable" as an integer. /bin/listpkg Script Usage: NONE /bin/ll Script Usage: ll [dir] Long file listing format. /bin/logger Binary Usage: logger [-is] [-f file] [-p pri] [-t tag] [ message ... ] /bin/login Binary usage: login [-fp] [username] /bin/ls Binary Usage: ls [-1acdelnpuxACF] [filenames...] /bin/lsmod Script Usage: lsmod List all currently loaded kernel modules. /bin/math Binary Usage: math NN NN OPTION OPTIONS: add sub mul div /bin/minicom Script Usage: minicom [/dev/cua?] [SPEED] SPEED: The speed the serial port should be accessed at. /bin/mkdir Binary Usage: mkdir new-dir-name /bin/more Binary Usage: OUTPUT | more Breaks output into single pages for viewing. /bin/mount Binary Usage: mount [-hV] mount -a [-nfFrsvw] [-t vfstypes] mount [-nfrsvw][-o options] special | node mount [-nfrsvw] [-t vfstype] [-o options] special node A special device can be indicated by -L label or -U uuid . /bin/mv Binary Usage: mv file1 file2 Usage: mv dir1 dir2 NOTE: the mv command will not move files or directories across devices. /bin/netinfo Script Usage: netinfo Displays all kinds of various network information. /bin/ntpdate Binary Usage: ntpdate [-bBdqsv] [-a key#] [-e delay] [-k file] [-p samples][-o version#] [-r rate] [-t timeo] server /bin/ping Binary usage: ping [-LRdfnqrv] [-c count] [-i wait] [-l preload] [-p pattern][-s packetsize] [-t ttl] [-I interface address] host /bin/ps Script Usage: ps Displays a list of all running processes /bin/pkg Script Usage: pkg CMD ARGs CMD: -c Check URL for available packages list. -i Install package from URL or DIR. -r Install package from URL or DIR onto ramdisk!!! The -r option runs without any questions. -u Uninstall package NAME. -l Show list and descriptions of installed packages. -s Download package from URL and save in DIR. URL: http://www.dom use given http or ftp://ftp.dom or ftp site /dir/file use local disk -/ alias for http://default-web-site/ Examples: pkg -c -/ # Get packages list from default site pkg -c ftp://my.ftp.dom/pub/ # Get packages list from ftp server pkg -i -/mc # Install mc from home site pkg -i http://www.dom/mc # Install mc from http server pkg -i /mnt/hd/dir/mc # Install mc from /mnt/hd/dir pkg -u mc # Uninstall mc pkg -s -/mc /mnt/hd/dir # Download mc from home site and save # in /mnt/hd/dir. pkg -s http://www.dom/mc # Download from www.dom and save in # the default save directory. /bin/play Script Usage: play TEMPO 'NOTE1 NOTE2 NOTE3 ...' Where: TEMPO is how many 1/4 notes in 1 second. NOTES one or more notations like: 2c3 4#a1 or 8.d2 Syntax: Duration Dot Chars encode Octave of note note 1 - 1/1 increase a - lya 0 2 - 1/2 duration #a or da - lya diez 1 4 - 1/4 in 1.5 b - si 2 8 - 1/6 times c - do 3 16 - 1/16 #c or dc - do diez 32 - 1/32 d - re #d or dd - re diez e - mi f - fa #f or df - fa diez g - sol #g or dg - sol diez - or p - pause NOTE1: Don't forget to enclose NOTES in single quotes. NOTE1: Notition is the same that is used in Nokia mobile phones, so you can copy melody from your phone or internet. /bin/pwd Binary Usage: pwd Displayes the current directory. /bin/reboot Binary Usage: reboot Reboot FREESCO /bin/removepkg Script Usage: NONE /bin/report Script Usage: report [options] Gives a complete system report. Options can be any executable commands. Multipart single commands must be inside "" quotes. /bin/rmmod Binary Usage: rmmod module-name Removes a module from the kernel. /bin/route Binary Usage: route [-nv] route [-v] del target route [-v] add {-net|-host} target [gw gateway] [metric NN] [netmask mask] [mss maxsegment] [window maxwindow] [[dev] device] /bin/runchk Script Usage: runchk program Returns either a 0 exit code if the program is currently running or a 1 if it is not running. /bin/sed Binary Usage: sed [-nV] [--quiet] [--silent] [--version] [-e script] [-f script-file] [--expression=script] [--file=script-file] [file...] /bin/setserial Binary usage: setserial serial-device [cmd1 [arg]] ... commands:(*= Takes an argument) (^ = can be preceded by a '^' to turn off the option) * port set the I/O port * irq set the interrupt * uart set UART type (none, 8250, 16450, 16550, 16550A * baud_base set base baud rate (CLOCK_FREQ / 16) * divisor set the custom divisor (see spd_custom) * close_delay set the amount of time (in 1/100 of a second) that DTR should be kept low while being closed * closing_wait set the amount of time (in 1/100 of a second) that the serial port should wait for data to be drained while being closed, before the reciver is disabled * closing_wait2 set the amount of time (in 1/100 of a second) that the serial port should wait for data to be drained while being closed, after the reciver is disabled ^ fourport configure the port as an AST Fourport autoconfigure automatically configure the serial port ^ auto_irq try to determine irq during autoconfiguration ^ skip_test skip UART test during autoconfiguration ^ sak set the break key as the Secure Attention Key ^ session_lockout Lock out callout port across different sessions ^ pgrp_lockout Lock out callout port across different process groups ^ callout_nohup Don't hangup the tty when carrier detect drops on the callout device ^ split_termios Use separate termios for callout and dailin lines ^ hup_notify Notify a process blocked on opening a dial in line get_multiport Display the multiport configuration set_multiport Set the multiport configuration when a process has finished using a callout line by returning EAGAIN to the open. spd_hi use 56kb instead of 38.4kb spd_vhi use 115kb instead of 38.4kb spd_cust use the custom divisor to set the speed at 38.4kb (baud rate = baud_base / custom_divisor) spd_normal use 38.4kb when a buad rate of 38.4kb is selected Use a leading '0x' for hex numbers. CAUTION: Using an invalid port can lock up your machine! /bin/sh Binary usage: /bin/sh Basic ash shell that all FREESCO scripts use. /bin/sleep Binary Usage: sleep N N is defined in seconds and will pause for N seconds. /bin/snarf Binary usage: snarf [OPTIONS] URL [OUTFILE] ... Options: -a Force active FTP (default is passive) -v Verbose; print anything the server sends -q Don't print progress bars (compiled default is on) -p Force printing of progress bars (overrides -q) -r Resume downloading a partially transferred file -n Ignore '-r' and transfer file in its entirety -m Spoof MSIE user-agent string -z Spoof Navigator user-agent string Lowercase option letters only affect the URLs that immediately follow them. If you give an option in caps, it will be the default option for all URLs that follow it. If you specify the outfile as '-', the file will be printed to standard output as it downloads. You can have as many URLs and outfiles as you want You can specify a username and password for ftp or http authentication. The format is: ftp://username:password@host/ If you don't specify a password, you will be prompted for one. snarf checks the SNARF_PROXY, FTP_PROXY, GOPHER_PROXY, HTTP_PROXY, and PROXY environment variables. /bin/star Binary Usage: OUTPUT | star Extracts a tar archive from the OUTPUT /bin/sysedit Script Usagge: sysedit Edits the primary configuration file and copies it afterwards so that changes will survive a reboot. /bin/sysinfo Script Usage: sysinfo Outputs primary system information. /bin/todos Script Usage: todos < Linux.file > Dos.file Converts files that are in Linux format to Dos format files. /bin/touch Binary Usage: touch file [file ...] Update the last-modified date on the given file[s]. /bin/true Binary Usage: true [OPTION]... --help display this help and exit --version output version information and exit /bin/tryopen Binary Usage: tryopen [-r] file [file ...] /bin/tty Binary Usage: tty [OPTION]... Prints the file name of the connected console. OPTION: -s, --silentm, --quiet print nothing, only return an exit status --help display this help and exit --version output version information and exit /bin/udosctl Binary Usage: udosctl command argument udosctl ls directory_path udosctl create file_name udosctl mkdir directory_name udosctl rm file_path udosctl rmdir directory_path udosctl uls directory_path udosctl urm file_path udosctl urmdir directory_path udosctl stat file_path udosctl version udosctl is part of the umsdos file system /bin/umount Binary Usage: umount [device|dir] UN-mounts a device. /bin/umssetup Binary Usage: umssetup [ options ] dir_path Set the default permissions and owner of files in DOS directories. UMSDOS directory are not affected. -ggroup : group id for entry creation -mmode : Permission bits (in octal) (Set the default mode, not the umask) -uuser : user id for entry creation dir_path is normally a mount point. It does not matter.Note that the change apply to all DOS directories (and files in those) of the same partition as dir_path. This utility is normally used on the root partition at boot time, since it is not possible to pass mount option. When mounting other umsdos partitions, you can use all msdos option (see mount(8)) such as uid=,gid=,umask= *** This utility may be used at any time but its effect may be delayed because of the some kernel internal caching (inode). Better use it immediatly after the mount. If you need to play often with permissions and owner, use umssync to promote directory to full Unix capabilities. /bin/umssync Binary Usage: umssync [ options ] dir_path [ [ options ] dir_path ... ] -c : Conditionnal mode sync a directory only if it contain a --linux-.--- file. -dmode : directory creation mode -fmode : file creation mode -ggroup : group id for entry creation -i- : Do not inherit ownership from parent directory -i+ : Inherit from parent -rN : Recurse N level of subdirectory -RN : Allow recursion through N directories that do not contain a --linux-.--- file. -uuser : user id for entry creation -v- : Silent operation -v+ : Verbose operation /bin/uname Script Usage: uname Displays the current kernel information. /bin/uptime Script Usage: uptime Display the current system uptime and load average /bin/useradd Script Usage: useradd [user-name] Add a user to the system /bin/useredit Script Usage: useredit [user-name] Edit an existing system user /bin/userdel Script Usage: userdel [user-name] Remove an existing system user /bin/userlist Script Usage: userlist List all system users /bin/utils Script Usage: NONE This is the primary multifunction script for the /bin directory. /bin/zcat Binary Usage: zcat < compressed.gz > uncompressed /sbin/= Script Usage: = [option] Options: $? 0 1 "text" This command is used to print "Done" or "XXXX" inside of startup scripts. /sbin/agetty Binary Usage: ./agetty [-hiLmw] [-l login_program] [-t timeout] [-I initstring] baud_rate,... line [termtype] or [-hiLmw] [-l login_program] [-t timeout] [-I initstring] line baud_rate,... [termtype] /sbin/block_device binary Usage: block_device mount-point /sbin/chat Binary Usage: ./chat [-e] [-E] [-v] [-V] [-t timeout] [-r report-file] [-T phone-number] [-U phone-number2] {-f chat-file |chat-script} /sbin/crond Binary Usage: crond -d[#] -l[#] -f -b -c dir /sbin/daemon Script Usage: deamon program /sbin/dhcpcd Binary Usage: dhcpcd [-dknrBCDHNRSTY] [-l leasetime] [-h hostname] [-t timeout] [-i vendorClassID] [-I ClientID] [-c filename] [-s [ipaddr]] [-w windowsize] [-L ConfigDir] [-G [gateway]] [interface] /sbin/dhcpcd-fld Script Usage: NONE /sbin/dhcpcd.update Script Usage: NONE /sbin/dhcpd Binary Usage: dhcpd [-p udp port="" #=""] [-d] [-f] [-cf config-file] [-lf lease-file] [-pf pidfile] [if0 [...ifN]] /sbin/diald Binary Usage: diald [modem-device1] [modem-device2 ...] [options...] [-- [pppd options...]] Options: -f file -file file include file -m [ppp|slip|cslip|slip6|cslip6|aslip|dev] mode [ppp|slip|cslip|slip6|cslip6|aslip|dev] debug debugmask -daemon accounting-log f pidfile f fifo f window n mtu m mru m local ip-address remote ip-address netmask ip-address dynamic strict-forwarding dslip-mode mode defaultroute addroute delroute proxyarp ip-up ip-down reroute -reroute keepalive <0-255> outfill <0-255> device device connect disconnect lock speed baudrate modem crtscts rotate-devices lock-prefix path pidstring -pidstring run-prefix path path-route path path-ifconfig path path-bootpc path path-pppd path buffer-packets -buffer-packets buffer_size buffer-fifo-dispose -buffer-fifo-dispose buffer-timeout N route-wait two-way give-way connect-timeout N disconnect-timeout N redial-timeout N nodev-retry-timeout N stop-dial-timeout N kill-timeout N start-pppd-timeout N stop-pppd-timeout N first-packet-timeout N retry-count N died-retry-count N redial-backoff-start N redial-backoff-limit N dial-fail-limit N prule name protocol spec var name spec restrict start-time end-time weekday day month -restrict start-time end-time weekday day month bringup protocol-rule timeout packet-rule keepup protocol-rule timeout packet-rule accept protocol-rule timeout packet-rule ignore protocol-rule packet-rule impulse [duration,fuzz|duration1,duration2,fuzz] up down flushfilters flushprules flushvars /sbin/dnsmasq Binary Usage: dnsmasq [options] Options: -a, ipaddr Specify local address(es) to listen on. -A, /domain/ipaddr Return ipaddr for all hosts in specified domains. -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, int Specify interface(s) NOT to listen on. -l, path Specify the path to the DHCP lease file. -L, Return MX records for local hosts. -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, number Specify port to listen for DNS requests on (defaults to 53). -q, Log queries. -Q, number 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, time Specify time-to-live in seconds for replies from /etc/hosts. -u, username Change to this user after startup. (defaults to nobody). -v, Display dnsmasq version. -w, Display this message. -x, path Specify path of PID file.(defaults to /var/dnsmasq.pid). /sbin/dropbear Binary Usage: ./dropbear [options] Options: -d dsskeyfile Use dsskeyfile for the dss host key (default:/etc/dropbear.dss) -r rsakeyfile Use rsakeyfile forthe rsa host key (default: /etc/dropbear.rsa) -F Don't fork into background -E Log to stderr rather than syslog -w Disallow root logins -s Disable password logins -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) /sbin/dropbearkey Binary Usage: ./dropbearkey -t -f [-s bits] Options: -t type Type of key to generate. One of: rsa dss -f filename Use filename for the secret key -s bits Key size in bits, should be a multiple of 8 (optional) -y Just print the publickey and fingerprint for the private key in . /sbin/edt Binary Usage: edt filename edt is a simple file editor. /sbin/fdflush Binary Usage: fdflush device /sbin/fork Binary Usage: fork program Starts an independent shell for the program to run in. /sbin/freetime Binary Usage: freetime [options] Options: -h this message -v print version and exit -d debug mode, shows additional info -n set alternative location for ntpdate command default is /bin/ntpdate. Must honour the -q option (query) -o set alternative location for ntpdate result file default is /tmp/freetime.dat /sbin/init Binary Usage: NONE /sbin/isapnp Binary Usage: isapnp config-file The config-file is generated with pnpdump. /sbin/killall Script Usage: killall program [flag] The default flag is -2 if none are specified. Flags are 1 through 15 /sbin/klogd Binary Usage: klogd [options] Options: -c N Sets the default log level of console messages to N. -d Enable debugging mode. This will generate LOTS of output to stderr. -f file Log messages to the specified filename rather than to the syslog facility. -i -I Signal the currently executing klogd daemon. Both of these switches control the loading/reloading of symbol information. The -i switch signals the daemon to reload the kernel module symbols. The -I switch signals for a reload of both the static kernel symbols and the kernel module symbols. -n Avoid auto-backgrounding. This is needed especially if the klogd is started and controlled by init. -o Execute in 'one-shot' mode. This causes klogd to read and log all the messages that are found in the kernel message buffers. After a single read and log cycle the daemon exits. -p Enable paranoia. This option controls when klogd loads kernel module symbol information. Setting this switch causes klogd to load the kernel module symbol information whenever an Oops string is detected in the kernel message stream. -s Force klogd to use the system call interface to the kernel message buffers. -k file Use the specified file as the source of kernel symbol information. -v Print version and exit. -x Omits EIP translation and there doesn't read the System.map. /sbin/load Binary Usage: load program-code Load machuine code and initialize new commands. /sbin/loadkmap Binary Usage: loadkmap key-map-file /sbin/logrotate Script Usage: NONE /sbin/losetup Binary Usage: losetup losetup loop_device give info losetup -d loop_device delete losetup [ -o offset ] loop_device file setup /sbin/lpd Binary Usage: lpd -n netmask -p port -r rawque -f feedque -o output -t timeout netmask : Network mask for job acceptance - default: 192.168.0 all Will grant all IP's access to the lpd (Not recomended) port : TCP/IP port in decimal - default: 515 rawque : Name of Raw print queue name - default: nt feedque : Name of FormFeed print queue name - default: lp output : Name of Output File/Device name - default: /dev/lp timeout : Seconds of no data received from a - default: 300 seconds client before timing out. /sbin/mgetty Script Usage: NONE /sbin/miterm Binary Usage: miterm [-s speed] [-l line] [-e escape-char] /sbin/mkswap Binary Usage: mkswap [-c] [-v0|-v1] /dev/name [blocks] /sbin/mode Script Usage: mode [option] Options: ethenet Switch to ethernet router mode. dialup Switch to dialup mode and the default ISP. dialup ISP-name Switch to dilaup with given ISP. leased Switch to leased line router. bridge Switch to bridge mode. default Switch to default router mode. /sbin/oidentd Binary Usage: oidentd Options -a Bind to. (Defaults to INADDR_ANY) -A When spoofing is enabled, enable users to spoof ident on connections to privileged ports. -c Specify an alternate charset. (Defaults to "US-ASCII") -d Enable debugging. -e Return "UNKNOWN-ERROR" for all errors. -f Forward requests for masqueraded hosts to the host on -F Same as -f, but always use the default port (113) by default -g Run with specified gid. -i Run from inetd. -m Enable support for IP masquerading. -n Return UIDs instead of usernames -N Allow identd hiding via ".noident" -o Return "OTHER" instead of the operating system. -p Listen for connections on specified port. (Defaults to auth) -q Suppress normal logging. -P host acts as a proxy, forwarding connections to us. -r Randomize identd replies. Note: The -n and -r options are incompatible. -s Allow identd spoofing. -S Same as -s but allow all users but those listed in /etc/identd.spoof to spoof replies. -t Wait for before closing connection. (Defaults to 15) -T oidentd will remain accepting connections when run with -w for . -u Run with specified uid. -v/-V Display version information and exit. -w Wait mode. -x If a query fails, pretend it succeeded, returning -W oidentd is wrapped. (tcp wrappers) -h This help message. /sbin/passwd Binary Usage: passwd user-name Changes a users password. /sbin/pnpdump Binary Usage: pnpdump >file-name Creates the base configuration file for all ISA PnP cards. /sbin/pppd Binary Usage: pppd [ options ], Where options are: device device Communicate over the named device baud N Set the baud rate to : IP:IP Set the local and/or remote interface IP addresses. Either one may be omitted. asyncmap Set the desired async map to hex auth Require authentication from peer connect port port gid port host seconds seconds seconds seconds uid string string device speed speed loc loc speed speed device string string uid seconds seconds seconds seconds host port gid port port Invoke shell command to set up the serial line crtscts Use hardware RTS/CTS flow control defaultroute Add default route through interface file. Take options from file modem Use modem control lines mru Set MRU value to for negotiation /sbin/pppoe Binary Usage: pppoe [options] Options: -I if_name -- Specify interface (default eth0.) -T timeout -- Specify inactivity timeout in seconds. -D filename -- Log debugging information in filename. -V -- Print version and exit. -A -- Print access concentrator names and exit. -S name -- Set desired service name. -C name -- Set desired access concentrator name. -U -- Use Host-Unique to allow multiple PPPoE sessions. -s -- Use synchronous PPP encapsulation. -m MSS -- Clamp incoming and outgoing MSS options. -p pidfile -- Write process-ID to pidfile. -e sess:mac -- Skip discovery phase; use existing session. -n -- Do not open discovery socket. -k --Kill a session with PADT (requires -e) -d -- Perform discovery, print session info and exit. -f disc:sess -- Set Ethernet frame types (hex). -h -- Print usage information. /sbin/pptp Binary Usage: NONE /sbin/pptp_callmgr Binary Usage: NONE /sbin/pure-ftpd Binary Usage: pure-ftpd [options] Options: -1 log pid -4 ipv 4 only -A chroot everyone -a trusted gid -b broken clients compatibility -B daemonize -c max clients number -C max clients per ip -d verbose log -D display dot files -e anonymous only -E no anonymous -f syslog facility -F fortunesfile -g pid file -G no rename -h help -H dont resolve -I max idle time -i anonymous cant upload -j create home dir -k max disk usage pct -K keep all files -l login -L limit recursion -M anonymous can create dirs -m max load -N nat mode -n quota -o upload script -O alt log -p passive port range -P force passive ip -q anonymous ratio -Q user ratio -r auto rename -R no chmod -s antiwarez -S bind -t anonymous bandwidth -T user bandwidth -U umask -u min uid -V trusted ip -w allow user fxp -W allow anonymous fxp -x prohibit dot files write -X prohibit dot files read -y per user limits -z allow dot files -Z customer proof /sbin/remotelog Script Usage: remotelog This script is intended to be used in a SSH session remotely to parse the logs in real time to the screen. Use "CTRL+c" to terminate. /sbin/rmlogs Script Usage: rmlogs N N represents the Number of days in the past to keep logs. /sbin/savelogs Script Usage: savelogs Saves the current logs to /home/root/var/ directory with a date and time stamp ammended to the file name. /sbin/sendlogs Script Usage: sendlogs Emails the current logs to the predefined email address. This requires that the mailing address and mail server have already been setup. /sbin/setspeed Script Usage: setspeed line speed /sbin/setup Script Usage: setup Shell wrapper that uncompresses /boot/setup.gz and runs it. /sbin/shapecfg Binary Usage: shapecfg attach shapecfg speed /sbin/smtpclient Binary Usage: smtp [options] recipients...Message Header Options: -s, --subject=STR subject line of message -f, --from=ADDR address of the sender -r, --reply-to=ADDR address of the sender for replies -e, --errors-to=ADDR address to send delivery errors to -c, --carbon-copy=ADDR address to send copy of message to Processing -S, --smtp-host=HOST host where MTA can be contacted via SMTP -P, --smtp-port=NUM port where MTA can be contacted via SMTP -M, --mime-encode use MIME-style translation to quoted-printable -L, --use-syslog log errors to syslog facility instead of stderr Giving Feedback: -v, --verbose enable verbose logging messages -V, --version display version string -h, --help display this page /sbin/ssh Binary Usage: ./ssh [options][user@]host Options: -p -t Allocate a pty -T Don't allocate a pty -i (multiple allowed) -L Local port forwarding -R Remote port forwarding -l /sbin/swapoff Binary Usage: swapoff block-device Stop swapping virtual memory pages on the given device. /sbin/swapon Binary Usage: swapon block-device Swap virtual memory pages on the given device. /sbin/synctime Script Usage: synctime Synchronize the time with the predefined time server. /sbin/syslogd Binary Usage: syslogd [-drvh] [-l hostlist] [-m markinterval] [-n] [-p path] [-s domainlist] [-f conffile] /sbin/thttpd Binary Usage: thttpd [-C configfile] [-p port] [-d dir] [-r|-nor] [-dd data_dir] [-s|-nos] [-v|-nov] [-g|-nog] [-u user] [-c cgipat][-t throttles] [-h host] [-l logfile] [-i pidfile] [-T charset] [-P P3P] [-M maxage] [-V] [-D] /sbin/tleds Usage: tleds [-bchkqv] [-d ] Example: tleds -d 300 ppp0 Options: -b Don't go to the background. -c Fix the CapsLED in VTs. Only for EUID root. -d N Set update delay. N must be between 1 and 10000 (milliseconds) -h Help. (this) -k Kill (old) (x)tleds running. -q Be quiet. -v Print version information. (`cat /proc/net/dev` to see your interfaces.) /sbin/update Binary Usage: update Flush buffered data to the disk devices every 30 seconds. I hope this page is found usefull., Lewis Baughman Updated 9/15/05