[root@Freesco]_/sbin/=
/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. debugSet 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
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
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.
Script
Usage: rmlogs N
N represents the Number of days in
the past to keep
logs.
Script
Usage: savelogs
Saves the current logs to
/home/root/var/ directory
with a date and time stamp ammended to the file name.
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.
Script
Usage: setspeed line
speed
Script
Usage: setup
Shell wrapper that uncompresses
/boot/setup.gz and runs it.
Binary
Usage:
shapecfg attach
shapecfg speed
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
Binary
Usage: ./ssh
[options][user@]host
Options:
-p
-T Don't
allocate a pty
-i
-L
-R
-l
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.
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]
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
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.)
Binary
Usage: update
Flush buffered data to the disk
devices every 30 seconds.
I hope this page is found usefull.,
Lewis Baughman