56 useful mac shortcuts

56 个有用快捷键

clip_image002

Refer http://www.mactricksandtips.com/2008/10/mac-101-56-useful-mac-shortcuts.html

Basic Shortcuts

This is a list of shortcuts that should be hardwired into your brain. These are usually the most commonly used. Most of the shortcuts on the list are for Finder, although a lot will work in other applications. If I wrote a list for every single application out there I would be here for ever.

+ Q = Quit
+ W = Close window
+ O = Open a file in your application
+ P = Print
+ C = Copy
+ V = Paste
+ X = Cut
+ S = Save
+ Z = Undo
+ A = Select All
+ Y or Space = Quicklook
+ Tab = Cycle through windows

Personally I use all of those shortcuts all of the time. It helps to remember them and use them. Most will come naturally over time.

Other Shortcuts

This is the list where every other shortcut resides. Have a look through and see if there is anything which is of interest to you.

+ + 3 = Take fullscreen picture
+
+ 4 = Take selected area screenshot
+
+ 4 + Space = Take screenshot of window or menu
+
+ Escape = Bring up Force Quit window
+ Space = Spotlight search
+ ` (back tick) = Cycle through applications windows
+ . = Cancel operation
+
+ ? = Open help
+ I = Get Info
+ [ = Go backwards in history in Finder
+ ] = Go forwards in history in Finder
+ Up Arrow = Go to previous folder in hierarchy
+ Down Arrow = Open folder of file in Finder
+ + T = Show hide Finder
s toolbar
+ Delete = Move item to Trash
+
+ Delete = Empty Trash
+ E = Eject disk
+ F = Find
+ G = Next result in Find option
+ H = Hide application
+ M = Minimize
+ N = New window
+
+ W = Close all windows
+
+ Z = Redo
+
+ H = Go to Home folder
+
+ D = Go to Desktop
+
+ C = Go to Computer
+
+ K = Go to Network
+
+ I = Go to iDisk
+
+ A = Go to Application
+
+ U = Go to Utilities
+
+ G = Go to folder
+
+ Q = Log out
+ +
+ Q = Log out immediately.
+ D = Duplicate in Finder
+
+ 8 = Turn on Voice Over
+
+ + = Zoom in (if turned on)
+ +
=Zoom Out
+
+ D = Show/Hide Dock
^ + Eject = Show shutdown dialog
^ +
+ Eject = Close all and restart
+
+ Eject = Sleep
+ Shift + F = Find file by name
+ R = Refresh widget

shortcut key in Linux console

Linux 命令行快捷键

clip_image001

     其实也只是知道其中几个,比如ctrl+a可以跳转到开头,ctrl+e可以跳转到开头,ctrl+r可以快速搜索使用过的命令。

     刚好有人问这个问题,就总结了一下。

搜索操作快捷键

clip_image002

  搜索历史命令的快捷键:Ctrl + r

  它是通过关键字去匹配历史记录,执行后会提示:(reverse-i-search)`’:

  输入你记得的关键字去匹配,如果出现你需要的命令,按Enter就可以选择命令;如果不是请输入更精确的关键字去匹配。

移动操作快捷键

clip_image003

Ctrl + f– 向右移动一个字符,当然多数人用
Ctrl + b–
向左移动一个字符, 多数人用
ESC + f–
向右移动一个单词,MAC下建议用ALT +
ESC + b–
向左移动一个单词,MAC下建议用ALT +
Ctrl + a–
跳到行首
Ctrl + e–
跳到行尾

删除操作快捷键

clip_image004

Ctrl + d– 向右删除一个字符
Ctrl + h–
向左删除一个字符
Ctrl + u–
删除当前位置字符至行首(输入密码错误的时候多用下这个)
Ctrl + k–
删除当前位置字符至行尾
Ctrl + w–
删除从光标到当前单词开头

命令切换操作快捷键

clip_image005

Ctrl + p– 上一个命令,也可以用
Ctrl + n–
下一个命令,也可以用

其他操作快捷键

clip_image006

Ctrl + y– 插入最近删除的单词
Ctrl + c–
终止操作
Ctrl + d–
当前操作转到后台
Ctrl + l–
清屏
(有时候为了好看)

Linux命令行快捷键

Linux命令行快捷键

 linux命令行快捷键:

C-k: 先按住Ctrl键,然后再按k键;

M-k:先单击Esc键,然后再按k键。

 

移动光标:

C-a:移到行首

C-e:移到行尾

C-b:往回()移动一个字符

C-f:往后()移动一个字符

M-b:往回()移动一个单词

M-f:往后()移动一个单词

 

删除字符:

C-h:删除光标左方位置的字符

C-d:删除光标右方位置的字符(注意:当前命令行没有任何字符时,会注销系统或结束终端)

 

删除单词:

M-d:由光标位置开始,删除单词,直到该单词结束。

C-w:由光标位置开始,往左删除单词。

   

删除行:

C-k:由光标所在位置开始,删除右方所有的字符,直到该行结束。

C-u:由光标所在位置开始,删除左方所有的字符,直到该行开始。

C-a C-k    C-e C-u C-k C-u 组合可删除整行。

C-l:清除屏幕,然后,在最上面重新显示目前光标所在的这一行的内容。

 

复原操作:

C-_:回复之前的状态。撤销操作。

 

粘贴:

C-y:把之前删除的字符或字符串,贴到光标所在位置。

 

重复执行操作动作:

M-操作次数  操作动作: 指定操作次数,重复执行指定的操作。

 

查找历史命令

C-p:显示当前命令的上一条历史命令

C-n:显示当前命令的下一条历史命令

 

C-r:搜索历史命令,随着输入会显示历史命令中的一条匹配命令,Enter键执行匹配命令;ESC键在命令行显示而不执行匹配命令。

press key ‘d’ will hide all windows when I use vncviewer connect to Ubuntu

VNCViewer远程桌面按d后最小化桌面

       使用VNCViewer登录了ubuntu以后,发现每次按下d键时都会隐藏所有的窗口,后来看了一下,是因为Ubuntu内置的默认有个快捷键shortcutd。如图示:

clip_image002

       Hide all normal windows的快捷键为D,只需要改成你比较不常用的,或者诸如ALT+D等等即可解决问题。