User Tools

Site Tools


programming:bash
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


programming:bash [2020/11/13 08:29] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== Get time from NTP ======
 +<code>cat </dev/tcp/time.nist.gov/13</code>
  
 +====== Download all docs ======
 +<code>wget -O - -q http://www.tenox.net/docs/ | grep href=.*books | sed -e 's/^.*href=\"//g' -e 's/">.*$//g' | while read ln; do wget "$ln" ; done</code>
 +
 +====== Plain text from Word docx ======
 +<code>
 +unzip -p some.docx word/document.xml | sed -e 's/<[^>]\{1,\}>//g; s/[^[:print:]]\{1,\}//g'
 +</code>
programming/bash.txt · Last modified: 2020/11/13 08:29 by Jan Forman