11 incredibly useful Snow Leopard Terminal hacks

Discussion in 'OS X and OS X Apps' started by skinhead, Jan 9, 2010.

  1. skinhead

    skinhead Active Member

    Joined:
    Mar 31, 2005
    Messages:
    2,321
    Likes Received:
    0
  2. sidisnotmyname

    Joined:
    Dec 5, 2009
    Messages:
    101
    Likes Received:
    0
    Location:
    SG
    nice find!

    tried stack highlight during mouse-over. really cool! :D
     
  3. piedad

    piedad Well-Known Member
    Supporter

    Joined:
    Apr 10, 2004
    Messages:
    2,766
    Likes Received:
    88
    Location:
    Philippines
    If you have a small screen running OSX, this is super useful: scale the display of OSX so you can see more.
     
  4. piedad

    piedad Well-Known Member
    Supporter

    Joined:
    Apr 10, 2004
    Messages:
    2,766
    Likes Received:
    88
    Location:
    Philippines
  5. piedad

    piedad Well-Known Member
    Supporter

    Joined:
    Apr 10, 2004
    Messages:
    2,766
    Likes Received:
    88
    Location:
    Philippines
  6. cyberathlete

    cyberathlete PhilMUG Addict Member

    Joined:
    Oct 28, 2008
    Messages:
    1,047
    Likes Received:
    254
    Gender:
    Male
  7. Barbara

    Barbara Member

    Joined:
    Jun 11, 2008
    Messages:
    31
    Likes Received:
    0
    mmm...interesting...
     
  8. itgbkj

    itgbkj Member

    Joined:
    Jun 4, 2009
    Messages:
    234
    Likes Received:
    0
    Thanks for sharing... yup... there's reason why Apple disabled them...
     
  9. Miguel Jimenez

    Miguel Jimenez Account Suspended
    ERASED FROM EXISTENCE

    Joined:
    Apr 12, 2009
    Messages:
    171
    Likes Received:
    0
    Nice! Thanks for the link sir ^_^
     
  10. itnetad

    itnetad Active Member

    Joined:
    Sep 24, 2007
    Messages:
    1,153
    Likes Received:
    0
    Location:
    Makati
    Very useful will try this one
     
  11. FreeBSDee

    FreeBSDee Member

    Joined:
    Dec 30, 2007
    Messages:
    163
    Likes Received:
    0
    I'm using this bash prompt on all my servers. Works well on OS X. Add this to your .bash_profile

    Code:
    export PS1="\n\[\e[30;1m\](\[\e[34;1m\]\[email protected]\[\e[32;1m\]\h\[\e[30;1m\])-(\[\e[31;1m\]\t\[\e[30;1m\])-(\[\[\e[32;1m\]\w\[\e[30;1m\])\[\e[30;1m\]\n(jobs:\[\e[34;1m\]\j\[\e[30;1m\])\[\e[30;1m\] $ "
    You'll know what time it is and you'll know which directory you're currently on. Also, if you have any pending process running, it will tell you how many. Looks great on Novel & Hombrew shells.

    If you don't want it to be accidentally deleted, type:

    Code:
    chflags schg .bash_profile
    Actually, if you have some important files that you don't want to accidentally delete, you can use the above command to any file. You can still move the file to the Trash but you won't be able to empty it. You'll notice the file will have a padlock icon on it. To undo:

    Code:
    chflags noschg .bash_profile
    I use this command (and similar commands) to protect configuration files. For MAMP users, thats your httpd.conf files, my.cnf files and php.ini files.
     
  12. hitme64

    hitme64 PhilMUG Addict Member

    Joined:
    Apr 2, 2007
    Messages:
    11,876
    Likes Received:
    11,532
    Location:
    Here
    Drag A Widget Onto The Desktop
    [​IMG]

    Probably one of the coolest hacks. This command enables widgets to be placed onto the desktop. Drag a widget around and press F12 to drag it onto the desktop. Repeat the process again to drag a widget back onto the dashboard. This may need you to log off or restart for it to take effect.

    defaults write com.apple.dashboard devmode YES



    there are more here
     

Share This Page

  • About PhilMUG

    Since the mid-1990s, PhilMUG (formerly the Philippine Macintosh Users Group) has grown to become not just the Philippines’ but one of the world’s foremost Apple user groups. Our online community brings together thousands of members from the Philippines and around the world for the latest news and discussions covering all Apple products and related hardware and software. Anyone can join PhilMUG, from newbies to experts, subject to our membership rules and guidelines.
  • Like us on Facebook

  • Buy us a beer!

    The staff works very hard to make sure that PhilMUG is running 24/7. Care to buy us a beer or help out with our hosting fees? We'd really appreciate it!

    Donate to us!