Since iTunes has been getting buggier and buggier for me (and I'm trying to switch to programs that run on all platforms), I've replaced with... beets http://beets.io/ for library management mpd https://www.musicpd.org/ for serving music & ncmpcpp https://rybczak.net/ncmpcpp/ for playing music (which I alias to `music`)
Ask HN: What are your favorite terminal programs?
111–120 of 203 posts
Re: Ask HN: What are your favorite terminal programs?
#112Earlier quoted context omitted.
If you're just using find to run grep against all files then you would be better off using the recursive flag in grep instead
I like the composition of tools, it lets you extend your usage pretty easily. I personally run this 20 times a day: find -name '*.java' | xargs grep 'pattern'
Re: Ask HN: What are your favorite terminal programs?
#113ranger mocp rofi feh urxvt
Re: Ask HN: What are your favorite terminal programs?
#114history | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | column -c3 -s " " -t | sort -nr | nl | head -n10 1 167 16.7% git 2 130 13% ll 3 94 9.4% clear 4 90 9% make 5 80 8% cd 6 57 5.7% e 7 52 5.2% cat 8 45 4.5% man 9 38 3.8% valgrind 10 37 3.7% rm Where ´e´ is an alias for ´vim´.
Clear? I always press ctrl-l
clear && make all && ./a.outRe: Ask HN: What are your favorite terminal programs?
#115Written in Rust: - fd: A simple, fast and user-friendly alternative to 'find' https://github.com/sharkdp/fd - ripgrep: ripgrep recursively searches directories for a regex pattern https://github.com/BurntSushi/ripgrep - exa: Replacement for 'ls' written in Rust https://github.com/ogham/exa - bat: A 'cat' replacement. I recommend following the customizations. https://github.com/sharkdp/bat Written in Python: - asciine…
Written in Rust
- fd: A simple, fast and user-friendly alternative to 'find' https://github.com/sharkdp/fd
- ripgrep: ripgrep recursively searches directories for a regex pattern https://github.com/BurntSushi/ripgrep
- exa: Replacement for 'ls' written in Rust https://github.com/ogham/exa
- bat: A 'cat' replacement. I recommend following the customizations. https://github.com/sharkdp/bat
Written in Python
- asciinema: Terminal session recorder https://github.com/asciinema/asciinema
- httpie: Modern command line HTTP client https://github.com/jakubroztocil/httpie
- visidata: A terminal spreadsheet multitool for discovering and arranging data https://github.com/saulpw/visidata
- youtube-dl: Command-line program to download videos from YouTube.com and other video sites https://github.com/rg3/youtube-dl
- pgcli: Postgres cli with autocomplete and syntax highlighting https://github.com/dbcli/pgcli
Written in C
- jq: Command-line JSON processor https://github.com/stedolan/jq
- tmux: a terminal multiplexer https://github.com/tmux/tmux
- pspg: postgres pager (you can combine it with pgcli) https://github.com/okbob/pspg reply
Re: Ask HN: What are your favorite terminal programs?
#116history | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | column -c3 -s " " -t | sort -nr | nl | head -n10 1 167 16.7% git 2 130 13% ll 3 94 9.4% clear 4 90 9% make 5 80 8% cd 6 57 5.7% e 7 52 5.2% cat 8 45 4.5% man 9 38 3.8% valgrind 10 37 3.7% rm Where ´e´ is an alias for ´vim´.
but when I try to save it as an alias method.. I keep getting error:
awk: cmd. line:1: {CMD[]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;} awk: cmd. line:1: ^ syntax error awk: cmd. line:1: error: invalid subscript expression
I thought I would just escape the double quotes ", and things would work. :/ Any ideas?
Re: Ask HN: What are your favorite terminal programs?
#117Some of them that I can't live without are - git-standup http://github.com/kamranahmedse/git-standup - z https://github.com/rupa/z - ZSH https://github.com/robbyrussell/oh-my-zsh Apart from that, some that I use time to time - curl-size https://github.com/egoist/curl-size - ripgrep https://github.com/BurntSushi/ripgrep - jq https://github.com/stedolan/jq - asciinema https://github.com/asciinema/asciinema
Re: Ask HN: What are your favorite terminal programs?
#118history | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | column -c3 -s " " -t | sort -nr | nl | head -n10 1 167 16.7% git 2 130 13% ll 3 94 9.4% clear 4 90 9% make 5 80 8% cd 6 57 5.7% e 7 52 5.2% cat 8 45 4.5% man 9 38 3.8% valgrind 10 37 3.7% rm Where ´e´ is an alias for ´vim´.
1 178 35.5289% gi
2 90 17.9641% ls
3 77 15.3693% vim
4 51 10.1796% fg
5 28 5.58882% cd
6 20 3.99202% jobs
7 10 1.99601% date
8 6 1.1976% pass
9 5 0.998004% docker
10 4 0.798403% sudo
I know `gi` looks silly as a `git` alias but it has an ergonomic benefit at least for touch typists.Re: Ask HN: What are your favorite terminal programs?
#119Ever since I learned that USENET was still a thing for a current area of interest: slrn http://slrn.sourceforge.net/ for reading newsgroups My old fave (which I didn't even remember the name of) was nn http://www.nndev.org/ ... which had too steep a (re)learning curve for reading just the one newsgroup.
Re: Ask HN: What are your favorite terminal programs?
#120history | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | column -c3 -s " " -t | sort -nr | nl | head -n10 1 167 16.7% git 2 130 13% ll 3 94 9.4% clear 4 90 9% make 5 80 8% cd 6 57 5.7% e 7 52 5.2% cat 8 45 4.5% man 9 38 3.8% valgrind 10 37 3.7% rm Where ´e´ is an alias for ´vim´.
I can copy/paste your statement and it works.. but when I try to save it as an alias method.. I keep getting error: awk: cmd. line:1: {CMD[]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;} awk: cmd. line:1: ^ syntax error awk: cmd. line:1: error: invalid subscript expression I thought I would just escape the double quotes ", and things would work. :/ Any ideas?
Use a shell function instead of an alias, that's the better tool here.