Category: MAC

mac

  • Share shell history across multiple sessions

    Share shell history across multiple sessions

    I use iTerm and a lot of terminal tabs. Terminal history is something which is important to me, it lets me backtrack my steps. Just add the following code in your .profile

    View the code on Gist.


    Originally published: 2012-07-25 Last modified: 2019-06-12 WordPress ID: 1136

  • Let the mac sleep

    Let the mac sleep

    How to turn off/sleep OS X Mac Screen. It took me a lot of researching on internet to find these shortcut keys.

    Sleep immediately (no confirmation): Cmd-Opt-Eject
    Put display to sleep: Ctrl-Shift-Eject


    Originally published: 2011-08-31 Last modified: 2015-01-15 WordPress ID: 1034