- Joye’s “moreutils” collection – http://joeyh.name/code/moreutils/. Contains following:
- chronic: runs a command quietly unless it fails
- combine: combine the lines in two files using boolean operations
- ifdata: get network interface info without parsing ifconfig output
- ifne: run a program if the standard input is not empty
- isutf8: check if a file or standard input is utf-8
- lckdo: execute a program with a lock held
- mispipe: pipe two commands, returning the exit status of the first
- parallel: run multiple jobs at once
- pee: tee standard input to pipes
- sponge: soak up standard input and write to a file
- ts: timestamp standard input
- vidir: edit a directory in your text editor
- vipe: insert a text editor into a pipe
- zrun: automatically uncompress arguments to command
- num-utils – http://suso.suso.org/programs/num-utils/. Contains:
- average: A program for calculating the average of numbers.
- bound: Finds the boundary numbers (min and max) of input.
- interval: Shows the numeric intervals between each number in a sequence.
- normalize: Normalizes a set of numbers between 0 and 1 by default.
- numgrep: Like normal grep, but for sets of numbers.
- numprocess: Do mathmatical operations on numbers.
- numsum: Add up all the numbers.
- random: Generate a random number from a given expression.
- range: Generate a set of numbers in a range expression.
- round: Round each number according to it’s value.
- Scylla and Charybdis, Tools – http://www.scylla-charybdis.com/tool.php. Contains:
- checkrun: Program watchdog to terminate a program with starving output)
- cmpfast: Fast compare two files binary)
- count: Copy lines, shows progress)
- dbm: A little tool to access gdbm files from shell.)
- dirlist: Primitive directory lister, quicker than ls, find and echo *)
- diskus: Disk geometry checking and repair tool)
- getrealpath: Print realpath to stdout)
- histogram: Count bytes in file)
- kdmktone: Make the console beep)
- keypressed: Nonblocking, nondestructible test for waiting data on TTYs, sockets and probably pipes)
- killmem: Protect some memory against paging until you need free memory)
- lockdir: Create a directory for locking purpose)
- lockrun: Exclusively run something by placing a file lock)
- md5chk: Create md5sums for easy shell usage)
- minicron: This is a program which starts other programs after some time)
- mvatom: Move files by atomic rename instead of copy.)
- printansi: Like /bin/echo but ANSI-escapes the output)
- printargs: Like “hello world” but dumps the argc array)
- ptybuffer: daemonize interactive tty line driven programs with output history)
- runningfor: Return true until the given time periode is reached.)
- slowdown: Slowdown processes or pipes.)
- socklinger: Execute quick hack shell scripts connected to a socket.)
- sq: SQLITE3 query tool for shell usage)
- timeout: Execute a command or pipe only for a given duration.)
- timestart: Start a program N-M times in parallel by running it it each A-B seconds)
- tinohtmlparse: Simple HTML parser to extract information from HTML files by shell)
- tinoseq: An integer seq implementation)
- udevraw: Dump udev events for bash usage)
- unbuffered: Copy stdin to stdout and stderr, unbuffered)
- watcher: A Python2.6 script to watch files, pipes or Unix domain sockets)
2012.06.25
More unix tools
2011.02.15
2010.07.12
Cygwin stuff
Various Cygwin links
- Home – http://www.cygwin.com/ | http://cygwin.org/
- FAQ – http://www.cygwin.com/faq/
- Mirrors – http://www.cygwin.com/mirrors.html
- Cygwin/X – http://x.cygwin.com/
- Cygwin info at RedHat – http://www.redhat.com/services/custom/cygwin/
- project pages at Freshmeat – http://freshmeat.net/projects/cygwin/
- Cygwin infor at Softpanorama – http://www.softpanorama.org/Unixification/cygwin.shtml
- Windows Unix compatibility – http://techdir.rutgers.edu/winunix.html
- at WikiPedia – http://en.wikipedia.org/wiki/Cygwin
Portable Cygwin
- “Cygwin on portable storage devices” by Ali Devin Sezer (2005.02.05) – http://sites.google.com/site/devinsezer/Home/software/portable-cygwin
- “A Guide to Building a Portable Cygwin” (at Fuzzix blog; not clear when)- http://blogs.linux.ie/fuzzbucket/2008/02/23/cygwin/
- (2008): http://www.symbiosoft.net/cygwinportable | http://sourceforge.net/projects/cygwinportable/files/ | http://portableapps.com/node/14482
- “Cygwin Portable – (some) Linux power on a USB for Windows” (Bits of Wizardry; 2010.01.29) – http://bitsofwizardry.wordpress.com/2010/01/29/cygwin-portable-some-linux-power-on-a-usb-for-windows/
- “How to make your own portable Cygwin on CD” by fergus bonhard (2003.07.19) – http://www.cygwin.com/ml/cygwin/2003-07/msg01117.html
- “A CD based on Cygwin for X Windows forwarding via ssh” – http://xlivecd.indiana.edu/
Tricks
Setting effective HOME to your Windows “My Documents” folder.
- Start a Cygwin shell
- You should be located in your default directory which inside Cygwin looks like /home/thisuser, but from the Windows standpoint could be something like c:\cygwin\home\thisuser.
- Type ln -s /cygdrive/c/Documents and Settings/thisuser/My Documents/ ./docs
- Edit .profile and .bashrc to put at their ends following lines:
export HOME=./docs cd $HOME
- that is it. Restart Cygwin. You should now be in the /home/thisuser/docs/ which is the same place as Windows’ c:\Documents and Settings\thisuser\My Documents/
Related: MS Windows Registry transversal by Cygwin – https://eikonal.wordpress.com/2011/03/01/registry-transversal-by-cygwin | Unix tricks – https://eikonal.wordpress.com/2011/02/15/unix-tricks/