Category: GNU

  • what about coding / format standards for the output of command line tools? YAML / JSON / XML I would like the command line utilities to deliver output in YAML, JSON or XML.

  • GNU find – search for files in a directory hierarchy print each file’s last modification time (%T+) and its name (%P): $ find . -type f -printf ‘%T+ %P\n’ Because the time stamp is printed first and also in a suitable way, this is what we use to sort the files within a directory by their last modification time.

  • GNU wdiff — front end to GNU diff — word differences Compares two files on a word per word basis, finding the word deleted or added from the first file to make the second. A word is defined as anything between whitespace. It works by creating two temporary files, one word per line, and the executes ‘diff’ on these fields. It collects the ‘diff’ output […]

  • GNU Screen Its own manual: — entirely on one web page — with one web page per node The general prefix: C-a. Temporarily switching to the builtin command line: C-a :. Concepts, approaches, …: persistent shell session regions — displaying more than one window at a time, splitting horizontally or vertically (i.e. screen tiling […]

  • getent – “get entries from administrative database” The getent command displays entries from databases supported by the Name Service Switch libraries, which are configured in /etc/nsswitch.conf. If one or more key arguments are provided, then only the entries that match the supplied keys will be displayed. Otherwise, if no key is provided, all entries will be displayed (unless the database does not support enumeration). My DS713+ (Intel […]

  • GNU Coreutils: realpath: print the resolved file name – has a quite a few neat command line options

  • how to translate human readable time to EPOCH (GNU coreutils (“date”), Perl, …) – resp. the other way round – making use of the ‘@’ feature of the date utility $ date –date=”2011/09/08 00:10:17.997″ +%s # from human readable time to EPOCH 1315433417 $ date –utc –date=”2011/09/08 00:10:17.997″ +%s 1315440617 $ date -d @946684800 +”%F %T %z” 2000-01-01 01:00:00 +0100 $ date –utc –date=’1970-01-01 946684800 seconds’ +”%Y-%m-%d %T %z” 2000-01-01 00:00:00 +0000

  • the GNU packages that I need most seriously on my “finkified” Macs – this is where this text should actually live and get maintained CAVEAT!!! Read carefully beforehand: I.e. install Xcode Tools/Developer Tools, Xcode Command Line Tools, and X11 ! This message wants to tell you, that the Xquartz X11 distribution is not installed (it is not something, that fink can do for you): […]

  • the GNU packages that I need most seriously on my Synology NAS

    CAVEAT: In 2017 I started using opkg (Entware-NG) instead of ipkg (optware). This document may not be updated entirely to reflect the new circumstances. – better use and maintain that article instead of this one theses are the GNU packages I seriously need on my Synology NAS (there is actually more than one …): […]