6 ms·
Unix Toolbox
- res0nat0r 11y agoUnix Rosetta Stone is also very useful: http://bhami.com/rosetta.html http://bhami.com/rosetta.html
- solidpy 11y agoI've recently started using Arch and their Pacman Rosetta has helped me a lot, it has equivalences in package managers for all the popular distros: https://wiki.archlinux.org/index.php/Pacman_Rosetta https://wiki.archlinux.org/index.php/Pacman_Rosetta
- ilurk 11y agoAnd the Rosetta Stone of Performance Checklists: http://www.brendangregg.com/USEmethod/use-rosetta.html http://www.brendangregg.com/USEmethod/use-rosetta.html
- Aloha 11y agothis is an incredibly useful shortlist of commands, most of these I've used before - some I've used and forgotten (mount -o remount,ro)
- tthayer 11y agoThis is pretty great. Would be cool to get a filtered list based on the OS you were using.
- Amorymeltzer 11y agoThat's one the advantages of Rosetta Stone - http://bhami.com/rosetta.html http://bhami.com/rosetta.html It was posted elsewhere in this thread first — https://news.ycombinator.com/item?id=10023535 https://news.ycombinator.com/item?id=10023535 — so don't vote my comment up.
- lostbit 11y agoIt was on my bookmarks for a long time. I thought it would be nice to share with you guys. There are so many times I do searches on HN to recall about some nice things I've seen oh the web... Quite often, the comments are the gems!
- rtehfm 11y agoYeah I found this via HN a couple years ago. This along with the following links will help anyone getting into sysadmin work: https://github.com/jlevy/the-art-of-command-line https://github.com/jlevy/the-art-of-command-line | https://www.bento.io/grid https://www.bento.io/grid | https://www.sqlteaching.com/ https://www.sqlteaching.com/
- ashwinaj 11y agoThis is awesome, thanks!
- mud_dauber 11y agoWhat an awesome list. Props!
- pWneD 11y agoA while ago I saved some pretty useful sed[0] and awk[1] one-liners on github. [0] https://gist.github.com/vmsp/38b9a891c76a2fc5c3b5 https://gist.github.com/vmsp/38b9a891c76a2fc5c3b5 [1] https://gist.github.com/vmsp/5cbfa1b4ccd9f78f56c7 https://gist.github.com/vmsp/5cbfa1b4ccd9f78f56c7
- jastr 11y agoBro Pages (instead of "man" pages) is a similar resource I find myself using surprisingly often http://bropages.org/browse http://bropages.org/browse
- vezzy-fnord 11y agoDamn, I remember the HN thread about that. The derailing was phenomenal. Interesting that the project lives on.
- deleted 11y ago[deleted]
- therealmarv 11y agojust tried out to install bro pages with a fresh ruby 2.2.1 from rvm on OS X and got this reproducable. Seems broken for me: $ bro curl The curl command isn't in our database.
- nemild 11y agoYou might have an easier time getting tldr pages to work: https://github.com/tldr-pages/tldr https://github.com/tldr-pages/tldr
- teddyh 11y agoThat project is a symptom of manual pages not having good “EXAMPLES” sections. The examples on that web page should be contributed upstream to the manuals pages of the software that they are for. If you want a fast way to read the EXAMPLES section only for a command, here is a shell function which creates an ‘eg’ command which only displays the “EXAMPLES” section of manual pages: eg(){ MAN_KEEP_FORMATTING=1 man "$@" 2>/dev/null \ | sed --quiet --expression='/^E\(\x08.\)X\(\x08.\)\?A\(\x08.\)\?M\(\x08.\)\?P\(\x08.\)\?L\(\x08.\)\?E/{:a;p;n;/^[^ ]/q;ba}' \ | ${MANPAGER:-${PAGER:-pager -s}} } Usage: $ eg tar EXAMPLES Create archive.tar from files foo and bar. tar -cf archive.tar foo bar List all files in archive.tar verbosely. tar -tvf archive.tar Extract all files from archive.tar. tar -xf archive.tar $
- harshulj 11y agoThis is really incredible list. Very useful when in need. Especially the switches that come in very handy.
- drdoom 11y agoWhat is with cb.vu? It takes you to the shell prompt...
- c22 11y agohttp://www.metafilter.com/70908/A-Virtually-Virtual-Terminal http://www.metafilter.com/70908/A-Virtually-Virtual-Terminal
- mb0 11y agohostname -i on cb.vu says the IP address is 78.31.70.238, but if you ping a host from the interface, the pings originate from 178.33.34.4 (according to tcpdump).
- samstave 11y agoI love the "why not try this" attitude of your comment. Is this due to an LB fronting?
- c22 11y agoOn this system hostname -i says 127.0.1.1, despite this address not being set on any of my interfaces (lo0 is 127.0.0.1).
- c22 11y agoIt looks like hostname -i is getting its value from /etc/hosts. hostname --all-ip-addresses returns the correct result.
- collinmanderson 11y agoip route get 8.8.8.8 | head -1 | cut -d' ' -f8
- mcmullen 11y agoNice list! Bookmarked.
- mozumder 11y agoThis is great. Could use more on the Mac OS X side, though.
- wincent 11y agoI used to know a lot of this stuff. With Puppet, Chef, and then Ansible, I've found myself needing to know less and less of it.
- nogbit 11y agoAnd instead you now need to know a layer of abstraction and relearn that layer whenever it re-invents itself.
- hamza001 11y agohttp://googler700.blogspot.com/ http://googler700.blogspot.com/
- mholt 11y agoAn excellent page to keep handy or for browsing! Thanks for the link. A different (but related) resource: http://explainshell.com http://explainshell.com - good for deciphering those tricker commands.
- aruggirello 11y ago> 2.2 Priority - ... Every command launched from this shell will have a lover priority. ... You probably meant lower :)