#less

bkoehn@diaspora.koehn.com

Wow, after 25 years of Unix experience, I learned that you can filter output in #less.

Press ampersand (&) and enter a regex to show only lines matching the regex.

Press ampersand (&) and then exclamation mark (!) to apply an inverse filter.

After thirty five years of Unix, I learned something new.

https://cybervillains.com/@_xhr_/109426631841596785

canoodle@nerdpol.ch

GNU Linux - what to do - if there is no vi and no less - nano can do both

in theory yes, nano can replace vi and less, but in reality, it faults on large amount of data-files-streams

<span style="color: #00ffff;">hostnamectl</span>; # as seen on
   Static hostname: giada
  Operating System: Debian GNU/Linux 10 (buster)
            Kernel: Linux 4.19.0-17-amd64
      Architecture: x86-64

# example<span style="color: #00ffff;">
wget https://thesquareplanet.com/feed.xml

</span>#  328K? wohoo very "large" file<span style="color: #00ffff;">
du -hs feed.xml 
</span>328K feed.xml<span style="color: #00ffff;">

cat feed.xml | nano -
</span>

#linux #gnu #gnulinux #opensource #administration #sysops #nano #vi #less #bash

Originally posted at: https://dwaves.de/2021/08/19/gnu-linux-what-to-do-if-there-is-no-vi-and-no-less-nano-can-do-both/