Use printer software from a file on your Mac: Click the Use pop-up menu, then choose Other. Use printer software installed on your Mac or downloaded from Apple: Click the Use pop-up menu, then choose Select Software. If AirPrint isn’t in the pop-up menu, your printer doesn’t support it.
![]() ![]() Best Printer Running Sierra Mac OS X 10Simply type the following commands, putting the locations of the two files after each other, separated by a space: opendiff ~/Desktop/text1.txt ~/Desktop/text2.txtIn the example above, we're diffing two text files located on the desktop, one named "text1.txt" and the other named "text2.txt." When you run this command, your Mac will launch the FileMerge app ( Figure C) with the two files opened side by side, and the differences between the two files will be highlighted. How to use the opendiff Terminal command to find differences between filesHave you ever wanted to find the differences between two files but resorted to downloading an app, or maybe just opened the two files side by side and eying the changes? There's a better way to compare two files of the same type, and it's built into every Mac-it's the opendiff command. When run, these commands will flush the DNS cache on your Mac and will begin repopulating it on all subsequent domain lookups. Type in your password when prompted and then press return. Fortunately, you can easily resolve this by flushing the DNS cache on your Mac and allowing it to look up domains on the remote DNS service instead.To do this, find your version of macOS below and run the command for your version.MacOS 10.12 (Sierra) and later sudo killall -HUP mDNSResponder sudo killall mDNSResponderHelper sudo dscacheutil -flushcacheMac OS X 10.11 (El Capitan) sudo killall -HUP mDNSResponderThese commands use the sudo keyword, which means that you will need to enter your macOS user account password before the command can execute.This is great for determining if you need to restart your Mac. You can figure out how long your Mac has been running nonstop with the uptime command in the Terminal by typing the following command: uptimeThis simple command will allow you to get the number of days, hours and seconds since the last time your Mac rebooted. Because the system is so stable, we often forget how long the computer has been booted. How to find out how long your Mac has been turned onIt's a good idea to reboot your Mac from time to time. Mac system 9 emulatorThis is great for when you're using the command line to manage files. If you're still unable to get it to reboot after entering this command, add "sudo" in front, which will require your administrator password but guarantee to shut down your Mac every time.SEE: How to migrate to a new iPad, iPhone, or Mac (TechRepublic Premium) How to use the Terminal command qlmanage to get a QuickLook previewThe macOS QuickLook feature provides an easy way to view images, PDFs and other documents in place in the Finder without the need to open the document's app by pressing Space when a file is selected in the Finder.This same QuickLook preview is also available through the Terminal on any supported file by typing this command: qlmanage -p ~/Desktop/text.txtThis example command above opens the QuickLook window with the file passed into the command. Simply open the Terminal and type: shutdown -r nowWhen you enter this command into the Terminal and press return, your computer will go down for a shutdown immediately.
0 Comments
Leave a Reply. |
AuthorJeffrey ArchivesCategories |