Magnificent app which corrects your previous console command
Ask HN: Best Command-Line Applications?
71–80 of 393 posts
Re: Ask HN: Best Command-Line Applications?
#72youtube_dl an ffmpeg would be my top two in terms of power. Here are my top commands by frequency of use: 4421 git 952 open 936 vim 908 cd 603 ls 566 grep 533 cp 429 rm 414 mv 250 atom 247 pip 233 mkdir 223 fab 163 docker 130 touch 128 find 123 youtube-dl 113 python 103 ssh 100 cat 99 wget 81 pytest 75 brew total is of ~16k history lines... this means one in ever 4 commands I type is git! Wow I didn't know that. Prob…
I use git so much that I made these aliases in zsh: alias g="git show" alias gh="git show HEAD" alias gs="git status" alias gl="git log" alias gco="git checkout" alias gd="git diff" alias gbl="git branch -v" alias gbd="git branch -D" alias gri="git rebase --interactive" alias grc="git rebase --continue" alias gra="git rebase --abort" alias gst="git stash" alias gsta="git stash apply" alias gx="gco -- \*; git reset HE…
alias ..="cd .."
alias ..2="cd ../.."
# ... you get the idea, mine goes up to 5
function mkcd () { mkdir -p "$@" && eval cd "\"\$$#\""; }
alias h="history|grep"Re: Ask HN: Best Command-Line Applications?
#73It's basically apt/brew on Windows, but it's particularly awesome because it does not manage dependencies. It just downloads and extracts installers, which works because every self-respecting program that works on Windows distributes binaries as an installer (or just a zip) somewhere. Result: everything just works, every program is self-contained, no admin rights needed, no package maintainers needed either.
Re: Ask HN: Best Command-Line Applications?
#74File transfer between machines:
$ nc -l 1234 > filename.out
Using a second machine, connect to the listening nc process, feeding it the file which is to be transferred: $ nc host.example.com 1234
Or a simple web server: $ while true ; do nc -l -p 1500 -c 'echo -e "HTTP/1.1 200 OK\n\n $(date)"'; doneRe: Ask HN: Best Command-Line Applications?
#75https://paste.pound-python.org/raw/Uqc8XTFk73Y3PpbRe9hC/
It's not 100% made up of command-line programs, but most of them are.
Re: Ask HN: Best Command-Line Applications?
#76Earlier quoted context omitted.
I think I remember combining watch with tail before...not sure why since -f keeps a stream open.
Tail -f works by opening the file and remembering the byte offset, if it’s a log file that gets flushed/wiped then tail -f won’t see anything until the logs fill enough to exceed the previous file contents.
Re: Ask HN: Best Command-Line Applications?
#77http://www.mutt.org/ Mutt for email of course.
https://vifm.info/ Vifm file manager, I am using it for everything, not having any other file manager on my system.
https://github.com/pimutils/khal Khal for calendar.
https://github.com/scheibler/khard/ Khard for contacts.
https://github.com/pimutils/vdirsyncer Vdirsyncer to sync calendar and contacts with any web calendar service.
Re: Ask HN: Best Command-Line Applications?
#78and it allows to open multiple views at once, keeping state in each. it also supports saved searches as a view.
it's not actively maintained right now, but it is stable. i haven't had any problems yet.
sup is the ancestor of the notmuch libraries which can be integrated into mutt. but i don't know how well that works. perhaps https://news.ycombinator.com/item?id=18483833 can shed some light on that.
greetings, eMBee.
Re: Ask HN: Best Command-Line Applications?
#79Sort of on topic...Does anyone know of a good interactive resource for learning some of the tools that are included by default on UNIX systems? RTFM is useful, of course.
Re: Ask HN: Best Command-Line Applications?
#80The Fuck — https://github.com/nvbn/thefuck Magnificent app which corrects your previous console command