Category: GNU

  • what about coding / format standards for the output of command line tools? YAML / JSON / XML

    https://www.gnu.org/prep/standards/standards.html I would like the command line utilities to deliver output in YAML, JSON or XML.

  • GNU find – search for files in a directory hierarchy

    https://manpages.debian.org/unstable/findutils/find.1.en.html 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

    https://directory.fsf.org/wiki/Wdiff 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

    https://en.wikipedia.org/wiki/GNU_Screen Its own manual: https://www.gnu.org/software/screen/manual/ https://www.gnu.org/software/screen/manual/screen.html — entirely on one web page https://www.gnu.org/software/screen/manual/screen.html#Regions https://www.gnu.org/software/screen/manual/html_node/ — with one web page per node https://www.gnu.org/software/screen/manual/html_node/Regions.html https://www.gnu.org/software/screen/manual/screen.pdf 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”

    https://en.wikipedia.org/wiki/Getent https://manpages.debian.org/unstable/manpages/getent.1.en.html 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

    https://www.gnu.org/software/coreutils/manual/html_node/realpath-invocation.html https://www.gnu.org/software/coreutils/manual/html_node/Realpath-usage-examples.html https://en.wikipedia.org/wiki/List_of_GNU_Core_Utilities_commands https://en.wikipedia.org/wiki/GNU_Core_Utilities

  • how to translate human readable time to EPOCH (GNU coreutils (“date”), Perl, …) – resp. the other way round

    https://stackoverflow.com/questions/7357423/perl-human-readable-time-with-miliseconds-to-epoch https://www.gnu.org/software/coreutils/manual/html_node/Examples-of-date.html – 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

    https://wiki.jochen.hayek.name/w?title=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: http://finkproject.org/download/ http://finkproject.org/download/srcdist.php 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. https://wiki.jochen.hayek.name/w/index.php?title=Synology_DSM – 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 …): […]