macOS Cheatsheet

Routing table The routing table does not show using route print in OSX, this may have worked in Linux but not here. Use the command netstat -nr instead Show/Hide hidden files Finder The OSX Finder does not show hidden files by default. A file is hidden if the name starts with a dot or period e.g. .bash_profile, .emacs.d etc. If you want to see these kinds of files in the Finder, execute this commands using the Terminal.
Read more...

Linux Cheatsheet

Copy pasting clipboard to/from terminal Can be done either via xsel or xclip. Xclip is part of most modern installations, so you it may be there in your installation already. The common usages are: You copied something in an X window (browser or editor etc), you want to paste the content to the terminal. Unfortunately the terminal doesn’t have access to the clipboard. But you can do this on the terminal using
Read more...