Category: unix_utilities
-
PSmisc – small utilities that use the /proc filesystem
http://psmisc.sourceforge.net/ http://en.wikipedia.org/wiki/Pstree I failed compiling the PSmisc package on OS X 10.10 AKA Yosemite. Maybe I wasn’t patient enough. If I had a running Fink system these days, I wouldn’t even bother installing PSmisc resp. pstree myself. But my Fink system broke little after upgrading to Yosemite.
-
Ross Moffatt’s “logtail-v3” – logging files by tracking and only outputing the log from last time logtail was run
http://sourceforge.net/projects/logtail-v3/ this logtail can handle large files and log rolls
-
Thomas Peuss’s “logtail”, an AJAXified logfile download and tailing application
http://sourceforge.net/projects/logtail/
-
Paul Slootman’s logtail – a utility to print log file lines that have not been read
http://linux.die.net/man/8/logtail implemented in Perl
-
how to easily display a base64 encoded file
I wondered, how I could achieve that on various Unix platforms, and I ran the following command on my Linux box: $ man -k base64base64 (1) – base64 encode/decode data and print to standard outputMIME::Base64 (3pm) – Encoding and decoding of base64 strings Right the utility base64 (beloning to…
-
displaying files (on a UNIX command line), each file together with its names
displays each file with its name before its content:$ head -999 file-a file-b file-c displays each file with its name before each line of its content:$ pipegrep ” cat file-a file-b file-c Search the web for pipegrep, if you are interested in it! It is written in one word.
-
how to sort files by content
Same content, different names of 2 or more files –– how to identify the duplicates? Use check sum utilities (like chksum, md5sum, sha1sum, …) for this, and sort on their output!
-
linux – how to ‘grep’ a continuous stream
http://stackoverflow.com/questions/7161821/how-to-grep-a-continuous-stream I had never heard of “stdbuf” before AIX grep has -u GNU grep has –line-buffered, its -u is not the same as AIX grep’s
-
logcheck – scans your logfiles and warns you
www.logcheck.org sourceforge.net/projects/logcheck/ linuxaria.com/pills/logcheck-scan-your-logs-and-warns-you – this is the nicest overview page Dependencies and restrictions: logcheck depends on logtail logtail runs on exactly one file … … and only once on that file, as it keeps a sister file called logfile.offset improving this should actually be “easy”, e.g. keeping a sister file called logfile.offset.user Pros: abstracting resp. filtering…
-
munpack = MIME unpack – a utility to unpack messages in MIME or split-uuencode format
munpack(1) – Linux man page If you need to deal with MIME attachements of an e-mail message within a shell script, this has been the tool for this purpose for ages now.