2010年4月21日 星期三

SVN check in(android)

local - mkdir an empty folder
svn - check out
tar src code into the folder
# svn add *
#find . -name *.so |xargs svn add


2010年3月21日 星期日

SVN check in

1. create empty folder
2. check it out
3 copy source code to it ,
4 find . -name *.so|svn add

2010年3月17日 星期三

useful linux commands

mandDescription
apropos whatisShow commands pertinent to string. See alsothreadsafe
man -t man | ps2pdf - > man.pdfmake a pdf of a manual page
which commandShow full path name of command
time commandSee how long a command takes
time catStart stopwatch. Ctrl-d to stop. See also sw
nice infoRun a low priority command (The "info" reader in this case)
renice 19 -p $$Make shell (script) low priority. Use for non interactive tasks
dir navigation
cd -Go to previous directory
cdGo to $HOME directory
(cd dir && command)Go to dir, execute command and return to current dir
pushd .Put current dir on stack so you can popd back to it
alias l='ls -l --color=auto'quick dir listing
ls -lrtList files by date. See also newest andfind_mm_yyyy
ls /usr/bin | pr -T9 -W$COLUMNSPrint in 9 columns to width of terminal
find -name '*.[ch]' | xargs grep -E 'expr'Search 'expr' in this dir and below. See also findrepo
find -type f -print0 | xargs -r0 grep -F 'example'Search all regular files for 'example' in this dir and below
find -maxdepth 1 -type f | xargs grep -F 'example'Search all regular files for 'example' in this dir
find -maxdepth 1 -type d | while read dir; do echo $dir; echo cmd2; doneProcess each item with multiple commands (in while loop)
find -type f ! -perm -444Find files not readable by all (useful for web site)
find -type d ! -perm -111Find dirs not accessible by all (useful for web site)
locate -r 'file[^/]*\.txt'Search cached index for names. This re is like glob *file*.txt
look referenceQuickly search (sorted) dictionary for prefix
grep --color reference /usr/share/dict/wordsHighlight occurances of regular expression in dictionary
archives and compression
gpg -c fileEncrypt file
gpg file.gpgDecrypt file
tar -c dir/ | bzip2 > dir.tar.bz2Make compressed archive of dir/
bzip2 -dc dir.tar.bz2 | tar -xExtract archive (use gzip instead of bzip2 for tar.gz files)
tar -c dir/ | gzip | gpg -c | ssh user@remote 'dd of=dir.tar.gz.gpg'Make encrypted archive of dir/ on remote machine
find dir/ -name '*.txt' | tar -c --files-from=- | bzip2 > dir_txt.tar.bz2Make archive of subset of dir/ and below
find dir/ -name '*.txt' | xargs cp -a --target-directory=dir_txt/ --parentsMake copy of subset of dir/ and below
( tar -c /dir/to/copy ) | ( cd /where/to/ && tar -x -p )Copy (with permissions) copy/ dir to /where/to/ dir
( cd /dir/to/copy && tar -c . ) | ( cd /where/to/ && tar -x -p )Copy (with permissions) contents of copy/ dir to /where/to/
( tar -c /dir/to/copy ) | ssh -C user@remote 'cd /where/to/ && tar -x -p'Copy (with permissions) copy/ dir to remote:/where/to/ dir
dd bs=1M if=/dev/sda | gzip | ssh user@remote 'dd of=sda.gz'Backup harddisk to remote machine
rsync (Network efficient file copier: Use the --dry-run option for testing)
rsync -P rsync://rsync.server.com/path/to/file fileOnly get diffs. Do multiple times for troublesome downloads
rsync --bwlimit=1000 fromfile tofileLocally copy with rate limit. It's like nice for I/O
rsync -az -e ssh --delete ~/public_html/ remote.com:'~/public_html'Mirror web site (using compression and encryption)
rsync -auz -e ssh remote:/dir/ . && rsync -auz -e ssh . remote:/dir/Synchronize current directory with remote one
ssh (Secure SHell)
ssh $USER@$HOST commandRun command on $HOST as $USER (default command=shell)
ssh -f -Y $USER@$HOSTNAME xeyesRun GUI command on $HOSTNAME as $USER
scp -p -r $USER@$HOST: file dir/Copy with permissions to $USER's home directory on $HOST
ssh -g -L 8080:localhost:80 root@$HOSTForward connections to $HOSTNAME:8080 out to $HOST:80
ssh -R 1434:imap:143 root@$HOSTForward connections from $HOST:1434 in to imap:143
wget (multi purpose download tool)
(cd dir/ && wget -nd -pHEKk http://www.pixelbeat.org/cmdline.html)Store local browsable version of a page to the current dir
wget -c http://www.example.com/large.fileContinue downloading a partially downloaded file
wget -r -nd -np -l1 -A '*.jpg' http://www.example.com/dir/Download a set of files to the current directory
wget ftp://remote/file[1-9].iso/FTP supports globbing directly
wget -q -O- http://www.pixelbeat.org/timeline.html | grep 'a href' | headProcess output directly
echo 'wget url' | at 01:00Download url at 1AM to current dir
wget --limit-rate=20k urlDo a low priority download (limit to 20KB/s in this case)
wget -nv --spider --force-html -i bookmarks.htmlCheck links in a file
wget --mirror http://www.example.com/Efficiently update a local copy of a site (handy from cron)
networking (Note ifconfig, route, mii-tool, nslookup commands are obsolete)
ethtool eth0Show status of ethernet interface eth0
ethtool --change eth0 autoneg off speed 100 duplex fullManually set ethernet interface speed
iwconfig eth1Show status of wireless interface eth1
iwconfig eth1 rate 1Mb/s fixedManually set wireless interface speed
iwlist scanList wireless networks in range
ip link showList network interfaces
ip link set dev eth0 name wanRename interface eth0 to wan
ip link set dev eth0 upBring interface eth0 up (or down)
ip addr showList addresses for interfaces
ip addr add 1.2.3.4/24 brd + dev eth0Add (or del) ip and mask (255.255.255.0)
ip route showList routing table
ip route add default via 1.2.3.254Set default gateway to 1.2.3.254
tc qdisc add dev lo root handle 1:0 netem delay 20msecAdd 20ms latency to loopback device (for testing)
tc qdisc del dev lo rootRemove latency added above
host pixelbeat.orgLookup DNS ip address for name or vice versa
hostname -iLookup local ip address (equivalent to host `hostname`)
whois pixelbeat.orgLookup whois info for hostname or ip address
netstat -tuplList internet services on a system
netstat -tupList active connections to/from system
windows networking (Note samba is the package that provides all this windows specific networking support)
smbtreeFind windows machines. See also findsmb
nmblookup -A 1.2.3.4Find the windows (netbios) name associated with ip address
smbclient -L windows_boxList shares on windows machine or samba server
mount -t smbfs -o fmask=666,guest //windows_box/share /mnt/shareMount a windows share
echo 'message' | smbclient -M windows_boxSend popup to windows machine (off by default in XP sp2)
text manipulation (Note sed uses stdin and stdout. Newer versions support inplace editing with the -i option)
sed 's/string1/string2/g'Replace string1 with string2
sed 's/\(.*\)1/\12/g'Modify anystring1 to anystring2
sed '/ *#/d; /^ *$/d'Remove comments and blank lines
sed ':a; /\\$/N; s/\\\n//; ta'Concatenate lines with trailing \
sed 's/[ \t]*$//'Remove trailing spaces from lines
sed 's/\([`"$\]\)/\\\1/g'Escape shell metacharacters active within double quotes
seq 10 | sed "s/^/ /; s/ *\(.\{7,\}\)/\1/"Right align numbers
sed -n '1000{p;q}'Print 1000th line
sed -n '10,20p;20q'Print lines 10 to 20
sed -n 's/.*\(.*\)<\/title>.*/\1/ip;<acronym title="quit after match" style="font-variant: normal; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: initial; ">T;q</acronym>'</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Extract title from HTML web page</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "> </td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">sed -i 42d ~/.ssh/known_hosts</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Delete a particular line</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "> </td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">sort -t. -k1,1n -k2,2n -k3,3n -k4,4n</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Sort IPV4 ip addresses</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">echo 'Test' | tr '[:lower:]' '[:upper:]'</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Case conversion</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">tr -dc '[:print:]' < /dev/urandom</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Filter non printable characters</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">history | wc -l</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Count lines</td></tr><tr id="sets" class="pbtitle" style="background-color: rgb(180, 220, 100); "><td colspan="3" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "><b>set operations</b> (Note you can <a href="http://www.pixelbeat.org/docs/env.html" style="text-decoration: none; outline-style: none; ">export LANG=C</a> for speed. Also these assume no duplicate lines within a file)</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "> </td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">sort file1 file2 | uniq</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "><acronym title="Items in either file1 or file2" style="font-variant: normal; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: initial; ">Union</acronym> of unsorted files</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "> </td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">sort file1 file2 | uniq -d</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "><acronym title="Items both in file1 and file2" style="font-variant: normal; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: initial; ">Intersection</acronym> of unsorted files</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "> </td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">sort file1 file1 file2 | uniq -u</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "><acronym title="Items in file2 not in file1" style="font-variant: normal; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: initial; ">Difference</acronym> of unsorted files</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "> </td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">sort file1 file2 | uniq -u</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "><acronym title="Items in only one file" style="font-variant: normal; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: initial; ">Symmetric Difference</acronym> of unsorted files</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "> </td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">join <acronym title="process whole line (assuming no NUL characters present)" style="font-variant: normal; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: initial; ">-t'\0'</acronym> -a1 -a2 file1 file2</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Union of sorted files</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "> </td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">join -t'\0' file1 file2</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Intersection of sorted files</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "> </td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">join -t'\0' -v2 file1 file2</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Difference of sorted files</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "> </td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">join -t'\0' -v1 -v2 file1 file2</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Symmetric Difference of sorted files</td></tr><tr id="math" class="pbtitle" style="background-color: rgb(180, 220, 100); "><td colspan="3" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "><b>math</b></td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">echo '(1 + sqrt(5))/2' | bc -l</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Quick math (Calculate φ). See also <a href="http://www.pixelbeat.org/scripts/bc" style="text-decoration: none; outline-style: none; ">bc</a></td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">echo 'pad=20; min=64; (100*10^6)/((pad+min)*8)' | bc</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">More complex (int) e.g. This shows max FastE packet rate</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">echo 'pad=20; min=64; print (100E6)/((pad+min)*8)' | python</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Python handles scientific notation</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">echo 'pad=20; plot [64:1518] (100*10**6)/((pad+x)*8)' | gnuplot -persist</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Plot FastE packet rate vs packet size</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">echo 'obase=16; ibase=10; 64206' | bc</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Base conversion (decimal to hexadecimal)</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">echo $((0x2dec))</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Base conversion (hex to dec) ((shell arithmetic expansion))</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">units -t '100m/<a href="http://www.pixelbeat.org/misc/usain_bolt/" style="text-decoration: none; outline-style: none; ">9.58s</a>' 'miles/hour'</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Unit conversion (metric to imperial)</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">units -t '500GB' 'GiB'</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Unit conversion (<acronym title="powers of 10" style="font-variant: normal; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: initial; ">SI</acronym> to <acronym title="powers of 2" style="font-variant: normal; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: initial; ">IEC</acronym> prefixes)</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">units -t '1 googol'</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Definition lookup</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">seq 100 | (tr '\n' +; echo 0) | bc</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Add a column of numbers. See also <a href="http://www.pixelbeat.org/scripts/add" style="text-decoration: none; outline-style: none; ">add</a> and <a href="http://www.pixelbeat.org/scripts/funcpy" style="text-decoration: none; outline-style: none; ">funcpy</a></td></tr><tr id="dates" class="pbtitle" style="background-color: rgb(180, 220, 100); "><td colspan="3" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "><b>calendar</b></td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">cal -3</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Display a calendar</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">cal 9 1752</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Display a calendar for a particular month year</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">date -d fri</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">What date is it this friday. See also <a href="http://www.pixelbeat.org/scripts/day" style="text-decoration: none; outline-style: none; ">day</a></td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">[ $(date -d "tomorrow" +%d) = "01" ] || exit</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">exit a script unless it's the last day of the month</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">date --date='25 Dec' +%A</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">What day does xmas fall on, this year</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">date --date='@2147483647'</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Convert seconds since the epoch (1970-01-01 UTC) to date</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">TZ='America/Los_Angeles' date</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">What time is it on west coast of US (use tzselect to find TZ)</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">date --date='TZ="America/Los_Angeles" 09:00 next Fri'</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">What's the local time for 9AM next Friday on west coast US</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "> </td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">echo "mail -s 'get the train' P@draigBrady.com < /dev/null" | at 17:45</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Email reminder</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">echo "DISPLAY=$DISPLAY xmessage cooker" | at "NOW + 30 minutes"</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Popup reminder</td></tr><tr id="locale" class="pbtitle" style="background-color: rgb(180, 220, 100); "><td colspan="3" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "><b>locales</b></td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">printf "%'d\n" 1234</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Print number with thousands grouping appropriate to locale</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">BLOCK_SIZE=\'1 ls -l</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">get ls to do thousands grouping appropriate to locale</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">echo "I live in `locale territory`"</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Extract info from locale database</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">LANG=en_IE.utf8 locale int_prefix</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Lookup locale info for specific country. See also<a href="http://www.pixelbeat.org/scripts/ccodes" style="text-decoration: none; outline-style: none; ">ccodes</a></td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">locale | cut -d= -f1 | xargs locale -kc | less</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">List fields available in locale database</td></tr><tr id="recode" class="pbtitle" style="background-color: rgb(180, 220, 100); "><td colspan="3" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "><b>recode</b> (Obsoletes iconv, dos2unix, unix2dos)</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">recode -l | less</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Show available conversions (aliases on each line)</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "> </td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">recode windows-1252.. file_to_change.txt</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Windows "ansi" to local charset (auto does CRLF conversion)</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "> </td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">recode utf-8/CRLF.. file_to_change.txt</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Windows utf8 to local charset</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "> </td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">recode iso-8859-15..utf8 file_to_change.txt</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Latin9 (western europe) to utf8</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "> </td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">recode ../b64 <> file.b64</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Base64 encode</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "> </td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">recode /qp.. <> file.txt</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Quoted printable decode</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "> </td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">recode ..HTML <> file.html</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Text to HTML</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">recode -lf windows-1252 | grep euro</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Lookup <a href="http://www.pixelbeat.org/docs/utf8.html" style="text-decoration: none; outline-style: none; ">table of characters</a></td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">echo -n 0x80 | recode latin-9/x1..dump</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Show what a code represents in latin-9 charmap</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">echo -n 0x20AC | recode ucs-2/x2..latin-9/x</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Show latin-9 encoding</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">echo -n 0x20AC | recode ucs-2/x2..utf-8/x</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Show utf-8 encoding</td></tr><tr id="CDs" class="pbtitle" style="background-color: rgb(180, 220, 100); "><td colspan="3" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "><b><acronym title="Compact Disks" style="font-variant: normal; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: initial; ">CDs</acronym></b></td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "> </td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">gzip < /dev/cdrom > cdrom.iso.gz</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Save copy of data cdrom</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "> </td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">mkisofs -V LABEL -r dir | gzip > cdrom.iso.gz</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Create cdrom image from contents of dir</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "> </td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">mount -o loop cdrom.iso /mnt/dir</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Mount the cdrom image at /mnt/dir (read only)</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "> </td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">cdrecord -v dev=/dev/cdrom blank=fast</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Clear a CDRW</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "> </td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">gzip -dc cdrom.iso.gz | cdrecord -v dev=/dev/cdrom -</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Burn cdrom image (use dev=ATAPI -scanbus to confirm dev)</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "> </td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">cdparanoia -B</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Rip audio tracks from CD to wav files in current dir</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "> </td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">cdrecord -v dev=/dev/cdrom -audio -pad *.wav</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Make audio CD from all wavs in current dir (see also cdrdao)</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "> </td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">oggenc --tracknum='track' track.cdda.wav -o 'track.ogg'</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Make ogg file from wav file</td></tr><tr id="disk_space" class="pbtitle" style="background-color: rgb(180, 220, 100); "><td colspan="3" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "><b>disk space</b> (See also <a href="http://www.pixelbeat.org/fslint/" style="text-decoration: none; outline-style: none; ">FSlint</a>)</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">ls -lSr</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Show files by size, biggest last</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">du -s * | sort -k1,1rn | head</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Show top disk users in current dir. See also <a href="http://www.pixelbeat.org/scripts/dutop" style="text-decoration: none; outline-style: none; ">dutop</a></td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">df -h</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Show free space on mounted filesystems</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">df -i</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Show free inodes on mounted filesystems</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "><acronym title="usually in /sbin/" style="font-variant: normal; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: initial; ">fdisk</acronym> -l</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Show disks partitions sizes and types (run as root)</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "><a href="http://www.pixelbeat.org/docs/packaging.html" style="text-decoration: none; outline-style: none; ">rpm</a> -q -a --qf '%10{SIZE}\t%{NAME}\n' | sort -k1,1n</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">List all <a href="http://www.pixelbeat.org/docs/packaging.html" style="text-decoration: none; outline-style: none; ">packages</a> by installed size (Bytes) on rpm distros</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "><a href="http://www.pixelbeat.org/docs/packaging.html" style="text-decoration: none; outline-style: none; ">dpkg</a>-query -W -f='${Installed-Size;10}\t${Package}\n' | sort -k1,1n</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">List all <a href="http://www.pixelbeat.org/docs/packaging.html" style="text-decoration: none; outline-style: none; ">packages</a> by installed size (KBytes) on deb distros</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">dd bs=1 seek=2TB if=/dev/null of=ext3.test</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Create a large test file (taking no space). See also<a href="http://www.pixelbeat.org/scripts/truncate" style="text-decoration: none; outline-style: none; ">truncate</a></td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">> file</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">truncate data of file or create an empty file</td></tr><tr id="monitor" class="pbtitle" style="background-color: rgb(180, 220, 100); "><td colspan="3" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "><b>monitoring/debugging</b></td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">tail -f /var/log/messages</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "><a href="http://www.pixelbeat.org/docs/web/access_log/monitoring.html" style="text-decoration: none; outline-style: none; ">Monitor messages</a> in a log file</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">strace -c ls >/dev/null</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Summarise/profile system calls made by command</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">strace -f -e open ls >/dev/null</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">List system calls made by command</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">ltrace -f -e getenv ls >/dev/null</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">List library calls made by command</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "><acronym title="usually in /usr/sbin/" style="font-variant: normal; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: initial; ">lsof</acronym> -p <acronym title="process id of current shell" style="font-variant: normal; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: initial; ">$$</acronym></td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">List paths that process id has open</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">lsof ~</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">List processes that have specified path open</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">tcpdump not port 22</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Show network traffic except ssh. See also<a href="http://www.pixelbeat.org/scripts/tcpdump_not_me" style="text-decoration: none; outline-style: none; ">tcpdump_not_me</a></td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">ps -e -o pid,args --forest</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">List processes in a hierarchy</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">ps -e -o pcpu,cpu,nice,state,cputime,args --sort pcpu | sed '/^ 0.0 /d'</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">List processes by % cpu usage</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">ps -e -orss=,args= | sort -b -k1,1n | pr -TW$COLUMNS</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">List processes by mem (KB) usage. See also<a href="http://www.pixelbeat.org/scripts/ps_mem.py" style="text-decoration: none; outline-style: none; ">ps_mem.py</a></td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">ps -C firefox-bin -L -o pid,tid,pcpu,state</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">List all threads for a particular process</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">ps -p 1,2</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">List info for particular process IDs</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">last reboot</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Show system reboot history</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">free -m</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Show amount of (remaining) RAM (-m displays in MB)</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">watch -n.1 'cat /proc/interrupts'</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Watch changeable data continuously</td></tr><tr id="sysinfo" class="pbtitle" style="background-color: rgb(180, 220, 100); "><td colspan="3" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "><b>system information</b> (see also <a href="http://www.pixelbeat.org/scripts/sysinfo" style="text-decoration: none; outline-style: none; ">sysinfo</a>) ('#' means root access is required)</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">uname -a</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Show kernel version and system architecture</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">head -n1 /etc/issue</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Show name and version of distribution</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">cat /proc/partitions</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Show all partitions registered on the system</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">grep MemTotal /proc/meminfo</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Show RAM total seen by the system</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">grep "model name" /proc/cpuinfo</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Show CPU(s) info</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "><acronym title="usually in /sbin/" style="font-variant: normal; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: initial; ">lspci</acronym> -tv</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Show PCI info</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "><acronym title="usually in /sbin/" style="font-variant: normal; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: initial; ">lsusb</acronym> -tv</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Show USB info</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">mount | column -t</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">List mounted filesystems on the system (and align output)</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">grep -F capacity: /proc/acpi/battery/BAT0/info</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Show state of cells in laptop battery</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">#</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">dmidecode -q | less</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Display SMBIOS/DMI information</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">#</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">smartctl -A /dev/sda | grep Power_On_Hours</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">How long has this disk (system) been powered on in total</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">#</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">hdparm -i /dev/sda</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Show info about disk sda</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">#</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">hdparm -tT /dev/sda</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Do a read speed test on disk sda</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">#</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">badblocks -s /dev/sda</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Test for unreadable blocks on disk sda</td></tr><tr id="interactive" class="pbtitle" style="background-color: rgb(180, 220, 100); "><td colspan="3" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "><b>interactive</b> (see also <a href="http://www.pixelbeat.org/lkdb/" style="text-decoration: none; outline-style: none; ">linux keyboard shortcuts)</a></td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "><a href="http://www.pixelbeat.org/lkdb/readline.html" style="text-decoration: none; outline-style: none; ">readline</a></td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Line editor used by bash, python, bc, gnuplot, ...</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "><a href="http://www.pixelbeat.org/lkdb/screen.html" style="text-decoration: none; outline-style: none; ">screen</a></td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Virtual terminals with detach capability, ...</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "><a href="http://www.pixelbeat.org/lkdb/mc.html" style="text-decoration: none; outline-style: none; ">mc</a></td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Powerful file manager that can browse rpm, tar, ftp, ssh, ...</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "><a href="http://www.pixelbeat.org/docs/web/access_log/analyzing.html" style="text-decoration: none; outline-style: none; ">gnuplot</a></td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Interactive/scriptable graphing</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">links</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Web browser</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">xdg-open <b>.</b></td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">open a file or url with the registered desktop application</td></tr><tr id="misc" class="pbtitle" style="background-color: rgb(180, 220, 100); "><td colspan="3" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "><b>miscellaneous</b></td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "><a href="http://www.pixelbeat.org/settings/.bashrc" style="text-decoration: none; outline-style: none; ">alias</a> hd='od -Ax -tx1z -v'</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Handy hexdump. (usage e.g.: • hd /proc/self/cmdline | less)</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "><a href="http://www.pixelbeat.org/settings/.bashrc" style="text-decoration: none; outline-style: none; ">alias</a> realpath='readlink -f'</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Canonicalize path. (usage e.g.: • realpath ~/../$USER)</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">set | grep $USER</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Search current <a href="http://www.pixelbeat.org/docs/env.html" style="text-decoration: none; outline-style: none; ">environment</a></td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; "> </td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">touch -c -t 0304050607 file</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Set file timestamp (YYMMDDhhmm)</td></tr><tr><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">•</td><td class="nw" style="white-space: nowrap; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">python -m SimpleHTTPServer</td><td style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: ridge; border-right-style: ridge; border-bottom-style: ridge; border-left-style: ridge; border-top-color: rgb(255, 255, 192); border-right-color: rgb(255, 255, 192); border-bottom-color: rgb(255, 255, 192); border-left-color: rgb(255, 255, 192); border-collapse: collapse; ">Serve current directory tree at http://$HOSTNAME:8000/</td></tr></tbody></table></div><div style="color: gray; padding-top: 1em; width: 728px; "><br /><br /></div></span> <div style='clear: both;'></div> </div> <div class='post-footer'> <div class='post-footer-line post-footer-line-1'> <span class='post-author vcard'> 張貼者: <span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'> <meta content='https://www.blogger.com/profile/08973545085188924836' itemprop='url'/> <a class='g-profile' href='https://www.blogger.com/profile/08973545085188924836' rel='author' title='author profile'> <span itemprop='name'>ricky</span> </a> </span> </span> <span class='post-timestamp'> 於 <meta content='http://rickyli-journal.blogspot.com/2010/03/useful-linux-commands.html' itemprop='url'/> <a class='timestamp-link' href='https://rickyli-journal.blogspot.com/2010/03/useful-linux-commands.html' rel='bookmark' title='permanent link'><abbr class='published' itemprop='datePublished' title='2010-03-17T03:06:00-07:00'>凌晨3:06</abbr></a> </span> <span class='post-comment-link'> <a class='comment-link' href='https://rickyli-journal.blogspot.com/2010/03/useful-linux-commands.html#comment-form' onclick=''> 沒有留言: </a> </span> <span class='post-icons'> <span class='item-control blog-admin pid-1849096240'> <a href='https://www.blogger.com/post-edit.g?blogID=3160432409077090311&postID=4893781309831015823&from=pencil' title='編輯文章'> <img alt='' class='icon-action' height='18' src='https://resources.blogblog.com/img/icon18_edit_allbkg.gif' width='18'/> </a> </span> </span> <div class='post-share-buttons goog-inline-block'> </div> </div> <div class='post-footer-line post-footer-line-2'> <span class='post-labels'> 標籤: <a href='https://rickyli-journal.blogspot.com/search/label/linux%20shell' rel='tag'>linux shell</a> </span> </div> <div class='post-footer-line post-footer-line-3'> <span class='post-location'> </span> </div> </div> </div> </div> </div></div> </div> <div class='blog-pager' id='blog-pager'> <span id='blog-pager-older-link'> <a class='blog-pager-older-link' href='https://rickyli-journal.blogspot.com/search?updated-max=2010-03-17T03:06:00-07:00&max-results=7' id='Blog1_blog-pager-older-link' title='較舊的文章'>較舊的文章</a> </span> <a class='home-link' href='https://rickyli-journal.blogspot.com/'>首頁</a> </div> <div class='clear'></div> <div class='blog-feeds'> <div class='feed-links'> 訂閱: <a class='feed-link' href='https://rickyli-journal.blogspot.com/feeds/posts/default' target='_blank' type='application/atom+xml'>文章 (Atom)</a> </div> </div> </div></div> </div> <div id='sidebar-wrapper'> <div class='sidebar section' id='sidebar'><div class='widget Followers' data-version='1' id='Followers1'> <h2 class='title'>追蹤者</h2> <div class='widget-content'> <div id='Followers1-wrapper'> <div style='margin-right:2px;'> <div><script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <div id="followers-iframe-container"></div> <script type="text/javascript"> window.followersIframe = null; function followersIframeOpen(url) { gapi.load("gapi.iframes", function() { if (gapi.iframes && gapi.iframes.getContext) { window.followersIframe = gapi.iframes.getContext().openChild({ url: url, where: document.getElementById("followers-iframe-container"), messageHandlersFilter: gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER, messageHandlers: { '_ready': function(obj) { window.followersIframe.getIframeEl().height = obj.height; }, 'reset': function() { window.followersIframe.close(); followersIframeOpen("https://www.blogger.com/followers/frame/3160432409077090311?colors\x3dCgt0cmFuc3BhcmVudBILdHJhbnNwYXJlbnQaByM1NTU1NDQiByMwMDAwMDAqByNmZmZmZmYyByMwMDAwMDA6ByM1NTU1NDRCByMwMDAwMDBKByMwMDAwMDBSByNGRkZGRkZaC3RyYW5zcGFyZW50\x26pageSize\x3d21\x26hl\x3dzh-TW\x26origin\x3dhttps://rickyli-journal.blogspot.com"); }, 'open': function(url) { window.followersIframe.close(); followersIframeOpen(url); }, 'blogger-ping': function() { } } }); } }); } followersIframeOpen("https://www.blogger.com/followers/frame/3160432409077090311?colors\x3dCgt0cmFuc3BhcmVudBILdHJhbnNwYXJlbnQaByM1NTU1NDQiByMwMDAwMDAqByNmZmZmZmYyByMwMDAwMDA6ByM1NTU1NDRCByMwMDAwMDBKByMwMDAwMDBSByNGRkZGRkZaC3RyYW5zcGFyZW50\x26pageSize\x3d21\x26hl\x3dzh-TW\x26origin\x3dhttps://rickyli-journal.blogspot.com"); </script></div> </div> </div> <div class='clear'></div> </div> </div><div class='widget BlogArchive' data-version='1' id='BlogArchive1'> <h2>網誌存檔</h2> <div class='widget-content'> <div id='ArchiveList'> <div id='BlogArchive1_ArchiveList'> <ul class='hierarchy'> <li class='archivedate expanded'> <a class='toggle' href='javascript:void(0)'> <span class='zippy toggle-open'> ▼  </span> </a> <a class='post-count-link' href='https://rickyli-journal.blogspot.com/2010/'> 2010 </a> <span class='post-count' dir='ltr'>(90)</span> <ul class='hierarchy'> <li class='archivedate expanded'> <a class='toggle' href='javascript:void(0)'> <span class='zippy toggle-open'> ▼  </span> </a> <a class='post-count-link' href='https://rickyli-journal.blogspot.com/2010/04/'> 4月 </a> <span class='post-count' dir='ltr'>(3)</span> <ul class='posts'> <li><a href='https://rickyli-journal.blogspot.com/2010/04/local-mkdir-empty-folder-svn-check-out.html'>SVN check in(android)</a></li> <li><a href='https://rickyli-journal.blogspot.com/2010/04/linux-forum.html'>[linux forum]</a></li> <li><a href='https://rickyli-journal.blogspot.com/2010/04/blog-post.html'>搞笑鈴聲</a></li> </ul> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://rickyli-journal.blogspot.com/2010/03/'> 3月 </a> <span class='post-count' dir='ltr'>(9)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://rickyli-journal.blogspot.com/2010/02/'> 2月 </a> <span class='post-count' dir='ltr'>(24)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://rickyli-journal.blogspot.com/2010/01/'> 1月 </a> <span class='post-count' dir='ltr'>(54)</span> </li> </ul> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://rickyli-journal.blogspot.com/2009/'> 2009 </a> <span class='post-count' dir='ltr'>(87)</span> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://rickyli-journal.blogspot.com/2009/12/'> 12月 </a> <span class='post-count' dir='ltr'>(16)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://rickyli-journal.blogspot.com/2009/11/'> 11月 </a> <span class='post-count' dir='ltr'>(8)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://rickyli-journal.blogspot.com/2009/10/'> 10月 </a> <span class='post-count' dir='ltr'>(5)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://rickyli-journal.blogspot.com/2009/09/'> 9月 </a> <span class='post-count' dir='ltr'>(5)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://rickyli-journal.blogspot.com/2009/08/'> 8月 </a> <span class='post-count' dir='ltr'>(14)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://rickyli-journal.blogspot.com/2009/07/'> 7月 </a> <span class='post-count' dir='ltr'>(7)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://rickyli-journal.blogspot.com/2009/06/'> 6月 </a> <span class='post-count' dir='ltr'>(3)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://rickyli-journal.blogspot.com/2009/05/'> 5月 </a> <span class='post-count' dir='ltr'>(6)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://rickyli-journal.blogspot.com/2009/04/'> 4月 </a> <span class='post-count' dir='ltr'>(5)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://rickyli-journal.blogspot.com/2009/03/'> 3月 </a> <span class='post-count' dir='ltr'>(4)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://rickyli-journal.blogspot.com/2009/02/'> 2月 </a> <span class='post-count' dir='ltr'>(5)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://rickyli-journal.blogspot.com/2009/01/'> 1月 </a> <span class='post-count' dir='ltr'>(9)</span> </li> </ul> </li> </ul> </div> </div> <div class='clear'></div> </div> </div><div class='widget Profile' data-version='1' id='Profile1'> <h2>關於我自己</h2> <div class='widget-content'> <dl class='profile-datablock'> <dt class='profile-data'> <a class='profile-name-link g-profile' href='https://www.blogger.com/profile/08973545085188924836' rel='author' style='background-image: url(//www.blogger.com/img/logo-16.png);'> ricky </a> </dt> </dl> <a class='profile-link' href='https://www.blogger.com/profile/08973545085188924836' rel='author'>檢視我的完整簡介</a> <div class='clear'></div> </div> </div></div> </div> <!-- spacer for skins that want sidebar and main to be the same height--> <div class='clear'> </div> </div> <!-- end content-wrapper --> <div id='footer-wrapper'> <div class='footer no-items section' id='footer'></div> </div> </div></div> <!-- end outer-wrapper --> <script type="text/javascript" src="https://www.blogger.com/static/v1/widgets/984859869-widgets.js"></script> <script type='text/javascript'> window['__wavt'] = 'AOuZoY7qPzUdAqoYqV2kaWpqO9OndzmUGg:1732166646813';_WidgetManager._Init('//www.blogger.com/rearrange?blogID\x3d3160432409077090311','//rickyli-journal.blogspot.com/','3160432409077090311'); _WidgetManager._SetDataContext([{'name': 'blog', 'data': {'blogId': '3160432409077090311', 'title': 'Ricky Li\x27s blog', 'url': 'https://rickyli-journal.blogspot.com/', 'canonicalUrl': 'http://rickyli-journal.blogspot.com/', 'homepageUrl': 'https://rickyli-journal.blogspot.com/', 'searchUrl': 'https://rickyli-journal.blogspot.com/search', 'canonicalHomepageUrl': 'http://rickyli-journal.blogspot.com/', 'blogspotFaviconUrl': 'https://rickyli-journal.blogspot.com/favicon.ico', 'bloggerUrl': 'https://www.blogger.com', 'hasCustomDomain': false, 'httpsEnabled': true, 'enabledCommentProfileImages': true, 'gPlusViewType': 'FILTERED_POSTMOD', 'adultContent': false, 'analyticsAccountNumber': '', 'encoding': 'UTF-8', 'locale': 'zh-TW', 'localeUnderscoreDelimited': 'zh_tw', 'languageDirection': 'ltr', 'isPrivate': false, 'isMobile': false, 'isMobileRequest': false, 'mobileClass': '', 'isPrivateBlog': false, 'isDynamicViewsAvailable': true, 'feedLinks': '\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22Ricky Li\x26#39;s blog - Atom\x22 href\x3d\x22https://rickyli-journal.blogspot.com/feeds/posts/default\x22 /\x3e\n\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/rss+xml\x22 title\x3d\x22Ricky Li\x26#39;s blog - RSS\x22 href\x3d\x22https://rickyli-journal.blogspot.com/feeds/posts/default?alt\x3drss\x22 /\x3e\n\x3clink rel\x3d\x22service.post\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22Ricky Li\x26#39;s blog - Atom\x22 href\x3d\x22https://www.blogger.com/feeds/3160432409077090311/posts/default\x22 /\x3e\n', 'meTag': '\x3clink rel\x3d\x22me\x22 href\x3d\x22https://www.blogger.com/profile/08973545085188924836\x22 /\x3e\n', 'adsenseHostId': 'ca-host-pub-1556223355139109', 'adsenseHasAds': false, 'adsenseAutoAds': false, 'boqCommentIframeForm': true, 'loginRedirectParam': '', 'view': '', 'dynamicViewsCommentsSrc': '//www.blogblog.com/dynamicviews/4224c15c4e7c9321/js/comments.js', 'dynamicViewsScriptSrc': '//www.blogblog.com/dynamicviews/8f7002974bbf4dbb', 'plusOneApiSrc': 'https://apis.google.com/js/platform.js', 'disableGComments': true, 'interstitialAccepted': false, 'sharing': {'platforms': [{'name': '\u53d6\u5f97\u9023\u7d50', 'key': 'link', 'shareMessage': '\u53d6\u5f97\u9023\u7d50', 'target': ''}, {'name': 'Facebook', 'key': 'facebook', 'shareMessage': '\u5206\u4eab\u5230 Facebook', 'target': 'facebook'}, {'name': 'BlogThis\uff01', 'key': 'blogThis', 'shareMessage': 'BlogThis\uff01', 'target': 'blog'}, {'name': 'X', 'key': 'twitter', 'shareMessage': '\u5206\u4eab\u5230 X', 'target': 'twitter'}, {'name': 'Pinterest', 'key': 'pinterest', 'shareMessage': '\u5206\u4eab\u5230 Pinterest', 'target': 'pinterest'}, {'name': '\u4ee5\u96fb\u5b50\u90f5\u4ef6\u50b3\u9001', 'key': 'email', 'shareMessage': '\u4ee5\u96fb\u5b50\u90f5\u4ef6\u50b3\u9001', 'target': 'email'}], 'disableGooglePlus': true, 'googlePlusShareButtonWidth': 0, 'googlePlusBootstrap': '\x3cscript type\x3d\x22text/javascript\x22\x3ewindow.___gcfg \x3d {\x27lang\x27: \x27zh_TW\x27};\x3c/script\x3e'}, 'hasCustomJumpLinkMessage': false, 'jumpLinkMessage': '\u95b1\u8b80\u5b8c\u6574\u5167\u5bb9', 'pageType': 'index', 'pageName': '', 'pageTitle': 'Ricky Li\x27s blog'}}, {'name': 'features', 'data': {}}, {'name': 'messages', 'data': {'edit': '\u7de8\u8f2f', 'linkCopiedToClipboard': '\u5df2\u5c07\u9023\u7d50\u8907\u88fd\u5230\u526a\u8cbc\u7c3f\uff01', 'ok': '\u78ba\u5b9a', 'postLink': '\u6587\u7ae0\u9023\u7d50'}}, {'name': 'template', 'data': {'isResponsive': false, 'isAlternateRendering': false, 'isCustom': false}}, {'name': 'view', 'data': {'classic': {'name': 'classic', 'url': '?view\x3dclassic'}, 'flipcard': {'name': 'flipcard', 'url': '?view\x3dflipcard'}, 'magazine': {'name': 'magazine', 'url': '?view\x3dmagazine'}, 'mosaic': {'name': 'mosaic', 'url': '?view\x3dmosaic'}, 'sidebar': {'name': 'sidebar', 'url': '?view\x3dsidebar'}, 'snapshot': {'name': 'snapshot', 'url': '?view\x3dsnapshot'}, 'timeslide': {'name': 'timeslide', 'url': '?view\x3dtimeslide'}, 'isMobile': false, 'title': 'Ricky Li\x27s blog', 'description': '', 'url': 'https://rickyli-journal.blogspot.com/', 'type': 'feed', 'isSingleItem': false, 'isMultipleItems': true, 'isError': false, 'isPage': false, 'isPost': false, 'isHomepage': true, 'isArchive': false, 'isLabelSearch': false}}]); _WidgetManager._RegisterWidget('_NavbarView', new _WidgetInfo('Navbar1', 'navbar', document.getElementById('Navbar1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_HeaderView', new _WidgetInfo('Header1', 'header', document.getElementById('Header1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_BlogView', new _WidgetInfo('Blog1', 'main', document.getElementById('Blog1'), {'cmtInteractionsEnabled': false, 'lightboxEnabled': true, 'lightboxModuleUrl': 'https://www.blogger.com/static/v1/jsbin/2987644573-lbx__zh_tw.js', 'lightboxCssUrl': 'https://www.blogger.com/static/v1/v-css/1964470060-lightbox_bundle.css'}, 'displayModeFull')); _WidgetManager._RegisterWidget('_FollowersView', new _WidgetInfo('Followers1', 'sidebar', document.getElementById('Followers1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_BlogArchiveView', new _WidgetInfo('BlogArchive1', 'sidebar', document.getElementById('BlogArchive1'), {'languageDirection': 'ltr', 'loadingMessage': '\u8f09\u5165\u4e2d\x26hellip;'}, 'displayModeFull')); _WidgetManager._RegisterWidget('_ProfileView', new _WidgetInfo('Profile1', 'sidebar', document.getElementById('Profile1'), {}, 'displayModeFull')); </script> </body> </html>