telnet commands...

  • some of the commands:



    [, [[, acpid, addgroup, adduser, adjtimex, ar, arp, arping, ash,
    awk, basename, beep, blkid, brctl, bunzip2, bzcat, bzip2, cal, cat,
    catv, chat, chattr, chgrp, chmod, chown, chpasswd, chpst, chroot,
    chrt, chvt, cksum, clear, cmp, comm, cp, cpio, crond, crontab,
    cryptpw, cut, date, dc, dd, deallocvt, delgroup, deluser, depmod,
    devmem, df, dhcprelay, diff, dirname, dmesg, dnsd, dnsdomainname,
    dos2unix, dpkg, du, dumpkmap, dumpleases, echo, ed, egrep, eject,
    env, envdir, envuidgid, expand, expr, fakeidentd, false, fbset,
    fbsplash, fdflush, fdformat, fdisk, fgrep, find, findfs, flash_lock,
    flash_unlock, fold, free, freeramdisk, fsck, fsck.minix, fsync,
    ftpd, ftpget, ftpput, fuser, getopt, getty, grep, gunzip, gzip, hd,
    hdparm, head, hexdump, hostid, hostname, httpd, hush, hwclock, id,
    ifconfig, ifdown, ifenslave, ifplugd, ifup, inetd, init, inotifyd,
    insmod, install, ionice, ip, ipaddr, ipcalc, ipcrm, ipcs, iplink,
    iproute, iprule, iptunnel, kbd_mode, kill, killall, killall5, klogd,
    last, length, less, linux32, linux64, linuxrc, ln, loadfont,
    loadkmap, logger, login, logname, logread, losetup, lpd, lpq, lpr,
    ls, lsattr, lsmod, lzmacat, lzop, lzopcat, makemime, man, md5sum,
    mdev, mesg, microcom, mkdir, mkdosfs, mkfifo, mkfs.minix, mkfs.vfat,
    mknod, mkpasswd, mkswap, mktemp, modprobe, more, mount, mountpoint,
    mt, mv, nameif, nc, netstat, nice, nmeter, nohup, nslookup, od,
    openvt, passwd, patch, pgrep, pidof, ping, ping6, pipe_progress,
    pivot_root, pkill, popmaildir, printenv, printf, ps, pscan, pwd,
    raidautorun, rdate, rdev, readlink, readprofile, realpath,
    reformime, renice, reset, resize, rm, rmdir, rmmod, route, rpm,
    rpm2cpio, rtcwake, run-parts, runlevel, runsv, runsvdir, rx, script,
    scriptreplay, sed, sendmail, seq, setarch, setconsole, setfont,
    setkeycodes, setlogcons, setsid, setuidgid, sh, sha1sum, sha256sum,
    sha512sum, showkey, slattach, sleep, softlimit, sort, split,
    start-stop-daemon, stat, strings, stty, su, sulogin, sum, sv,
    svlogd, swapoff, swapon, switch_root, sync, sysctl, syslogd, tac,
    tail, tar, taskset, tcpsvd, tee, telnet, telnetd, test, tftp, tftpd,
    time, timeout, top, touch, tr, traceroute, true, tty, ttysize,
    udhcpc, udhcpd, udpsvd, umount, uname, uncompress, unexpand, uniq,
    unix2dos, unlzma, unlzop, unzip, uptime, usleep, uudecode, uuencode,
    vconfig, vi, vlock, volname, watch, watchdog, wc, wget, which, who,
    whoami, xargs, yes, zcat, zcip



    [HR][/HR]
    COMMAND DESCRIPTIONS



    acpid
    acpid [-d] [-c CONFDIR] [-l LOGFILE] [-e PROC_EVENT_FILE] [EVDEV_EVENT_FILE...]


    Listen to ACPI events and spawn specific helpers on event arrival


    Options:


    -d Do not daemonize and log to stderr
    -c DIR Config directory [/etc/acpi]
    -e FILE /proc event file [/proc/acpi/event]
    -l FILE Log file [/var/log/acpid]
    Accept and ignore compatibility options -g -m -s -S -v


    addgroup
    addgroup [-g GID] [user_name] group_name


    Add a group or add a user to a group


    Options:


    -g GID Group id
    -S Create a system group

    adduser

    adduser [OPTIONS] user_name


    Add a user


    Options:


    -h DIR Home directory
    -g GECOS GECOS field
    -s SHELL Login shell
    -G GRP Add user to existing group
    -S Create a system user
    -D Do not assign a password
    -H Do not create home directory
    -u UID User id

    adjtimex

    adjtimex [-q] [-o offset] [-f frequency] [-p timeconstant] [-t tick]


    Read and optionally set system timebase parameters. See adjtimex(2).


    Options:


    -q Quiet
    -o offset Time offset, microseconds
    -f frequency Frequency adjust, integer kernel units (65536 is 1ppm)
    (positive values make clock run faster)
    -t tick Microseconds per tick, usually 10000
    -p timeconstant

    ar

    ar [-o] [-v] [-p] [-t] [-x] ARCHIVE FILES

    Extract or list FILES from an ar archive


    Options:


    -o Preserve original dates
    -p Extract to stdout
    -t List
    -x Extract
    -v Verbose

    arp




    Manipulate ARP cache


    Options:


    -a Display (all) hosts
    -s Set new ARP entry
    -d Delete a specified entry
    -v Verbose
    -n Don't resolve names
    -i IF Network interface
    -D Read from given device
    -A, -p AF Protocol family
    -H HWTYPE Hardware address type

    arping

    arping [-fqbDUA] [-c count] [-w timeout] [-I dev] [-s sender] target


    Send ARP requests/replies


    Options:


    -f Quit on first ARP reply
    -q Quiet
    -b Keep broadcasting, don't go unicast
    -D Duplicated address detection mode
    -U Unsolicited ARP mode, update your neighbors
    -A ARP answer mode, update your neighbors
    -c N Stop after sending N ARP requests
    -w timeout Time to wait for ARP reply, in seconds
    -I dev Interface to use (default eth0)
    -s sender Sender IP address
    target Target IP address

    awk

    awk [OPTIONS] [AWK_PROGRAM] [FILE]...


    Options:


    -v VAR=VAL Set variable
    -F SEP Use SEP as field separator
    -f FILE Read program from file

    basename

    basename FILE [SUFFIX]


    Strip directory path and .SUFFIX from FILE


    beep
    beep -f freq -l length -d delay -r repetitions -n


    Options:


    -f Frequency in Hz
    -l Length in ms
    -d Delay in ms
    -r Repetitions
    -n Start new tone

    blkid

    blkid


    Print UUIDs of all filesystems



    brctl

    brctl COMMAND [BRIDGE [INTERFACE]]


    Manage ethernet bridges


    Commands:


    show Show a list of bridges
    addbr BRIDGE Create BRIDGE
    delbr BRIDGE Delete BRIDGE
    addif BRIDGE IFACE Add IFACE to BRIDGE
    delif BRIDGE IFACE Delete IFACE from BRIDGE
    setageing BRIDGE TIME Set ageing time
    setfd BRIDGE TIME Set bridge forward delay
    sethello BRIDGE TIME Set hello time
    setmaxage BRIDGE TIME Set max message age
    setpathcost BRIDGE COST Set path cost
    setportprio BRIDGE PRIO Set port priority
    setbridgeprio BRIDGE PRIO Set bridge priority
    stp BRIDGE [1|0] STP on/off

    bunzip2

    bunzip2 [OPTIONS] [FILE]


    Uncompress FILE (or standard input if FILE is '-' or omitted)


    Options:


    -c Write to standard output
    -f Force

    bzcat

    bzcat FILE


    Uncompress to stdout



    bzip2

    bzip2 [OPTIONS] [FILE]...


    Compress FILE(s) with bzip2 algorithm.
    When FILE is '-' or unspecified, reads standard input. Implies -c.


    Options:


    -c Write to standard output
    -d Decompress
    -f Force
    -1..-9 Compression level

    cal

    cal [-jy] [[month] year]


    Display a calendar


    Options:


    -j Use julian dates
    -y Display the entire year

    cat

    cat [-u] [FILE]...


    Concatenate FILE(s) and print them to stdout


    Options:


    -u Use unbuffered i/o (ignored)

    catv

    catv [-etv] [FILE]...


    Display nonprinting characters as ^x or M-x


    Options:


    -e End each line with $
    -t Show tabs as ^I
    -v Don't use ^x or M-x escapes

    chat

    chat EXPECT [SEND [EXPECT [SEND...]]]


    Useful for interacting with a modem connected to stdin/stdout.
    A script consists of one or more "expect-send" pairs of strings,
    each pair is a pair of arguments. Example:
    chat '' ATZ OK ATD123456 CONNECT '' ogin: pppuser word: ppppass '~'



    chattr

    chattr [-R] [- =AacDdijsStTu] [-v version] files...


    Change file attributes on an ext2 fs


    Modifiers:


    - Remove attributes
    Add attributes
    = Set attributes
    Attributes:
    A Don't track atime
    a Append mode only
    c Enable compress
    D Write dir contents synchronously
    d Do not backup with dump
    i Cannot be modified (immutable)
    j Write all data to journal first
    s Zero disk storage when deleted
    S Write file contents synchronously
    t Disable tail-merging of partial blocks with other files
    u Allow file to be undeleted
    Options:
    -R Recursively list subdirectories
    -v Set the file's version/generation number

    chgrp

    chgrp [-RhLHPcvf]... GROUP FILE...


    Change the group membership of each FILE to GROUP


    Options:


    -R Recurse
    -h Affect symlinks instead of symlink targets
    -L Traverse all symlinks to directories
    -H Traverse symlinks on command line only
    -P Do not traverse symlinks (default)
    -c List changed files
    -v Verbose
    -f Hide errors

    chmod

    chmod [-Rcvf] MODE[,MODE]... FILE...


    Each MODE is one or more of the letters ugoa, one of the
    symbols -= and one or more of the letters rwxst


    Options:


    -R Recurse
    -c List changed files
    -v List all files
    -f Hide errors

    chown

    chown [-RhLHPcvf]... OWNER[<.|:>[GROUP]] FILE...


    Change the owner and/or group of each FILE to OWNER and/or GROUP


    Options:


    -R Recurse
    -h Affect symlinks instead of symlink targets
    -L Traverse all symlinks to directories
    -H Traverse symlinks on command line only
    -P Do not traverse symlinks (default)
    -c List changed files
    -v List all files
    -f Hide errors

    chpasswd

    chpasswd [--md5|--encrypted]


    Read user:password from stdin and update /etc/passwd


    Options:


    -e,--encrypted Supplied passwords are in encrypted form
    -m,--md5 Use MD5 encryption instead of DES

    chpst




    Change the process state and run PROG


    Options:


    -u USER[:GRP] Set uid and gid
    -U USER[:GRP] Set $UID and $GID in environment
    -e DIR Set environment variables as specified by files
    in DIR: file=1st_line_of_file
    -/ DIR Chroot to DIR
    -n NICE Add NICE to nice value
    -m BYTES Same as -d BYTES -s BYTES -l BYTES
    -d BYTES Limit data segment
    -o N Limit number of open files per process
    -p N Limit number of processes per uid
    -f BYTES Limit output file sizes
    -c BYTES Limit core file size
    -v Verbose
    -P Create new process group
    -0 Close standard input
    -1 Close standard output
    -2 Close standard error

    chroot

    chroot NEWROOT [PROG [ARGS]]


    Run PROG with root directory set to NEWROOT


    chrt
    chrt [OPTIONS] [PRIO] [PID | PROG [ARGS]]


    Manipulate real-time attributes of a process


    Options:


    -p Operate on pid
    -r Set scheduling policy to SCHED_RR
    -f Set scheduling policy to SCHED_FIFO
    -o Set scheduling policy to SCHED_OTHER
    -m Show min and max priorities

    chvt

    chvt N


    Change the foreground virtual terminal to /dev/ttyN


    cksum
    cksum FILES...


    Calculate the CRC32 checksums of FILES


    clear
    clear


    Clear screen



    cmp

    cmp [-l] [-s] FILE1 [FILE2 [SKIP1 [SKIP2]]]


    Compares FILE1 vs stdin if FILE2 is not specified


    Options:


    -l Write the byte numbers (decimal) and values (octal)
    for all differing bytes
    -s Quiet

    comm

    comm [-123] FILE1 FILE2


    Compare FILE1 to FILE2, or to stdin if - is specified


    Options:


    -1 Suppress lines unique to FILE1
    -2 Suppress lines unique to FILE2
    -3 Suppress lines common to both files

    cp

    cp [OPTIONS] SOURCE DEST


    Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY


    Options:


    -a Same as -dpR
    -d,-P Preserve links
    -H,-L Dereference all symlinks (default)
    -p Preserve file attributes if possible
    -f Force overwrite
    -i Prompt before overwrite
    -R,-r Recurse
    -l,-s Create (sym)links

    cpio

    cpio -[tiopdmvu] [-F FILE] [-H newc]


    Extract or list files from a cpio archive, or create a cpio archive
    Main operation mode:


    -t List
    -i Extract
    -o Create
    -p Passthrough
    Options:
    -d Make leading directories
    -m Preserve mtime
    -v Verbose
    -u Overwrite
    -F Input file
    -H Define format

    crond

    crond -fbS -l N -d N -L LOGFILE -c DIR


    -f Foreground
    -b Background (default)
    -S Log to syslog (default)
    -l Set log level. 0 is the most verbose, default 8
    -d Set log level, log to stderr
    -L Log to file
    -c Working dir

    crontab

    crontab [-c DIR] [-u USER] [-ler]|[FILE]


    -c Crontab directory
    -u User
    -l List crontab
    -e Edit crontab
    -r Delete crontab
    FILE Replace crontab by FILE ('-': stdin)

    cryptpw

    cryptpw [OPTIONS] [PASSWORD] [SALT]


    Crypt the PASSWORD using crypt(3)


    Options:


    -P,--password-fd=NUM Read password from fd NUM
    -m,--method=TYPE Encryption method TYPE
    -S,--salt=SALT

    cut

    cut [OPTIONS] [FILE]...


    Print selected fields from each input FILE to standard output


    Options:


    -b LIST Output only bytes from LIST
    -c LIST Output only characters from LIST
    -d CHAR Use CHAR instead of tab as the field delimiter
    -s Output only the lines containing delimiter
    -f N Print only these fields
    -n Ignored

    date

    date [OPTIONS] [ FMT] [TIME]


    Display time (using FMT), or set time


    Options:


    [-s] TIME Set time to TIME
    -u Work in UTC (don't convert to local time)
    -R Output RFC-822 compliant date string
    -I[SPEC] Output ISO-8601 compliant date string
    SPEC='date' (default) for date only,
    'hours', 'minutes', or 'seconds' for date and
    time to the indicated precision
    -r FILE Display last modification time of FILE
    -d TIME Display TIME, not 'now'
    -D FMT Use FMT for -d TIME conversion
    Recognized TIME formats:


    hh:mm[:ss]
    [YYYY.]MM.DD-hh:mm[:ss]
    YYYY-MM-DD hh:mm[:ss]
    [[[[[YY]YY]MM]DD]hh]mm[.ss]

    dc

    dc expression...


    Tiny RPN calculator. Operations:
    , add, -, sub, *, mul, /, div, %, mod, **, exp, and, or, not, eor,
    p - print top of the stack (without altering the stack),
    f - print entire stack, o - pop the value and set output radix
    (value must be 10 or 16).
    Examples: 'dc 2 2 add' -> 4, 'dc 8 8 * 2 2 /' -> 16.



    dd




    Copy a file with converting and formatting


    Options:


    if=FILE Read from FILE instead of stdin
    of=FILE Write to FILE instead of stdout
    bs=N Read and write N bytes at a time
    ibs=N Read N bytes at a time
    obs=N Write N bytes at a time
    count=N Copy only N input blocks
    skip=N Skip N input blocks
    seek=N Skip N output blocks
    conv=notrunc Don't truncate output file
    conv=noerror Continue after read errors
    conv=sync Pad blocks with zeros
    conv=fsync Physically write data out before finishing
    Numbers may be suffixed by c (x1), w (x2), b (x512), kD (x1000), k (x1024),
    MD (x1000000), M (x1048576), GD (x1000000000) or G (x1073741824)



    deallocvt

    deallocvt [N]


    Deallocate unused virtual terminal /dev/ttyN



    delgroup

    delgroup [USER] GROUP


    Delete group GROUP from the system or user USER from group GROUP



    deluser

    deluser USER


    Delete USER from the system



    devmem

    devmem ADDRESS [WIDTH [VALUE]]


    Read/write from physical address


    ADDRESS Address to act upon
    WIDTH Width (8/16/...)
    VALUE Data to be written

    df

    df [-Pkmhai] [-B SIZE] [FILESYSTEM...]


    Print filesystem usage statistics


    Options:


    -P POSIX output format
    -k 1024-byte blocks (default)
    -m 1M-byte blocks
    -h Human readable (e.g. 1K 243M 2G)
    -a Show all filesystems
    -i Inodes
    -B SIZE Blocksize

    dhcprelay

    dhcprelay CLIENT_IFACE[,CLIENT_IFACE2...] SERVER_IFACE [SERVER_IP]


    Relay DHCP requests between clients and server



    diff

    diff [-abdiNqrTstw] [-L LABEL] [-S FILE] [-U LINES] FILE1 FILE2


    Compare files line by line and output the differences between them.
    This implementation supports unified diffs only.


    Options:


    -a Treat all files as text
    -b Ignore changes in the amount of whitespace
    -d Try hard to find a smaller set of changes
    -i Ignore case differences
    -L Use LABEL instead of the filename in the unified header
    -N Treat absent files as empty
    -q Output only whether files differ
    -r Recursively compare subdirectories
    -S Start with FILE when comparing directories
    -T Make tabs line up by prefixing a tab when necessary
    -s Report when two files are the same
    -t Expand tabs to spaces in output
    -U Output LINES lines of context
    -w Ignore all whitespace

    dirname

    dirname FILENAME


    Strip non-directory suffix from FILENAME



    dmesg

    dmesg [-c] [-n LEVEL] [-s SIZE]


    Print or control the kernel ring buffer


    Options:


    -c Clear ring buffer after printing
    -n LEVEL Set console logging level
    -s SIZE Buffer size

    dnsd

    dnsd [-c config] [-t seconds] [-p port] [-i iface-ip] [-d]


    Small static DNS server daemon


    Options:


    -c Config filename
    -t TTL in seconds
    -p Listening port
    -i Listening ip (default all)
    -d Daemonize

    dos2unix

    dos2unix [OPTION] [FILE]


    Convert FILE in-place from DOS to Unix format.
    When no file is given, use stdin/stdout.


    Options:


    -u dos2unix
    -d unix2dos

    dpkg

    dpkg [-ilCPru] [-F option] package_name


    Install, remove and manage Debian packages


    Options:


    -i Install the package
    -l List of installed packages
    -C Configure an unpackaged package
    -F depends Ignore dependency problems
    -P Purge all files of a package
    -r Remove all but the configuration files for a package
    -u Unpack a package, but don't configure it

    du

    du [-aHLdclsxhmk] [FILE]...


    Summarize disk space used for each FILE and/or directory.
    Disk space is printed in units of 1024 bytes.


    Options:


    -a Show file sizes too
    -H Follow symlinks on command line
    -L Follow all symlinks
    -d N Limit output to directories (and files with -a) of depth < N
    -c Show grand total
    -l Count sizes many times if hard linked
    -s Display only a total for each argument
    -x Skip directories on different filesystems
    -h Sizes in human readable format (e.g., 1K 243M 2G )
    -m Sizes in megabytes
    -k Sizes in kilobytes (default)

    dumpkmap

    dumpkmap > keymap


    Print a binary keyboard translation table to standard output



    dumpleases

    dumpleases [-r|-a] [-f LEASEFILE]


    Display DHCP leases granted by udhcpd


    Options:


    -f,--file=FILE Leases file to load
    -r,--remaining Interpret lease times as time remaining
    -a,--absolute Interpret lease times as expire time

    echo

    echo [-neE] [ARG...]


    Print the specified ARGs to stdout


    Options:


    -n Suppress trailing newline
    -e Interpret backslash-escaped characters (i.e., \t=tab)
    -E Disable interpretation of backslash-escaped characters

    ed

    ed


    eject
    eject [-t] [-T] [DEVICE]


    Eject specified DEVICE (or default /dev/cdrom)


    Options:


    -s SCSI device
    -t Close tray
    -T Open/close tray (toggle)

    env

    env [-iu] [-] [name=value]... [PROG [ARGS]]


    Print the current environment or run PROG after setting up
    the specified environment


    Options:


    -, -i Start with an empty environment
    -u Remove variable from the environment
    envdir
    envdir dir prog args


    Set various environment variables as specified by files
    in the directory dir and run PROG



    envuidgid

    envuidgid account prog args


    Set $UID to account's uid and $GID to account's gid and run PROG



    expand

    expand [-i] [-t NUM] [FILE|-]


    Convert tabs to spaces, writing to standard output


    Options:


    -i,--initial Do not convert tabs after non blanks
    -t,--tabs=N Tabstops every N chars

    expr

    expr EXPRESSION


    Print the value of EXPRESSION to standard output


    EXPRESSION may be:


    ARG1 | ARG2 ARG1 if it is neither null nor 0, otherwise ARG2
    ARG1 & ARG2 ARG1 if neither argument is null or 0, otherwise 0
    ARG1 < ARG2 1 if ARG1 is less than ARG2, else 0. Similarly:
    ARG1 <= ARG2
    ARG1 = ARG2
    ARG1 != ARG2
    ARG1 >= ARG2
    ARG1 > ARG2
    ARG1 ARG2 Sum of ARG1 and ARG2. Similarly:
    ARG1 - ARG2
    ARG1 * ARG2
    ARG1 / ARG2
    ARG1 % ARG2
    STRING : REGEXP Anchored pattern match of REGEXP in STRING
    match STRING REGEXP Same as STRING : REGEXP
    substr STRING POS LENGTH Substring of STRING, POS counted from 1
    index STRING CHARS Index in STRING where any CHARS is found, or 0
    length STRING Length of STRING
    quote TOKEN Interpret TOKEN as a string, even if
    it is a keyword like 'match' or an
    operator like '/'
    (EXPRESSION) Value of EXPRESSION
    Beware that many operators need to be escaped or quoted for shells.
    Comparisons are arithmetic if both ARGs are numbers, else
    lexicographical. Pattern matches return the string matched between
    \( and \) or null; if \( and \) are not used, they return the number
    of characters matched or 0.



    fakeidentd

    fakeidentd [-fiw] [-b ADDR] [STRING]


    Provide fake ident (auth) service


    Options:


    -f Run in foreground
    -i Inetd mode
    -w Inetd 'wait' mode
    -b ADDR Bind to specified address
    STRING Ident answer string (default: nobody)

    false

    false


    Return an exit code of FALSE (1)



    fbset

    fbset [OPTIONS] [MODE]


    Show and modify frame buffer settings



    fbsplash

    fbsplash -s IMGFILE [-c] [-d DEV] [-i INIFILE] [-f CMD]


    Options:


    -s Image
    -c Hide cursor
    -d Framebuffer device (default /dev/fb0)
    -i Config file (var=value):
    BAR_LEFT,BAR_TOP,BAR_WIDTH,BAR_HEIGHT
    BAR_R,BAR_G,BAR_B
    -f Control pipe (else exit after drawing image)
    commands: 'NN' (% for progress bar) or 'exit'

    fdflush

    fdflush DEVICE


    Force floppy disk drive to detect disk change


    fdformat
    fdformat [-n] DEVICE


    Format floppy disk


    Options:


    -n Don't verify after format

    fdisk

    fdisk [-ul] [-C CYLINDERS] [-H HEADS] [-S SECTORS] [-b SSZ] DISK


    Change partition table


    Options:


    -u Start and End are in sectors (instead of cylinders)
    -l Show partition table for each DISK, then exit
    -b 2048 (for certain MO disks) use 2048-byte sectors
    -C CYLINDERS Set number of cylinders/heads/sectors
    -H HEADS
    -S SECTORS

    find

    find [PATH...] [EXPRESSION]


    Search for files. The default PATH is the current directory,
    default EXPRESSION is '-print'


    EXPRESSION may consist of:


    -follow Dereference symlinks
    -xdev Don't descend directories on other filesystems
    -maxdepth N Descend at most N levels. -maxdepth 0 applies
    tests/actions to command line arguments only
    -mindepth N Do not act on first N levels
    -name PATTERN File name (w/o directory name) matches PATTERN
    -iname PATTERN Case insensitive -name
    -path PATTERN Path matches PATTERN
    -regex PATTERN Path matches regex PATTERN
    -type X File type is X (X is one of: f,d,l,b,c,...)
    -perm NNN Permissions match any of ( NNN), all of (-NNN),
    or exactly (NNN)
    -mtime DAYS Modified time is greater than ( N), less than (-N),
    or exactly (N) days
    -mmin MINS Modified time is greater than ( N), less than (-N),
    or exactly (N) minutes
    -newer FILE Modified time is more recent than FILE's
    -inum N File has inode number N
    -user NAME File is owned by user NAME (numeric user ID allowed)
    -group NAME File belongs to group NAME (numeric group ID allowed)
    -depth Process directory name after traversing it
    -size N[bck] File size is N (c:bytes,k:kbytes,b:512 bytes(def.)).
    /-N: file size is bigger/smaller than N
    -print Print (default and assumed)
    -print0 Delimit output with null characters rather than
    newlines
    -exec CMD ARG ; Run CMD with all instances of {} replaced by the
    matching files
    -prune Stop traversing current subtree
    -delete Delete files, turns on -depth option
    (EXPR) Group an expression

    findfs

    findfs LABEL=label or UUID=uuid


    Find a filesystem device based on a label or UUID



    flash_lock

    flash_lock MTD_DEVICE OFFSET SECTORS


    Lock part or all of an MTD device. If SECTORS is -1, then all sectors
    will be locked, regardless of the value of OFFSET


    flash_unlock
    flash_unlock MTD_DEVICE


    Unlock an MTD device


    fold
    fold [-bs] [-w WIDTH] [FILE]


    Wrap input lines in each FILE (standard input by default), writing to
    standard output


    Options:


    -b Count bytes rather than columns
    -s Break at spaces
    -w Use WIDTH columns instead of 80

    free

    free


    Display the amount of free and used system memory


    freeramdisk
    freeramdisk DEVICE


    Free all memory used by the specified ramdisk


    fsck
    fsck [-ANPRTV] [-C fd] [-t fstype] [fs-options] [filesys...]


    Check and repair filesystems


    Options:


    -A Walk /etc/fstab and check all filesystems
    -N Don't execute, just show what would be done
    -P With -A, check filesystems in parallel
    -R With -A, skip the root filesystem
    -T Don't show title on startup
    -V Verbose
    -C n Write status information to specified filedescriptor
    -t type List of filesystem types to check

    fsck.minix

    fsck.minix [-larvsmf] /dev/name


    Check MINIX filesystem


    Options:


    -l List all filenames
    -r Perform interactive repairs
    -a Perform automatic repairs
    -v Verbose
    -s Output superblock information
    -m Show "mode not cleared" warnings
    -f Force file system check

    fsync

    fsync [OPTIONS] FILE...Write files' buffered blocks to disk


    Options:


    -d Avoid syncing metadata

    ftpd

    ftpd [-wvS] [-t N] [-T N] [DIR]


    Anonymous FTP server


    ftpd should be used as an inetd service.
    ftpd's line for inetd.conf:
    21 stream tcp nowait root ftpd ftpd /files/to/serve
    It also can be ran from tcpsvd:


    tcpsvd -vE 0.0.0.0 21 ftpd /files/to/serve
    Options:


    -w Allow upload
    -v Log to stderr
    -S Log to syslog
    -t,-T Idle and absolute timeouts
    DIR Change root to this directory

    ftpget

    ftpget [OPTIONS] HOST LOCAL_FILE REMOTE_FILE


    Retrieve a remote file via FTP


    Options:


    -c,--continue Continue previous transfer
    -v,--verbose Verbose
    -u,--username Username
    -p,--password Password
    -P,--port Port number

    ftpput

    ftpput [OPTIONS] HOST REMOTE_FILE LOCAL_FILE


    Store a local file on a remote machine via FTP


    Options:


    -v,--verbose Verbose
    -u,--username Username
    -p,--password Password
    -P,--port Port number

    fuser

    fuser [OPTIONS] FILE or PORT/PROTO


    Find processes which use FILEs or PORTs


    Options:


    -m Find processes which use same fs as FILEs
    -4 Search only IPv4 space
    -6 Search only IPv6 space
    -s Silent: just exit with 0 if any processes are found
    -k Kill found processes (otherwise display PIDs)
    -SIGNAL Signal to send (default: TERM)

    getopt

    getopt [OPTIONS]


    Options:


    -a,--alternative Allow long options starting with single -
    -l,--longoptions=longopts Long options to be recognized
    -n,--name=progname The name under which errors are reported
    -o,--options=optstring Short options to be recognized
    -q,--quiet Disable error reporting by getopt(3)
    -Q,--quiet-output No normal output
    -s,--shell=shell Set shell quoting conventions
    -T,--test Test for getopt(1) version
    -u,--unquoted Don't quote the output

    getty

    getty [OPTIONS] BAUD_RATE TTY [TERMTYPE]


    Open a tty, prompt for a login name, then invoke /bin/login


    Options:


    -h Enable hardware (RTS/CTS) flow control
    -i Do not display /etc/issue before running login
    -L Local line, do not do carrier detect
    -m Get baud rate from modem's CONNECT status message
    -w Wait for a CR or LF before sending /etc/issue
    -n Do not prompt the user for a login name
    -f ISSUE_FILE Display ISSUE_FILE instead of /etc/issue
    -l LOGIN Invoke LOGIN instead of /bin/login
    -t SEC Terminate after SEC if no username is read
    -I INITSTR Send INITSTR before anything else
    -H HOST Log HOST into the utmp file as the hostname

    grep

    grep [-HhrilLnqvsoweFEABCz] PATTERN [FILE]...


    Search for PATTERN in each FILE or standard input


    Options:


    -H Prefix output lines with filename where match was found
    -h Suppress the prefixing filename on output
    -r Recurse
    -i Ignore case distinctions
    -l List names of files that match
    -L List names of files that do not match
    -n Print line number with output lines
    -q Quiet. Return 0 if PATTERN is found, 1 otherwise
    -v Select non-matching lines
    -s Suppress file open/read error messages
    -c Only print count of matching lines
    -o Show only the part of a line that matches PATTERN
    -m MAX Match up to MAX times per file
    -w Match whole words only
    -F PATTERN is a set of newline-separated strings
    -E PATTERN is an extended regular expression
    -e PTRN Pattern to match
    -f FILE Read pattern from file
    -A Print NUM lines of trailing context
    -B Print NUM lines of leading context
    -C Print NUM lines of output context
    -z Input is NUL terminated

    gunzip

    gunzip [OPTIONS] [FILE]...


    Uncompress FILEs (or standard input)


    Options:


    -c Write to standard output
    -f Force
    -t Test file integrity

    gzip

    gzip [OPTIONS] [FILE]...


    Compress FILEs (or standard input)


    Options:


    -c Write to standard output
    -d Decompress
    -f Force

    hd

    hd FILE...


    hd is an alias for hexdump -C


    hdparm
    hdparm [OPTIONS] [DEVICE]


    Options:


    -a Get/set fs readahead
    -A Set drive read-lookahead flag (0/1)
    -b Get/set bus state (0 == off, 1 == on, 2 == tristate)
    -B Set Advanced Power Management setting (1-255)
    -c Get/set IDE 32-bit IO setting
    -C Check IDE power mode status
    -d Get/set using_dma flag
    -D Enable/disable drive defect-mgmt
    -f Flush buffer cache for device on exit
    -g Display drive geometry
    -h Display terse usage information
    -i Display drive identification
    -I Detailed/current information directly from drive
    -k Get/set keep_settings_over_reset flag (0/1)
    -K Set drive keep_features_over_reset flag (0/1)
    -L Set drive doorlock (0/1) (rem***ble harddisks only)
    -m Get/set multiple sector count
    -n Get/set ignore-write-errors flag (0/1)
    -p Set PIO mode on IDE interface chipset (0,1,2,3,4,...)
    -P Set drive prefetch count
    -Q Get/set DMA tagged-queuing depth (if supported)
    -r Get/set readonly flag (DANGEROUS to set)
    -R Register an IDE interface (DANGEROUS)
    -S Set standby (spindown) timeout
    -t Perform device read timings
    -T Perform cache read timings
    -u Get/set unmaskirq flag (0/1)
    -U Un-register an IDE interface (DANGEROUS)
    -v Defaults; same as -mcudkrag for IDE drives
    -V Display program version and exit immediately
    -w Perform device reset (DANGEROUS)
    -W Set drive write-caching flag (0/1) (DANGEROUS)
    -x Tristate device for hotswap (0/1) (DANGEROUS)
    -X Set IDE xfer mode (DANGEROUS)
    -y Put IDE drive in standby mode
    -Y Put IDE drive to sleep
    -Z Disable Seagate auto-powersaving mode
    -z Re-read partition table

    head

    head [OPTIONS] [FILE]...


    Print first 10 lines of each FILE to standard output.
    With more than one FILE, precede each with a header giving the
    file name. With no FILE, or when FILE is -, read standard input.


    Options:


    -n NUM Print first NUM lines instead of first 10
    -c NUM Output the first NUM bytes
    -q Never output headers giving file names
    -v Always output headers giving file names

    hexdump

    hexdump [-bcCdefnosvxR] FILE...


    Display file(s) or standard input in a user specified format


    Options:


    -b One-byte octal display
    -c One-byte character display
    -C Canonical hex ASCII, 16 bytes per line
    -d Two-byte decimal display
    -e FORMAT STRING
    -f FORMAT FILE
    -n LENGTH Interpret only LENGTH bytes of input
    -o Two-byte octal display
    -s OFFSET Skip OFFSET bytes
    -v Display all input data
    -x Two-byte hexadecimal display
    -R Reverse of 'hexdump -Cv'

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!