How To: 13 Terminal Commands Every Mac User Should Know
When you think of Terminal, you probably imagine some hacker sitting in front of their computer in a dimly lit room trying to break into an FBI database. In reality, it's just a simple tool that can make using your Mac much easier.Now, I'm not saying that learning Terminal commands is easy, but using them definitely is. I've compiled a list of some basic commands that will get you started on your journey to mastering Mac OS X, whether it's Mavericks, Yosemite, or even an older system like Lion.Don't Miss: 6 Tweaks You Should Be Using on Your Mac Right Now Don't Miss: 8 Menu Bar Apps Every Mac Power User Needs I've run all of these commands on my MacBook running Yosemite, but if you are an early El Capitan adopter, your mileage may vary due to the fact that it's an early beta still.
#1: Restart Your Mac Automatically After It FreezesMacs may be reliable, but they have been known to freeze up on occasion. If you'd rather not deal with having to manually force a shutdown, you can use this Terminal command to make OS X instantly reboot on a freeze.sudo systemsetup -setrestartfreeze on
#2: Check for Software Updates DailyBy default, the Mac App Store checks for updates on a weekly basis, but if you'd rather get app updates as soon as possible, you can use this command to have it check daily.defaults write com.apple.SoftwareUpdate ScheduleFrequency -int 1
#3: Change Screenshot File TypeIf you don't like that screenshots are saved as PNG files on your Mac, you can switch it to either BMP, GIF, JPG, PDF, or TIFF instead. Just be sure to change the "png" portion of the below command to your desired file extension.defaults write com.apple.screencapture type -string "png"
#4: Change Screenshot LocationDon't like screenshots cluttering up your desktop? You can change the save location using the following command. Just swap out the "/folderlocation" part with the full location of the folder you want. More details here.defaults write com.apple.screencapture location /folderlocation Note: see the end of this guide for instructions on using folder locations with spaces in their name.
#5: Show All Hidden Files & FoldersUnlike in Windows, there is no option to view hidden files and folders in Mac OS X, unless you know the exact location. But by using this Terminal command, you can make them all visible. To hide them again, change "true" to "false."defaults write com.apple.finder AppleShowAllFiles -bool true To see the changes appear immediately, make sure to hold "Alt" on your keyboard, right-click on Finder in your Dock, then click on "Relaunch."
#6: Hide or Unhide Files & Folders IndividuallyIf you don't want to see every hidden file and folder on your Mac, you can unhide them one by one instead. As an example, the Library folder is the biggest one that most people want to unhide, so let's do that. (Note that ~ is a shortcut for your main username directory.)chflags nohidden ~/Library/ Now let's try it with a file. The following one will hide the Secrets folder in my Documents.chflags hidden ~/Documents/Secrets Note: see the end of this guide for instructions on using file and folder locations with spaces in their name.
#7: Automatically Open a Finder Window When a Drive Is MountedTo make it so that Finder automatically loads a new window any time a flash drive (or any other type of volume) is mounted, use these next commands:defaults write com.apple.frameworks.diskimages auto-open-ro-root -bool true defaults write com.apple.frameworks.diskimages auto-open-rw-root -bool true defaults write com.apple.finder OpenWindowForNewRemovableDisk -bool true Just change them back to "false" if you want to revert back.
#8: Disable the Warning When Emptying the TrashIf you like to live life on the edge and not worry about accidentally deleting a file that you actually put in the Trash, you can use the command below to disable that pop-up warning.defaults write com.apple.finder WarnOnEmptyTrash -bool false
#9: Securely Delete Files IndividuallyIf you want to securely erase files from your Mac, but don't want to make "Secure Empty Trash" the default, you can securely shred files one by one in Terminal. The following command uses one-pass overwriting before trashing. (Substitute "/draggedfile" by dragging the file you want over.)srm -s /draggedfile And this one uses seven passes:srm -m /draggedfile If it's a folder you want to get rid of, use -rf after the srm part.srm -rf /draggedfolder Click here to see more options for securely erasing files/folders.
#10: Add Send Shortcut to the OS X Mail AppThe Mail app does not come with a hotkey to send an email since the Enter key is only set to insert a line break. But by using the following command, you'll create a new keyboard shortcut (Command + Enter) for sending mail.defaults write com.apple.mail NSUserKeyEquivalents -dict-add "Send" -string "@\\U21a9?
#11: Disable Automatic Emoji SubstitutionFor those of you who like to live in the '90's state of mind, you can make it so that emoji no longer replaces traditional emoticons with this.defaults write com.apple.messageshelper.MessageController SOInputLineSettings -dict-add "automaticEmojiSubstitutionEnablediMessage" -bool false
#12: Add Extra Information to Login WindowThe login window doesn't reveal much information about your device, but if you'd like it to show some extra info, like your IP address and OS version, use this next command. The information appears when you click on the menu bar's clock and is displayed one at a time.sudo defaults write /Library/Preferences/com.apple.loginwindow AdminHostInfo HostName
#13: Make Terminal Talk to YouThis last Terminal command makes it so you have you own personal robot voice generator. All you have to do is enter "say" and add text inside quotes.
Note for Folder/File Names with Spaces in ThemFor some of the tips above, like hiding specific folders or changing the screenshot save location, the location's name might have a space in it. Using just a space in Terminal won't work. Instead, add a \ after each word except the last, while keeping the spaces. For example:top secret picture.jpg Would be:top\ secret\ picture.jpg
What Are Your Favorite Terminal Commands?Have any other must-know Terminal commands that didn't make the list? Share them with us in the comment section below.Follow Apple Hacks over on Facebook and Twitter, or Gadget Hacks over on Facebook, Google+, and Twitter, for more Apple tips.
HTC eagerly anticipates your innovations. It is our responsibility to caution you that not all claims resulting or caused by or from the unlocking of the bootloader may be covered under warranty. Please note that unlocking your bootloader does not mean that you will be able to unlock the SIM lock.
How to Text from Gmail. This wikiHow teaches you how to send an email as a text message from Gmail. In order to do this, you'll need to know the phone number and carrier email code for your recipient.
Send SMS Text Messages from your GMail Account
How to Make the Notification Panel Translucent on Your
iOS 7 GM (Gold Master) Version Now Available to download Today, Public Release September 18 By Mathew Diekhake September 11, 2013 Apple has already seeded the new iOS 7 GM to developers from the Dev's Center.
iOS 9 GM & iOS 9.1 Beta 1 Released, iOS 9 Public Download on
osxdaily.com/2015/09/09/ios-9-gm-ios-9-1-beta-1-released-ios-9-public-download-on-september-16/
Apple has released the GM build of iOS 9, alongside the first beta of iOS 9.1. GM stands for Golden Master and represents the final build in a beta software production cycle, matching the final version that has been released to the general public as a download on September 16. iOS 9 GM arrives as
iOS 9 — Everything you need to know! | iMore
How To: Hack Your Nexus 7 into a Hybrid Android Tablet That Looks & Feels Like Both iOS & TouchWiz How To: Dual boot Windows Mobile & Android News: Amazon Will Finally Disable Lock Screen Ads on Their Discounted Phones News: 12 Android Features We Want to See in iOS 12
Hacke dein Nexus 7 in ein Hybrid-Android-Tablet, das wie iOS
How to temporarily mute notifications on iOS I just want to silence them when I'm using certain apps. That returns your app to full-screen size, and mutes all those notifications and
How to Disable Specific App Notifications in Apple CarPlay
How to Turn Your HTC One into the Ultimate Gaming Machine
News: Snapchat AR Lenses Jump from Mobile to Desktop with Snap Camera App News: 5 Secret Snapchat Lenses That Will Make Your Weekend — Infinity War, the Chainsmokers & More News: Try These 5 Hot New Snapchat Lenses — Fortnite Victory, Apyr & More News: Snapchat Gives John Wick Fans the Tools to Build Their Own AR Effects via Lens Studio
Wear Contact Lenses? Here Are 12 Bad - The Secret Yumiverse
How To: Get Moto X-Style 'Active Display' Notifications on a Samsung Galaxy S3 How To: The Fastest Way to Access the Notification Tray in Full-Screen Apps on Your Samsung Galaxy S3 How To: Silence Notifications & Shutter Sounds in Your Galaxy S6's Camera
Enable LED Flash Alerts for Calls & Notifications on Galaxy
How To: Enable the Hidden 4G LTE Feature on Your Google Nexus 4 News: Samsung Could Lose Grip on OLED Monopoly Thanks to Google & Apple News: Christmas Is Coming Early! Android 7.1 Beta Is Hitting Nexus Devices This Month
Phone Stuck on Samsung Screen - WonderHowTo
In addition to the constant chat connection, Firefox also provides instant notifications when anything important has happened with the user's Facebook account. Although the feature isn't enabled by default within Firefox 17, but it is actually extremely simple to enable.
[Tip] Enable/Disable Mozilla Firefox Notifications to Show in
0 komentar:
Posting Komentar