Mac Operation Tips

Source: Internet
Author: User
Tags delete key

1. Maintain your Mac

Mac OS X is a very simple to use the operating system, generally do not need to install anti-virus tools, most of the program installation is very simple, directly to the application of the suffix program to drag into the app folder. However, if you find an exception when you use the system, you should be doing routine maintenance.

Open Disk Management, select your system disk, click "Repair Disk Permissions" to check and repair the disk permissions. You can also perform a maintenance script manually after completion:
sudo periodic daily
sudo periodic weekly
sudo periodic monthly
You can also do it all at once:
sudo periodic daily weekly monthly
when you're done with these things, your Mac will be alive and moving on the road. These actions can be performed on a regular basis.


2.

OS X provides a very handy tool for capturing screen images anywhere, anytime.
Shift+command+3: Full screen; shift+command+4: Select by mouse.
The captured images are stored on the desktop by default and are named by time.
The system default format is PNG, you can modify the file type by the following command, for example:
Defaults write Com.apple.screencapture type-string JPEG


3. Recommend a few useful gadgets

Totalfinder:finder's Enhanced plugin, the Finder plugin, adds multiple tabs (like Chrome's multi-tab), dual-panel, UI settings to the Finder. Fee software, 18 knives.
Breeze: Window management software, OPTIONG+1/2/3 corresponding maximized window/left Half screen window/right half screen window respectively. Fee software, 8 knives.
Trillian: Integrated Msn,gtalk,twitter and so on, the performance is stable, the user experience is also good. Free software that can be downloaded directly from the App Store.
Smcfancontrol: Fan control software, free. OS x is insensitive to fan control and increases fan speed when the CPU temperature is high, when the surface of the machine is already relatively hot. With this software, the fan speed can be controlled freely. Summer air-conditioned room generally 3000-4000 turn is enough, winter generally do not need to open.

4. Alfred

Finally, we introduce a Quick Launch app free gadget--alfred, the link in the App Store: https://itunes.apple.com/cn/app/alfred/id405843582?mt=12. After installation, use Alt+space to call out, enter the Chinese or English name of any application, you can quickly locate the program, enter the open. For example, I want to open the Activity manager, enter a (the Activity manager in English name is Activity Monitor), will see the activity manager in Alfred's small window, select and enter to open. In addition, Alfred's window can also be a computer, the direct input expression is calculated, you can also locate the file directly through the Find file name.

With this small software, in fact, the dock is not very useful, so I will set the dock to hide, give the screen more space ...

1. Program switching

In OS X, program switching can be done through Command+tab, Command+tab sequential switching, command+shift+tab in reverse order, functions similar to Win7 ALT + TAB.

OS x also provides a switch to the same set of programs, such as you open a number of preview programs to read PDFs, you want to switch between these PDFs to read, You can use command+ ' (keys below ESC) to switch to the same set of programs.

2. Remote Copy

OS x provides an SSH-based remote copy command SCP, which is provided by most Linux and Unix systems, and it is easy to copy files securely between two machines, with the following commands:

SCP./testfile.txt [Email protected]:/tmp

You will be asked to enter the username password after the carriage return, only the testfile.txt in the current directory will be copied to the TMP directory of the other machine.

SCP [email protected]:/tmp/testfile.txt./

Copy from remote to local


Today we are going to talk about two concepts, one is the inode and the other is history.

Mac's file system is completely different from windows, and the information required for the file is contained in the Inode (Index node). Each file has an inode, and the file system uses the Inode to identify the file. In simple terms, the inode contains the metadata information for the file, and the file name and contents do not contain any control information. The Inode is at the heart of the Unix/linux series file system design, and interested children's boots can be accessed online for information. For ordinary users, the most intuitive performance is that, in the Mac, you can rename the files you are using, change the directory, or even put in the trash, will not affect the current file usage.

Each user who subscribes to this channel receives a message that replies to the history and can get the 5 most recent push items. This history is also taken from the History command under Mac.

Open the terminal input history, all the historical commands will be displayed, to find a command executed, you can also:

History|grep Apache

Locate the command number on the left (for example, 1001) at the terminal input

!1001

Can execute the original order.



mac General shortcut keys, this part of the content has been introduced, but there are children's boots want to have a summary, based on the 28 principle, I put the most commonly used shortcut keys listed, for non-developers, should be enough:
Command+tab switching applications in any case-forward loop
Shift+command+tab Switching applications-loop backwards
command+delete Move the selected resource to the Trash
Shift+command+delete emptying the wastepaper basket (with confirmation)
Shift+option+command+delete emptying the wastepaper basket directly
command+~ switching between multiple windows of the same application
Command+f calls out most of the application's query capabilities
command+c/v/x Copy/paste/cut
command+n New application window
Command+q exit the current application, the top left corner of all the application interface has red and yellow green Three small icons, click the green extension to the most suitable window size, * * * minimized, red off the current window, but did not exit the program. Use COMMAND+Q with Command+tab to close applications most quickly
Command+l The current program is a browser, you can directly navigate to the address bar
command+ "+/-" to enlarge or shrink the font
Control+space Exhaled Spotlight
command+space Switching Input Method

For the last two shortcuts, I am personally more accustomed to control+space switch input method, so made a custom configuration.

1 . Application installation and uninstallation: The application in OS X is similar to the bundle used in OSGi, which encapsulates the configuration files and programs in a package. For the average user, all the programs you see in the launchpad are like an icon, but this icon is not a shortcut in Windows, but a packaged bundle, from the point of view of the program it is a folder, and for ordinary users, it is OK to know the icon to run the program. This design approach makes installation of more than 95% of the software in OS X simple. If you are turning from windows, you will think that installation and uninstallation are simply outrageous. The installer is to drag Xxx.app into the/applications (application folder), uninstall is to remove the program from the directory. Well, you can understand that more than 95% of the software in OS x is "Green software" in Windows.

2. disk Image: The disk image is similar to the ISO in Windows, but the file suffix is dmg. The disk image can be directly attached to OSX, which behaves like a disk partition. Double-clicking the file can be opened directly, and the attached disk image can be found on the device in the left column of the Finder. DMG is the most common form of file organization under Mac, and almost all of the installers are published in DMG mode. In general, the installer is to open the relevant program DMG file, there is an app and application folder, the app can be dragged into the application. In addition, we can use Disk utility to restore the files in DMG to real hard disk files, or to make DMG files.

3. How do I copy the list of file names for all the files in a directory? Very simple, command+a,command+c. Then open a text editor (such as TextMate) and Command+v.

1, modify your login window when we log in to OS X by default, the system displays a list of logged-in users, you need to click the user to use the mouse, and then appear in the Login box, enter a password to log in. This is not acceptable for many keyboard controls. We need to enter the user name password directly login! Open System Preferences-users and groups, click the Login option under the left (it's strange that many people can't find this), modify the login window on the right to name and password. Log out of the login, this time you are satisfied with it.

2, a lot of people for the first time with the Mac keyboard is will find, Apple is too stingy, backspace key wood, Pageup/pagedown/home/end also wood. Don't worry, do you still have the DELETE key and the upper and lower left arrow keys? Delete relative to the BACKSPACE key, Fn+delete can be deleted, fn+ up and down the direction of the key can achieve pageup/pagedown/home/end function, one can not less


Mac Operation Tips

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.