notes/updates.txt
2022-06-29 06:30:26 -07:00

28 lines
1,010 B
Text

Use this file as a post-it for packages to install on laptop/desktop.
add notation about awk as
Select everything but the second field:
awk '!($2="")'
add notation about tr (translate command):
replace every newline with a single space: tr '\n' ' '
add notation about using find to list only files in current directory and NOT subdirectory:
find $dir -maxdepth 1 -type f
add notation about using pick to parse through output, and pipe that using xargs to another command:
example:
ls | pick | xargs bat # will give you a choice of the files from ls, pick displays a menu to "pick" the file, which then is parsed to xargs bat (invokes bat on choice from ls | pick)
https://medium.com/techie-delight/top-25-algorithms-every-programmer-should-know-373246b4881b
Look up the select command (online, man page is not as helpful). It makes a nice simple selectio menu for your users in bash
neovim markdown-preview fix:
:call mkdp#util#install()
:TSUpdate all
Install whois and dig
doas pacman -S bind whois