OS X Tips and shortcuts

This is a discussion on OS X Tips and shortcuts within the OS X How-To's, Tutorials, Tips & Tricks forums, part of the Mac OS X category; Rebooting a Mac from the command line is fairly simple, though most users are best served just using the standard  Apple menu method. Nonetheless, ...

Page 26 of 26 FirstFirst ... 16 24 25 26
Results 251 to 259 of 259
Like Tree1Likes

Thread: OS X Tips and shortcuts

  1. #251
    Administrator
    Join Date
    Jul 2011
    Location
    Northern Michigan
    Posts
    25,446
    Member #
    1529
    Liked
    314 times

    Reboot Mac OS X from the Command Line



    Rebooting a Mac from the command line is fairly simple, though most users are best served just using the standard  Apple menu method. Nonetheless, using the terminal command can be an invaluable trick for troubleshooting purposes, remote systems administration and management through SSH, and a number of other reasons.

    From the OS X Terminal type the following:

    sudo shutdown -r now

    Enter the administrator password when requested in order to use sudo.

    The Mac will be immediately restarted regardless of what’s going on, so be sure not to use this if important documents are open and you have something like auto-save turned off.

    You can add a message to the reboot notice for those logged in through SSH by adding a quote at the end like so:

    sudo shutdown -r now "Rebooting Now for OSXDaily.com"

    This looks like the following to anyone logged into the Mac:

    Shutdown NOW!

    *** FINAL System shutdown message from user@hostname ***
    System going down IMMEDIATELY

    Rebooting Now for OSXDaily.com

    System shutdown time has arrived

    The reporting will reference shutdown whether you are rebooting, shutting down, or sleeping, which is why it can be useful to append a message to the command, which is reported back as the second to last line. Also, the “user@hostname” will be that of whom initiated the reboot.

    Using this shutdown command, it would also be easy to modify a past trick to remotely sleeping a Mac to be able to remotely reboot or shutdown a Mac instead.

    The shutdown command has been around since the earliest days of Mac OS X and still exists in Lion and Mountain Lion onward. As you may have guessed, the shutdown command can be used for other tasks like actually shutting the Mac down, putting the Mac to sleep instantly like pmset, and more.


    9-6-12

    Source

  2. Ads

    Posts
    Many

  3. #252
    Administrator
    Join Date
    Jul 2011
    Location
    Northern Michigan
    Posts
    25,446
    Member #
    1529
    Liked
    314 times

    Summon a Spelling & Grammar Check Tool in Mac OS X with a Keyboard Shortcut


    Lion As Well


    Mac OS X includes a powerful built-in spelling and grammar tool that runs automatically when you type in many apps, but a separate panel can be summoned from just about any text entry point or app that provides additional support for the feature. To bring up the “Spelling and Grammar” panel in a compatible Mac app, just use the keyboard shortcut Command+Shift+: (yes, colon/semi-colon).

    Once the Spelling and Grammar window is open, you can change words, skip to the next where an error has been found, ignore certain words, learn new words, define words, and even guess the appropriate word based on the current entry. To check grammar as well, be sure to check the box in the panel.

    The words that will be initially highlighted are the same that are underlined in red for typos, or underlined in green for improper grammar. For auto-corrected words, you’ll find them underlined in blue.

    This is a great tool to use when writing or editing and it can be used in conjunction with the automatic checkers as well. Or, if you use an app that doesn’t yet support the feature like Chrome or Firefox, you can always copy and paste the text to check from Chrome into an app like TextEdit, open the spelling/grammar checker, and then take it back to Chrome or Firefox.

    Though the panel also features a dictionary, individual definitions are easier to find by hovering over a word with the cursor and performing a three-fingered tap to define it.

    9-18-12

    Source

  4. #253
    Administrator
    Join Date
    Jul 2011
    Location
    Northern Michigan
    Posts
    25,446
    Member #
    1529
    Liked
    314 times

    Stop “Save As” From Changing Original File in OS X Mountain Lion



    “Save As” is back in OS X Mountain Lion, but many users have complained of how it modifies the original file in addition to the newly saved file, thereby defeating the purpose of how many people use Save As. If this bothers you, you’ll be pleased to discover that from OS X 10.8.2 onward, there is now an easy option to toggle that prevents Save As from altering the original file when it’s called.

    Open a file and choose “Save As” as usual
    At the Save dialog window, uncheck the box for “Keep changes in original document”
    Save as usual
    As long as that checkbox is not active, the original file will not be modified.

    Though there isn’t a system-wide adjustment to control this behavior in all apps, you do only have to uncheck it once per application. In other words, if you uncheck it in Preview for one file, it will be automatically disabled for every other file opened in Preview app, unless it is checked again of course.

    5-25-12

    Source

  5. #254
    Administrator
    Join Date
    Jul 2011
    Location
    Northern Michigan
    Posts
    25,446
    Member #
    1529
    Liked
    314 times

    Kill Processes Using Wildcards with pkill in OS X



    For anyone who uses the command line regularly, a new tool called pkill makes killing processes significantly easier in OS X 10.8 and later. Improving on the standard kill command, pkill easily supports wildcards, making it easy to terminate all processes belonging to a match or even a specific user.

    At it’s most basic function, pkill can be used as follows:

    pkill ApplicationName

    For example, killing all processes belonging to “Safari”, including Safari Web Content processes, would be just a matter of typing:

    pkill Safari

    But pkill is perhaps best used with uid flags and wildcards, for example you can kill all processes that start with the letter “C” using the following:

    pkill C*

    Processes belonging to a single user can also be terminated easily with the -U flag and additional details:

    pkill -U username ProcessName

    For example, you could kill every process belonging to user Will with the following;

    sudo pkill -u Will *

    Assuming the specified user is logged in, all apps running by that user will be killed. However, the user will not be logged out and core system processes pertaining to that user will remain intact.

    Review the manual page for pkill for more uses and flags, and remember that average Mac users will be better served managing tasks with Activity Monitor instead. pkill is not available to OS X prior to Mountain Lion.

    10-19-12

    Source

  6. #255
    Administrator
    Join Date
    Jul 2011
    Location
    Northern Michigan
    Posts
    25,446
    Member #
    1529
    Liked
    314 times

    Create a New Email with Attachments Quickly by Keyboard Shortcut in OS X



    Dragging files into the Mail Dock icon is a quick way to send out email attachments, but if you’re faster with the keyboard, try setting up a keyboard shortcut to perform the same task instead. This makes any selected file(s) from the Finder just a speedy keystroke away from being sent off in an email:
    -----------------------------
    Open System Preferences from the  Apple menu and select “Keyboard”, then click on the “Keyboard Shortcuts” tab
    Choose “Services” from the sidebar, find “Messaging” and then check the box next to “New Email with Attachment”
    Click in the area to the right of “New Email with Attachment” and then set your keyboard shortcut, the example used Control+Alt+Command+A
    Close out of System Preferences and go to the Finder, select a file (or a few) and hit your keyboard shortcut to instantly create a new email with those files as attachments
    For some OS X 10.8+ users, the “Services” submenu may not show the option under Messaging, and it may be under Application Shortcuts instead.

    10-21-12

    Source

  7. #256
    Administrator
    Join Date
    Jul 2011
    Location
    Northern Michigan
    Posts
    25,446
    Member #
    1529
    Liked
    314 times

    Fix a “Safari Can’t Verify the Identity of the Website…” Error Message



    While Safari usually works just fine for browsing the web, there are times you may encounter a persistent error message about verifying the identity of a particular website. The precise error message may read something like this, and appear on almost any site, where “URL” is a variety of domains:

    “Safari can’t verify the identity of the website “URL”

    The certificate for this website is invalid. You might be connecting to a website that is pretending to be “URL”, which could put your confidential information at risk. Would you like to connect to the website anyway?”

    First, this may be a completely valid security warning, and you’ll want to click on the “Show Certificate” button to attempt to verify everything looks as it should yourself (the domain you are trying to visit is trusted, matches, etc). On the other hand, this may appear as an erroneous message from Safari too, and that’s what we’re looking to troubleshoot here.

    For a common example, you may find this alert popping up for Facebook related domains while visiting other sites on the web, in such a case, the error may read and look something like the following:





    “Safari can’t verify the identity of the website “static.ak.facebook.com”

    The certificate for this website is invalid. You might be connecting to a website that is pretending to be “static.ak.facebook.com”, which could put your confidential information at risk. Would you like to connect to the website anyway?”

    This can happen with almost any website, probably because of the ubiquitous Facebook “Like” and “Share” buttons found all over the web, which may lead users to see the certificate error when they’re somewhere completely different, like IMDB or NYTimes.

    Again, you’ll want to confirm the certificate is valid yourself before doing anything else, but if you’re convinced this is a client side error (that is, you or someone you are troubleshooting Safari for), you can often resolve it with the methods detailed below.

    This is aimed at resolving erroneous “can’t verify” messages from Safari only in situations where you trust all sites and domains listed, yet still receive the error message. This should be not used to ignore a valid security alert.


    Update Safari to the Latest Version

    You’ll want to do this before anything else, update to the latest version of Safari that is supported by your Macs version of OS X. You can check this by:

    Go to the  Apple menu and choose “Software Update”
    Install any and all updates available for Safari
    This is important because antiquated versions of Safari may have a bug, flaw, or unpatched security issue that is causing the certificate verification issue to be triggered. Many users find that simply updating Safari fixes the problem entirely.Optionally, you may want to try clearing cookies for the impacted domains too, but it shouldn’t be necessary.

    Still having issues on the newest Safari build? Now let’s get into a bit more technical troubleshooting…


    Fix Invalid Certificate Errors by Repairing Keychain

    The first method to resolve an erroneous certificate error is to turn to Keychain Access, and then verify and repair the certificates contained for the active user account in Mac OS X. Here’s how to do this:

    Quit out of Safari
    Hit Command+Spacebar to bring up Spotlight search, then type “Keychain Access” and hit return to launch the app
    Go to the “Keychain Access” menu and select “Keychain First Aid” from the menu list
    Enter the current user password, then check the “Verify” box, followed by choosing the “Start” button
    Next, choose the “Repair” radio box and then “Start” again




    Relaunch Safari and visit the website(s) again
    Things should now be back to normal and Safari should no longer throw the “can’t verify identity” error when visiting websites.

    Repairing the keychain is a common troubleshooting technique when various login details and account specifics are not being remembered properly in a variety of Mac apps or system tasks, even including wi-fi routers and persistent wi-fi network login requests, and it usually the resolves such problems.


    Confirm the System Time is Correct

    If you’re still having the problem, your time settings may be off. Yes, time, as in the clock on the computer. If that’s the problem, it’s quite easy to resolve:

    Be sure the Mac has active internet access, this is necessary to retrieve accurate date and time info from Apple servers
    Quit Safari
    Open the  Apple menu and go to System Preferences
    Choose “Date & Time” and check the box for “Set date and time automatically” (if the box is already checked, uncheck it, wait 10 seconds, then check it again)
    Relaunch Safari

    You should be good to go with no more verification errors. This works for situations where the system time is reporting as vastly different than what is expected from the remote server, like if a computer is reporting itself from the future (sorry McFly).





    3-27-14

    Source

  8. #257
    Administrator
    Join Date
    Jul 2011
    Location
    Northern Michigan
    Posts
    25,446
    Member #
    1529
    Liked
    314 times

    Use Tabs in Maps for Mac




    Tabs offer an excellent way to manage multiple windows without overly cluttering the screen of a Mac, a feature which is particularly valuable for smaller screen displays. Like many other apps in new Mac OS releases, the Apple Maps app for Mac now includes the ability to have multiple tabs of maps open concurrently, either in conjunction with multiple Maps windows or as a replacement for juggling multiple maps windows.


    How to Enable and Use Tabs in Maps for Mac

    You will need a modern version of MacOS to have this feature, anything beyond 10.12 is sufficient to have tab support in Maps for Mac:

    Open the Maps app if you have not done so already
    Pull down the “View” menu and choose “Show Tab Bar”






    To open a new Maps tab, go to the File menu and choose “New Tab”, or hit Command+T








    Each tab is it’s own unique maps view, so you can easily have multiple locations, maps, directions, or other mapping details open at once and flip between them quickly.




    1-12-17

    Source

  9. #258
    Administrator
    Join Date
    Jul 2011
    Location
    Northern Michigan
    Posts
    25,446
    Member #
    1529
    Liked
    314 times

    How to Close Other Tabs in Safari on Mac




    If you’re a browser tab hoarder in Safari, you may find it helpful to close out of all other tabs while maintaining a specifically chosen active tab to be open. This offers a fast way for Mac Safari users to close out of tabs that are no longer needed, but without closing all other opened tabs and windows.


    Close Other Tabs in Safari on Mac

    In Safari on Mac with multiple tabs open…

    Right-click (or Control+Click) on the tab you want to maintain
    Choose “Close Other Tabs” to instantly close all other tabs aside from the one selected






    The effect is immediately, any other opened tabs in the same Safari window will close out.







    To be clear, the Close Other Tabs option in Safari allows you to close out of all other tabs in a browser window without closing the entire window, and without closing all other active tabs and windows that are opened in Safari on the Mac. It’s window specific. If how this works is unclear, open a new Safari window and open a handful of tabs and try the feature out directly,

    This approach is obviously Mac specific, but iOS offers other ways to close specific tabs in Safari or close all tabs that are a bit different.





    2-20-17

    Source

  10. #259
    Junior Member
    Join Date
    Apr 2017
    Posts
    1
    Member #
    8473
    if you don't want to use keyboard and mouse, you can have a try MaskaTouch, it is can turn iMac into a touchscreen.
    Attached Thumbnails Attached Thumbnails OS X Tips and shortcuts-video-s-photo.jpg  

Page 26 of 26 FirstFirst ... 16 24 25 26

Remove Ads

Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. iPod, iPad and iPhone Tips and Guide
    By Col.bris in forum Apple Discussions
    Replies: 6
    Last Post: 01-11-2016, 09:17 PM
  2. Shortcuts
    By Poisonivy in forum iPad
    Replies: 3
    Last Post: 10-17-2011, 04:08 PM
  3. iPad Tips and Tricks!
    By iJasonTATE in forum iPad
    Replies: 27
    Last Post: 08-02-2011, 11:47 PM

Contact Us
Back to top