cd because I never had to lookup how to use it EDIT: hm it doesn't even have a man/info page. Where can you learn about "cd" or "cd -", then?!
Ask HN: What are your favorite terminal programs?
41–50 of 203 posts
Re: Ask HN: What are your favorite terminal programs?
#42Re: Ask HN: What are your favorite terminal programs?
#43cd because I never had to lookup how to use it EDIT: hm it doesn't even have a man/info page. Where can you learn about "cd" or "cd -", then?!
See 1.4.1.7 here for how bash searches for commands: http://www.tldp.org/LDP/Bash-Beginners-Guide/html/sect_01_04...
Re: Ask HN: What are your favorite terminal programs?
#44For news, newsboat is quite nice:
For parsing and select actions over url links you can use urlview (it works perfectly with pdftotext, newsboat, mutt, vim, w3m, etc.):
https://github.com/sigpipe/urlview
You can download webpages with httrack:
rsync is a fundamental tool to move files between computers or do backups, forget about scp:
You can work with most pdf and ps (those that are not scanned images) using your usual text tools,
There are even ready to go pdf + grep commands:
Somewhat meta, when you live in the terminal you need to be sure that you are a bit POSIX compliant. shellcheck is a good tool for that:
Finally, there are a two packages that should be in any distributions (include commands like vidir, parallel, watch, etc.):
https://joeyh.name/code/moreutils/ https://gitlab.com/procps-ng/procps/
Re: Ask HN: What are your favorite terminal programs?
#45Re: Ask HN: What are your favorite terminal programs?
#46Re: Ask HN: What are your favorite terminal programs?
#47cd because I never had to lookup how to use it EDIT: hm it doesn't even have a man/info page. Where can you learn about "cd" or "cd -", then?!
Re: Ask HN: What are your favorite terminal programs?
#48/r/commandline https://www.reddit.com/r/commandline/
general commands
- awk/grep/sed/wc - text file processing
- convert (image magick) - image processing tool
- cpulimit - limit the cpu usage of a process
- fdupes - check for duplicate files and optionally remove them
- pdftk - concatenate pdf files and more - https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/
- rsync - back up tool
- tmux - terminal multiplexer - almost always my first install
- tree - view directory contents in a tree format
- zcat/zmore - display a file that is compressed (e.g. zmore /var/log/syslog.2.gz)
security/reverse engineering:
- binwalk - search binary images for embedded files
- gdb + peda - debugger with extensions - https://github.com/longld/peda
- nmap - network scanning tool
- radare2 - command line dissassembler - https://github.com/radare/radare2
- scapy - network packet crafting - https://github.com/secdev/scapy
- tshark - network traffic analyzer
- tcpdump - network traffic analyzer
- xxd - hexdump tool
Bonus:
- find - find files - I often use this to find files containing a string:
$ cat bin/findstring
#!/bin/sh
find . -type f -exec grep -i -l "$@" {} \;
Re: Ask HN: What are your favorite terminal programs?
#49Re: Ask HN: What are your favorite terminal programs?
#50ncdu to analyze disk space and find huge folders you can clean And `z` (the zsh plugin) to cd into your most common directories
I typically do a series of "du -s -h * | sort -h" and this simplifies things.