当前位置: 首页 > article >正文

Linux 终端快捷键 / 键盘快捷键

注:本文为 “Linux 快捷键” 相关文章合辑

英文引文,机翻未校。

未整理去重。


Linux 终端常用快捷键

组合键         ~~~~~~~        功能描述
Ctrl + a光标移动到行首(Ahead of line),相当于通常的 Home 键
Ctrl + b光标往回 (Backward) 移动一个字符位置
Ctrl + c在多数类 Unix 系统及部分命令行环境中,用于取消当前行输入的命令或终止正在运行的进程。
但在一些特定应用程序中,可能执行复制功能
Ctrl + d在类 Unix 系统命令行,无字符时相当于 exit 退出当前 shell 会话;处理多行标准输入时表示 EOF(文件结束符)。
在部分文本编辑器(如 Vim)中有其他功能
Ctrl + e光标移动到行尾(End of line)
Ctrl + f光标向前 (Forward) 移动一个字符位置
Ctrl + h退格删除一个字符,相当于通常的 Backspace 键
Ctrl + k删除光标之前到行尾的字符
Ctrl + l执行清屏操作,多数终端是将屏幕内容向上滚动隐藏来实现清屏效果。
在某些非标准终端环境中可能无效
Ctrl + n调出命令历史中的下一条(Next)命令,相当于通常的下箭头。在一些定制化或特殊命令行环境中可能不支持
Ctrl + p调出命令历史中的前一条(Previous)命令,相当于通常的上箭头。
在一些定制化或特殊命令行环境中可能不支持
Ctrl + r显示 “:” 号提示,根据用户输入查找相关历史命令(reverse - i - search)。找到合适命令后,按回车键执行,按左箭头键进入编辑模式。
非交互式命令行场景可能无法使用
Ctrl + u删除光标之前到行首的字符
Ctrl + w在许多类 Unix 命令行中,用于删除光标前的一个单词(按词分隔,以空格、标点等为分隔符)
Ctrl + y可将之前用 Ctrl + u、Ctrl + k 等删除的内容粘贴回来(类似粘贴删除缓冲区内容)
Alt + b在一些命令行中,光标往回 (Backward) 移动一个单词位置(与 Ctrl + b 按字符移动不同)
Alt + f在一些命令行中,光标向前 (Forward) 移动一个单词位置

注意事项

  1. 这些快捷键功能在不同操作系统(如 Windows、Linux、macOS)以及不同终端仿真器(如 xterm、gnome - terminal、iTerm2 等)中,功能和可用性可能存在差异。

  2. 对于一些特殊的 shell 或命令行工具(如 fish shell 等),可能会有独特的快捷键设置。


Useful Linux Terminal Keyboard Shortcuts Cheat Sheet

Linux 终端键盘快捷键备忘单

Ravi Saive
Last Updated: July 24, 2023

While working on the Linux command-line environment, there is more to using this OS interface than just keying in and executing various Linux commands_.
在 Linux 命令行环境中工作时,使用此操作系统界面不仅仅是键入和执行与您希望实现的计算目标相关的各种 Linux 命令。

There are a variety of Linux command line keyboard shortcuts that will help you as a user in mastering command editing, command control, command recall, and other helpful command tweaks.
有多种 Linux 命令行键盘快捷键可以帮助您作为用户掌握命令编辑、命令控制、命令调用和其他有用的命令调整。

This article guide will walk us through some of these Linux command line keyboard shortcuts which should hopefully lessen the complexities around the usage of the Linux 终端环境。
本文指南将引导我们了解其中一些 Linux 命令行键盘快捷键,这些快捷键有望降低 Linux 终端环境使用的复杂性。

Linux Terminal Command Editing Shortcuts

Linux 终端命令编辑快捷方式

CommandUsage
Ctrl + aThis keyboard shortcut takes the blinking cursor to the beginning of a command.
将闪烁的光标移动到命令的开头。
Ctrl + eThis keyboard shortcut takes the blinking cursor to the end of a command.
将闪烁的光标移动到命令的末尾。
Ctrl + kDeletes everything between the cursor position and the end of the command.
删除光标位置到命令末尾的所有内容。
Ctrl + uDeletes everything between the cursor position and the start of a command.
删除光标位置到命令开头的所有内容。
Ctrl + wBackward deletes one word from the cursor position.
从光标位置向左删除一个单词。
Ctrl + yPastes cut word/text (by deletion shortcut like Ctrl+w) in front of the cursor.
粘贴被删除的单词或文本(如通过 Ctrl+w 删除的内容)到光标前面。
Ctrl + xxEnables navigation between the start of a command and the current cursor position.
在命令开头和当前光标位置之间切换。
Alt + bNavigate backward word by word from the current cursor position.
从当前光标位置向左逐词移动。
Alt + fNavigate forward word by word from the current cursor position.
从当前光标位置向右逐词移动。
Alt + dFrom the cursor position, delete to the end of the word.
从光标位置删除到单词末尾。
Alt + uMake uppercase from the cursor position to the end of the word.
从光标位置到单词末尾转换为大写。
Alt + lMake lowercase from the cursor position to the end of the word/text.
从光标位置到单词末尾转换为小写。
Alt + tSwap previous with current word.
交换前一个单词和当前单词。
Ctrl + fMove a character forward from the cursor position.
从光标位置向右移动一个字符。
Ctrl + bMove a character backward from the cursor position.
从光标位置向左移动一个字符。
Ctrl + dDelete the character highlighted by the cursor.
删除光标所指向的字符。
Ctrl + hDelete the character behind the cursor.
删除光标后面的字符。
Ctrl + tSwap the character under the cursor with the previous one.
交换光标下的字符和前一个字符。

Linux Terminal Command Control Shortcuts

Linux 终端命令控制快捷键

CommandUsage
Ctrl + lClear the terminal screen of all commands.
清除终端屏幕上的所有命令。
Ctrl + sPrevents printing output to the screen when running verbose commands.
暂停命令输出到屏幕(在运行冗长命令时)。
Ctrl + qRe-allows output to the terminal screen previously stopped by Ctrl + s.
恢复被 Ctrl + s 暂停的输出。
Ctrl + cTerminates a command’s execution.
终止命令的执行。
Ctrl + zStops or suspends a command.
暂停或停止命令。

Linux Command Recall Shortcuts

Linux 命令调用快捷方式

CommandUsage
Ctrl + rSearch command history backward.
向后搜索命令历史。
Ctrl + gEscape from history searching mode.
退出命令历史搜索模式。
Ctrl + pPrints previous command from the command history.
打印命令历史中的上一条命令。
Ctrl + nWalk you through printed command history commands.
顺序浏览已打印的命令历史命令。
Alt + .Adopts the previous command’s last word.
使用上一条命令的最后一个单词。

Linux Bash Bang (!) Commands Shortcuts

Linux Bash Bang (!)命令快捷方式

CommandUsage
!!Executes the most recently executed command.
执行最近一次执行的命令。
!pingExecutes a recently executed command starting with the word ping.
执行最近一次以 “ping” 开头的命令。
!ping:pPrints previously executed command associated with ping and make it the latest addition in the command history.
打印与 “ping” 相关的最近一次命令,并将其添加到命令历史中。
!$Prints the previously executed command’s last word.
打印最近一次执行命令的最后一个单词。
!$:pPrints out the substitute word for ! ∗ ∗ . < b r > 打印 ∗ ∗ ! **. <br>打印 **! .<br>打印! 的替代单词。
!*Prints out previously executed command with exception to its last word associate.
打印最近一次执行的命令,但不包括最后一个单词。
!*:pPrints a possible substitute for !*.
打印 !* 的可能替代内容。

With this Linux Command Line keyboard shortcuts cheat sheet, you should be able to attain more productivity in the Linux terminal environment.
使用此 Linux 命令行键盘快捷键备忘单,能够在 Linux 终端环境中获得更高的工作效率。


240 Linux Keyboard Shortcuts & Terminal Shortcuts

240 Linux 键盘快捷键和终端快捷键

By Rakesh Shukla
Updated on June 23, 2024

In this post, we’ve compiled a list of Linux keyboard shortcuts to help you work efficiently. The key shortcuts for Linux will help you navigate between windows, edit text, manage files, open apps quickly, and so on. Moreover, we have also listed the keyboard shortcuts for popular Linux distributions like Ubuntu, GNOME, Debian, Linux Mint Cinnamon, Xfce, and LXDE.
在这篇文章中,我们编译了一份 Linux 键盘快捷键列表,以帮助您高效工作。Linux 的关键快捷方式将帮助您在窗口之间导航、编辑文本、管理文件、快速打开应用程序等。此外,我们还列出了流行的 Linux 发行版的键盘快捷键,如 Ubuntu、GNOME、Debian、Linux Mint Cinnamon、Xfce 和 LXDE。

Whether you’re a seasoned pro or just getting started, nobody can remember all the keyboard shortcuts for Linux. That’s why, we have created a list of all Linux keyboard shortcuts and attached a PDF that you can download and use for reference. Using these shortcuts, you can boost your productivity, save time, work more efficiently, and impress your colleagues with your lightning-fast skills.
无论您是经验丰富的专业人士还是新手,没有人能记住 Linux 的所有键盘快捷键。这就是为什么我们创建了一个所有 Linux 键盘快捷键的列表,并附上了一个 PDF,您可以下载并使用以供参考。使用这些快捷方式,您可以提高工作效率、节省时间、更高效地工作,并以您快如闪电的技能给您的同事留下深刻印象。

Basic Linux Keyboard Shortcuts

基本 Linux 键盘快捷键

We’ll start our list of keyboard shortcuts for Linux with a bunch of general shortcuts most of which are common to other operating systems like Windows and macOS as well.
我们将从一堆通用快捷键开始我们的 Linux 键盘快捷键列表,其中大多数也是 Windows 和 macOS 等其他作系统通用的。

  1. Ctrl + Alt + F1 to F6: Switch to the virtual console.
    Ctrl + Alt + F1 到 F6:切换到虚拟控制台。
  2. Ctrl + Alt + F7: Switch to the first graphical terminal.
    Ctrl + Alt + F7:切换到第一个图形终端。
  3. Ctrl + A: Select all items or text
    Ctrl + A:选择所有项目或文本
  4. Ctrl + C: Copy selected text, image, or file to the clipboard.
    Ctrl + C:将选定的文本、图像或文件复制到剪贴板。
  5. Ctrl + N: Create a new file in the currently open program.
    Ctrl + N:在当前打开的程序中创建新文件。
  6. Ctrl + P: Print the current document.
    Ctrl + P:打印当前文档。
  7. Ctrl + Q: Quit the application in focus.
    Ctrl + Q:退出焦点中的应用程序。
  8. Ctrl + S: Save the currently opened file.
    Ctrl + S:保存当前打开的文件。
  9. Ctrl + V: Paste copied text, image, or some other object from the clipboard.
    Ctrl + V:从剪贴板粘贴复制的文本、图像或其他一些对象。
  10. Ctrl + W: Use this shortcut to close the current file.
    Ctrl + W:使用此快捷键关闭当前文件。
  11. Ctrl + X: Cut selected text, image, or file.
    Ctrl + X:剪切选定的文本、图像或文件。
  12. Ctrl + Z: Undo the last action.
    Ctrl + Z:撤消上一个作。
  13. Ctrl + Alt + D: Minimize all windows and show your desktop. You can repeat it to maximize your windows in the same order.
    Ctrl + Alt + D:最小化所有窗口并显示您的桌面。您可以重复此作以相同的顺序最大化您的窗口。
  14. Ctrl + Alt + L: Locks the screen.
    Ctrl + Alt + L:锁定屏幕。
  15. Ctrl + Alt + T: Open a new Terminal window.
    Ctrl + Alt + T:打开一个新的终端窗口。

Bonus Tip: Linux Shortcut Keys for Shutdown

额外提示:用于关机的 Linux 快捷键

There is no keyboard shortcut to shut down Linux. However, you can do that by using commands in the Linux Terminal. Launch the Terminal by using Ctrl + Alt +T and execute the Linux shutdown command in the following format.
没有键盘快捷键可以关闭 Linux。但是,您可以通过使用 Linux 终端中的命令来执行此作。使用 Ctrl + Alt +T 启动终端,然后按以下格式执行 Linux shutdown 命令。

shutdown [OPTION] [TIME]

Examples: 例子:

  • Shut down within a minute: shutdown or shutdown-h
    在一分钟内关闭:shutdownshutdown-h
  • Shut down immediately: shutdown -h 0 or shutdown now
    立即关机:shutdown -h 0shutdown now
  • Restart Linux: shutdown -r 重新启动 Linux:shutdown -r
  • Restart the computer immediately: shutdown -r 0 or shutdown now
    立即重新启动计算机:shutdown -r 0shutdown now
  • Shut down Linux after 30 minutes: shutdown -h 30 or shutdown -h +30
    30 分钟后关闭 Linux:shutdown -h 30shutdown -h +30
  • Restart Linux after 15 minutes: shutdown -r 15 or shutdown -r +15
    15 分钟后重启 Linux:shutdown -r 15shutdown -r +15
  • Shut down or restart Linux at a given time: shutdown -h 10:30 or shutdown -r 12:45
    在给定时间关闭或重新启动 Linux:shutdown -h 10:30shutdown -r 12:45
  • Command Linux to shut down and cut off the power supply: shutdown -P
    命令 Linux 关闭并切断电源:shutdown -P
  • Cancel scheduled shutdown or restart: shutdown -c
    取消计划关闭或重启:shutdown -c

Linux Terminal Keyboard Shortcuts

Linux 终端键盘快捷键

Users of other OSs might do without the command prompt but Linux, being a go-to environment for tech-savvies, can’t be exploited unless you use the Terminal. The following Linux Bash Terminal keyboard shortcuts will help you boost your productivity.
其他作系统的用户可能没有命令提示符,但 Linux 作为精通技术的人的首选环境,除非您使用终端,否则无法利用。以下 Linux Bash Terminal 键盘快捷键将帮助您提高工作效率。

  1. !!: Re-execute the most recently executed command.
    !!: 重新执行最近执行的命令。
  2. !$: Print the previously executed command’s last word.
    ! $:打印之前执行的命令的最后一个单词。
  3. !^: Use the first argument of the previous command in the current command.
    !^:在当前命令中使用前一个命令的第一个参数。
  4. !ping: Execute a recently used command from the bash history that began with the word ‘ping’.
    !ping:从 bash 历史记录中执行最近使用的命令,该命令以单词 ‘ping’ 开头。
  5. !x: Execute a recently used command that began with ‘x’.
    !x:执行最近使用的以 ‘x’ 开头的命令。
  6. Alt + .: Use the last argument of the previous command.
    Alt + .:使用上一个命令的最后一个参数。
  7. Alt + <: Go to the first line of the bash history.
    Alt + <:转到 bash 历史记录的第一行。
  8. Alt + >: Go to the last line of the bash history.
    Alt + >:转到 bash 历史记录的最后一行。
  9. Alt + ?: Display files or folders in the current path.
    Alt + ?:显示当前路径中的文件或文件夹。
  10. Alt + B: Move the cursor one word backward.
    Alt + B:将光标向后移动一个单词。
  11. Alt + Backspace: Delete the last word.
    Alt + Backspace:删除最后一个单词。
  12. Alt + D: Delete the word after the cursor.
    Alt + D:删除光标后面的单词。
  13. Alt + Delete: Delete the word before the cursor.
    Alt + Delete:删除光标前的单词。
  14. Alt + F: Move the cursor one word forward.
    Alt + F:将光标向前移动一个单词。
  15. Alt + P: Perform a reverse search in the terminal history.
    Alt + P:在终端历史记录中执行反向搜索。
  16. Alt + R: Revert the changes made in a command line.
    Alt + R:还原在命令行中所做的更改。
  17. Alt + T: Swap the current word with the word preceding it.
    Alt + T:将当前单词与其前面的单词交换。
  18. Alt + C: Capitalize the character under the cursor.
    Alt + C:将光标下的字符大写。
  19. Alt + L: Use lowercase from the current cursor position to the end of the word.
    Alt + L:从当前光标位置到单词末尾使用小写。
  20. Alt + U: Use uppercase from the current cursor position to the end of the word.
    Alt + U:从当前光标位置到单词末尾使用大写。
  21. Ctrl + _: Undo your last keyboard action. Repeat this shortcut to undo multiple times.
    Ctrl + _:撤消上一个键盘作。重复此快捷键可多次撤消。
  22. Ctrl + A: Move the cursor to the beginning of the line.
    Ctrl + A:将光标移动到行首。
  23. Ctrl + E: Move the cursor to the end of the line.
    Ctrl + E:将光标移动到行尾。
  24. Ctrl + B: Move one character backward.
    Ctrl + B:向后移动一个字符。
  25. Ctrl + F: Move one character forward.
    Ctrl + F:向前移动一个字符。
  26. Ctrl + C: Send SIGINT signal to kill or abort the current process.
    Ctrl + C:发送 SIGINT 信号以终止或中止当前进程。
  27. Ctrl + D: Close the current terminal window.
    Ctrl + D:关闭当前终端窗口。
  28. Ctrl + G: Exit the history search mode without running a command
    Ctrl + G:退出历史搜索模式而不运行命令
  29. Ctrl + H: Remove the last character typed.
    Ctrl + H:删除键入的最后一个字符。
  30. Ctrl + I: Autocomplete a command.
    Ctrl + I:自动完成命令。
  31. Ctrl + J: Start a new command line.
    Ctrl + J:启动新的命令行。
  32. Ctrl + K: Erase everything from the current cursor position to the end of the line.
    Ctrl + K:擦除从当前光标位置到行尾的所有内容。
  33. Ctrl + U: Erase everything from the current cursor position to the beginning of the line.
    Ctrl + U:擦除从当前光标位置到行首的所有内容。
  34. Ctrl + L: Clear the Terminal screen. This keyboard shortcut is a substitute for the clear command.
    Ctrl + L:清除终端屏幕。此键盘快捷键是 clear 命令的替代品。
  35. Ctrl + M: Works like the Enter key.
    Ctrl + M:工作原理类似于 Enter 键。
  36. Ctrl + P or Up arrow: Display the previous command.
    Ctrl + P 或向上箭头:显示上一个命令。
  37. Ctrl + N or Down arrow: Display the next command.
    Ctrl + N 或向下箭头:显示下一个命令。
  38. Ctrl + O: Send the command from the search mode to the terminal and execute it.
    Ctrl + O:将命令从搜索模式发送到终端并执行。
  39. Ctrl + Q: If the terminal window stops responding, this shortcut will resume the terminal output.
    Ctrl + Q:如果终端窗口停止响应,此快捷方式将恢复终端输出。
  40. Ctrl + R: Recall the last command matching the string you typed.
    Ctrl + R:调用与您键入的字符串匹配的最后一个命令。
  41. Ctrl + S: Pause the terminal output.
    Ctrl + S:暂停终端输出。
  42. Ctrl + T: Swap the last two characters before the cursor.
    Ctrl + T:交换光标之前的最后两个字符。
  43. Ctrl + W: Delete the command or word preceding the cursor.
    Ctrl + W:删除光标前面的命令或单词。
  44. Ctrl + XX: Toggle between the beginning of the command line and the current cursor position.
    Ctrl + XX:在命令行开头和当前光标位置之间切换。
  45. Ctrl + Y: Paste the deleted text on the current cursor position.
    Ctrl + Y:将已删除的文本粘贴到当前光标位置。
  46. Ctrl + Z: Suspend the current command execution and send the current process to the background.
    Ctrl + Z:暂停当前命令执行,并将当前进程发送到后台。
  47. Ctrl + [: Functions as the Escape key.
    Ctrl + [:用作 Escape 键。
  48. Esc + T: Swap the last two words before the cursor.
    Esc + T:交换光标前的最后两个单词。
  49. Tab: Autocomplete a command, filename, directory name, and command options.
    Tab:自动完成命令、文件名、目录名称和命令选项。

Download Linux Keyboard Shortcuts PDF
下载 Linux 键盘快捷键 PDF

Ubuntu Keyword Shortcuts

Ubuntu 关键字快捷方式

Ubuntu is the most popular Linux distribution because it provides unparalleled flexibility and customization options. However, navigating through apps and settings can be time-consuming without proper knowledge of keyboard shortcuts. The following Ubuntu keyword shortcuts will enhance your efficiency.
Ubuntu 是最受欢迎的 Linux 发行版,因为它提供了无与伦比的灵活性和自定义选项。但是,如果没有正确了解键盘快捷键,浏览应用程序和设置可能会很耗时。以下 Ubuntu 关键字快捷方式将提高您的效率。

  1. Alt + `: Switch between different instances of an application.
    Alt + ':在应用程序的不同实例之间切换。
  2. Alt + Esc: Switch between different applications.
    Alt + Esc:在不同应用程序之间切换。
  3. Alt + Tab: Switch between different open windows on the same workspace.
    Alt + Tab:在同一工作区上打开的不同窗口之间切换。
  4. Alt + F1: Switch between the Activities overview and desktop instantly.
    Alt + F1:立即在 Activities overview 和 desktop 之间切换。
  5. Alt + F2: Open the command prompt.
    Alt + F2:打开命令提示符。
  6. Alt + F4: Close the window in focus.
    Alt + F4:关闭焦点窗口。
  7. Alt + F5: Restore a maximized window to its original size.
    Alt + F5:将最大化的窗口恢复到其原始大小。
  8. Alt + F6: Switch between open windows in the same application.
    Alt + F6:在同一应用程序中打开的窗口之间切换。
  9. Alt + F7 + Arrow keys: Move the current window to your preferred location on the screen.
    Alt + F7 + 箭头键:将当前窗口移动到屏幕上的首选位置。
  10. Alt + F8 + Arrow keys: Resize the window in focus.
    Alt + F8 + 箭头键:调整焦点窗口的大小。
  11. Alt + F10: Maximize and restore the current window. Using this shortcut in the file manager will open the context menu for the current folder.
    Alt + F10:最大化并恢复当前窗口。在文件管理器中使用此快捷方式将打开当前文件夹的上下文菜单。
  12. Alt + PrtSc: Take the screenshot of the window in focus.
    Alt + PrtSc:截取焦点窗口的屏幕截图。
  13. Alt + Space: Display the menu for the current window. This shortcut works the same as right-clicking on the window title bar.
    Alt + Space:显示当前窗口的菜单。此快捷方式的工作方式与右键单击窗口标题栏相同。
  14. Alt + Tab: Switch between open applications.
    Alt + Tab:在打开的应用程序之间切换。
  15. Ctrl + Alt + Delete: Log out and return to the computer’s login screen.
    Ctrl + Alt + Delete:注销并返回计算机的登录屏幕。
  16. Ctrl + Alt + T: Open a new Terminal window.
    Ctrl + Alt + T:打开一个新的终端窗口。
  17. Ctrl + Alt + Tab: Bring the top bar into focus and use the arrow keys to navigate.
    Ctrl + Alt + Tab:将顶部栏置于焦点并使用箭头键进行导航。
  18. Ctrl + Arrow keys: In a list or icon view, move the keyboard focus to another item without deselecting a selected item.
    Ctrl + 箭头键:在列表或图标视图中,将键盘焦点移动到另一个项目,而不取消选择所选项。
  19. Ctrl + Space: In a list or icon view, select or deselect an item without deselecting other items.
    Ctrl + 空格键:在列表或图标视图中,选择或取消选择某个项,而不取消选择其他项。
  20. Ctrl + PgUp/PgDn: Switch between tabs to the left or right.
    Ctrl + PgUp/PgDn:在左侧或右侧的选项卡之间切换。
  21. PrtSc: Take a screenshot of the full screen.
    PrtSc:截取全屏的屏幕截图。
  22. Shift + PrtSc: Take a screenshot of a selected area of the screen.
    Shift + PrtSc:截取屏幕选定区域的屏幕截图。
  23. Shift + Ctrl + Alt + R: Record the screen.
    Shift + Ctrl + Alt + R:录制屏幕。
  24. Shift+ F10: Display the context menu for the current selection.
    Shift+ F10:显示当前选择的上下文菜单。
  25. Shift + Super + ←/→: Move the current window one monitor to the left or right.
    Shift + Super + ←/→:将当前窗口向左或向右移动一个显示器。
  26. Super: Open Activities overview.
    Super:打开活动概述。
  27. Super + 1 to 9: Press the 1 to 9 number keys while holding Super to launch the app pinned to the Ubuntu Dock in the corresponding number. Pressing ‘0’ launches the 10th app.
    Super + 1 到 9:按住 Super 的同时按 1 到 9 数字键以启动以相应数字固定到 Ubuntu Dock 的应用程序。按“0”启动第 10 个应用程序。
  28. Super + A: Show the list of apps.
    Super + A:显示应用列表。
  29. Super + Arrow Keys: Snap the window in focus to a border.
    Super + 箭头键:将焦点窗口对齐到边框。
  30. Super + D: Minimize all open windows instantly to see the desktop.
    Super + D:立即最小化所有打开的窗口以查看桌面。
  31. Super+ F10: Open the application menu on the top bar.
    Super+ F10:打开顶部栏上的应用程序菜单。
  32. Super + L: Lock the screen.
    Super + L:锁定屏幕。
  33. Super + H: Minimize the window in focus.
    Super + H:最小化聚焦窗口。
  34. Super + PgUp/PgDn: Switch between workspaces without using a mouse.
    Super + PgUp/PgDn:无需使用鼠标即可在工作区之间切换。
  35. Shift + Super + PgUp/PgDn: Move the window in focus to another workspace.
    Shift + Super + PgUp/PgDn:将焦点窗口移动到另一个工作区。
  36. Super + Tab: Switch between open windows.
    Super + Tab:在打开的窗口之间切换。
  37. Super + V: View the list of notifications.
    Super + V:查看通知列表。
  38. Super + Tab: Switch between apps regardless of the workspace.
    Super + Tab:在应用程序之间切换,无论工作区如何。
  39. Super + `: Switch between windows from the same app.
    Super + ':从同一应用程序在窗口之间切换。
  40. Super + ↑: Maximize the window in focus.
    Super + ↑:最大化焦点窗口。
  41. Super + ↓: Restore to the small window.
    Super + ↓:恢复到小窗口。
  42. Super + ←: Maximize a window vertically to the left.
    Super + ←:将窗口垂直向左最大化。
  43. Super + →: Maximize a window vertically to the right.
    Super + →:将窗口垂直向右最大化。
  44. Tab: Switch between different controls.
    Tab:在不同控件之间切换。
  45. Ctrl + Tab: Switch between groups of controls.
    Ctrl + Tab:在控件组之间切换。

If some of the above keyboard shortcuts don’t work for you, go to Settings > Keyboard > Keyboard Shortcuts > Customize Shortcuts and add a custom shortcut.
如果上述某些键盘快捷键不适合您,请转到 个人设置 > 键盘 > 键盘快捷键 > 自定义快捷键 并添加自定义快捷键。

Download Ubuntu Keyboard Shortcuts PDF
下载 Ubuntu 键盘快捷键 PDF

GNOME Keyboard Shortcuts

GNOME 键盘快捷键

  1. Alt + Esc: Switch between windows in the current workspace.
    Alt + Esc:在当前工作区中的窗口之间切换。
  2. Alt +`: Switch between windows of the same program.
    Alt +':在同一程序的窗口之间切换。
  3. Alt + Tab: Cycle between running apps.
    Alt + Tab:在正在运行的应用程序之间循环。
  4. Alt + Shift + Tab: Cycle between the running apps in the opposite direction.
    Alt + Shift + Tab:在正在运行的应用程序之间以相反方向循环。
  5. Alt + F1: Switch between the Activities and desktop.
    Alt + F1:在 Activity 和 desktop 之间切换。
  6. Alt + F2: Launch a floating terminal window.
    Alt + F2:启动浮动终端窗口。
  7. PrtSc: Take a full-screen screenshot.
    PrtSc:截取全屏屏幕截图。
  8. Alt + PrtSc: Take a screenshot of the current window.
    Alt + PrtSc:截取当前窗口的屏幕截图。
  9. Ctrl + Alt + Arrow keys: Switch between workspaces.
    Ctrl + Alt + 箭头键:在工作区之间切换。
  10. Ctrl + Alt + D: Minimize all the windows to quickly access the desktop.
    Ctrl + Alt + D:最小化所有窗口以快速访问桌面。
  11. Ctrl + Alt + Delete: Show the Power menu dialog box.
    Ctrl + Alt + Delete:显示“电源”菜单对话框。
  12. Ctrl + Alt + Tab: Move the keyboard focus to the top bar. You can use the arrow keys to navigate.
    Ctrl + Alt + Tab:将键盘焦点移动到顶部栏。您可以使用箭头键进行导航。
  13. Shift + Super + PgUp/PgDn: Move the window in focus to another workspace.
    Shift + Super + PgUp/PgDn:将焦点窗口移动到另一个工作区。
  14. Shift + Super + ←: Move the current window to the left monitor.
    Shift + Super + ←:将当前窗口移动到左侧显示器。
  15. Shift + Super + →: Move the current window to the right monitor.
    Shift + Super + →:将当前窗口移动到右侧显示器。
  16. Super: Show the Activities overview.
    Super:显示 Activities overview。
  17. Super + A: Show the list of apps.
    Super + A:显示应用列表。
  18. Super + L: Lock the screen.
    Super + L:锁定屏幕。
  19. Super + PgUp/PgDn: Switch between workspaces.
    Super + PgUp/PgDn:在工作区之间切换。
  20. Super + Tab: Switch between windows.
    Super + Tab:在窗口之间切换。
  21. Super + `: Switch between windows from the same app.
    Super + ':从同一应用程序在窗口之间切换。
  22. Super + V: View the notification list.
    Super + V:查看通知列表。

Download GNOME Keyboard Shortcuts PDF
下载 GNOME 键盘快捷键 PDF

Debian Keyboard Shortcuts

Debian 键盘快捷键

  1. Alt + F1: Show an overview of open windows.
    Alt + F1:显示打开的窗口的概览。
  2. Alt + F2: Launch a floating command prompt window.
    Alt + F2:启动浮动命令提示符窗口。
  3. Alt + F4: Close the current window.
    Alt + F4:关闭当前窗口。
  4. Alt + F5: Unmaximize the window in focus.
    Alt + F5:取消最大化聚焦窗口。
  5. Alt + F7: Select the current window and use the arrow keys to move it.
    Alt + F7:选择当前窗口并使用箭头键移动它。
  6. Alt + F8: Resize the current window and use the arrow keys to resize it.
    Alt + F8:调整当前窗口的大小并使用箭头键调整其大小。
  7. Alt + F10: Minimize or maximize the current window.
    Alt + F10:最小化或最大化当前窗口。
  8. PrtSc: Take a screenshot of the complete screen and save it in the Pictures folder.
    PrtSc:截取整个屏幕的屏幕截图并将其保存在 图片 文件夹。
  9. Alt + PrtSc: Take a screenshot of the current window and save it in the Pictures folder.
    Alt + PrtSc:截取当前窗口的屏幕截图并将其保存在 图片 文件夹。
  10. Ctrl + PrtSc: Copy a screenshot of the entire screen to the clipboard.
    Ctrl + PrtSc:将整个屏幕的屏幕截图复制到剪贴板。
  11. Ctrl + Alt + PrtSc: Take a screenshot of a window and copy it to the clipboard.
    Ctrl + Alt + PrtSc:截取窗口的屏幕截图并将其复制到剪贴板。
  12. Shift + Ctrl + PrtSc: Take a screenshot of a selected area and copy it to the clipboard.
    Shift + Ctrl + PrtSc:截取选定区域的屏幕截图并将其复制到剪贴板。
  13. Shift + PrtSc: Take a screenshot of a selected area and save it in the Pictures folder.
    Shift + PrtSc:截取所选区域的屏幕截图并将其保存在 图片 文件夹。
  14. Alt + Space: Show the menu for the current window.
    Alt + Space:显示当前窗口的菜单。
  15. Alt + Tab: Cycle between open applications.
    Alt + Tab:在打开的应用程序之间循环。
  16. Ctrl + 0: Open a new file.
    Ctrl + 0:打开一个新文件。
  17. Ctrl + Alt + Esc: Switch between system controls such as open windows, top bar, desktop, etc.
    Ctrl + Alt + Esc:在系统控件之间切换,例如打开的窗口、顶部栏、桌面等。
  18. Ctrl + Alt + Tab: Switch between system controls.
    Ctrl + Alt + Tab:在系统控件之间切换。
  19. Ctrl + Alt + ↑: Move to the workspace located above.
    Ctrl + Alt + ↑:移动到位于上方的工作区。
  20. Ctrl + Alt + ↓: Move to the workspace located below.
    Ctrl + Alt + ↓:移动到位于下方的工作区。
  21. Ctrl + Alt + Delete: Log out and show the login screen.
    Ctrl + Alt + Delete:注销并显示登录屏幕。
  22. Shift + Super + Home: Move the current window to the first workspace.
    Shift + Super + Home:将当前窗口移动到第一个工作区。
  23. Shift + Super + End: Move the current window to the last workspace.
    Shift + Super + End:将当前窗口移动到最后一个工作区。
  24. Shift + Super + ←/→: Move the window in focus to the left or right.
    Shift + Super + ←/→:将焦点窗口向左或向右移动。
  25. Shift + Super + ↑/↓: Move the current window up or down.
    Shift + Super + ↑/↓:向上或向下移动当前窗口。
  26. Super + A: View all applications.
    Super + A:查看所有应用程序。
  27. Super + Home: Switch to the first workspace.
    Super + Home:切换到第一个工作区。
  28. Super+ End: Switch to the last workspace.
    Super+ End:切换到最后一个工作区。
  29. Super + L: Lock the screen.
    Super + L:锁定屏幕。
  30. Super + PgUp: Go to the workspace shown above the current workspace.
    Super + PgUp:转到当前工作区上方显示的工作区。
  31. Super + PgDn: Go to the workspace shown below the current workspace.
    Super + PgDn:转到当前工作区下方显示的工作区。
  32. Super + S: Open Activities overview.
    Super + S:打开的活动概述。
  33. Super + V: Show the notification list.
    Super + V:显示通知列表。
  34. Super + Tab: Switch between open applications.
    Super + Tab:在打开的应用程序之间切换。

Download Debian Keyboard Shortcuts PDF
下载 Debian 键盘快捷键 PDF

Linux Mint Cinnamon Keyboard Shortcuts

Linux Mint Cinnamon 键盘快捷键

  1. Alt + F2: Launch the command prompt in a floating window.
    Alt + F2:在浮动窗口中启动命令提示符。
  2. Alt + F4: Close the window in focus.
    Alt + F4:关闭焦点窗口。
  3. Alt + F5: Un-max­imize a maximized window.
    Alt + F5:取消最大化窗口。
  4. Alt + F7: Move a window. Use arrow keys to move.
    Alt + F7:移动窗口。使用箭头键移动。
  5. Alt + F8: Resize a window. Use arrow keys to resize.
    Alt + F8:调整窗口大小。使用箭头键调整大小。
  6. Alt + F10: Toggle a window’s maximi­zation state.
    Alt + F10:切换窗口的最大化状态。
  7. Alt + PrtSc: Take a screenshot of a window.
    Alt + PrtSc:截取窗口的屏幕截图。
  8. Ctrl + A­lt + ­PrtSc: Copy a screenshot of a window to the clipboard.
    Ctrl + Alt + PrtSc:将窗口的屏幕截图复制到剪贴板。
  9. Ctrl + PrtSc: Copy a screenshot to the clipboard.
    Ctrl + PrtSc:将屏幕截图复制到剪贴板。
  10. Shift + ­Ctr­l + PrtSc: Copy a screenshot of an area to the clipboard.
    Shift + Ctrl + PrtSc:将区域的屏幕截图复制到剪贴板。
  11. Shift + ­PrtSc: Take a screenshot of an area and save it to Pictures.
    Shift + PrtSc:截取某个区域的屏幕截图并将其保存到图片中。
  12. Alt + Space: View the window menu.
    Alt + 空格键:查看窗口菜单。
  13. Alt + Tab: Switch between running applications.
    Alt + Tab:在正在运行的应用程序之间切换。
  14. Ctrl + Alt + ↓: Show all running applications on the selected workspace.
    Ctrl + Alt + ↓:显示所选工作区上所有正在运行的应用程序。
  15. Ctrl + Alt + ↑: View the running applications across all workspaces.
    Ctrl + Alt + ↑:查看所有工作区中正在运行的应用程序。
  16. Ctrl + Alt + L: Lock the screen.
    Ctrl + Alt + L:锁定屏幕。
  17. Ctrl + A­lt + End: Shut down the system.
    Ctrl + Alt + End:关闭系统。
  18. Ctrl + A­lt + Esc: Restart the computer.
    Ctrl + Alt + Esc:重新启动计算机。
  19. Ctrl + A­lt + ­Delete: Log out and display the login screen.
    Ctrl + Alt + Delete:注销并显示登录屏幕。
  20. Ctrl + Super + Arrow keys: Span the current window to the border.
    Ctrl + Super + 箭头键:将当前窗口跨越到边框。
  21. Ctrl + S­upe­r + ↑: Push snap up.
    Ctrl + Super + ↑:按下快照。
  22. Ctrl + S­upe­r + ↓: Push snap down.
    Ctrl + Super + ↓:按下快照。
  23. Ctrl + S­upe­r + ←: Push snap left.
    Ctrl + Super + ←:向左推对齐。
  24. Ctrl + S­upe­r + →: Push snap right.
    Ctrl + Super + →:向右推对齐。
  25. Ctrl + Alt + T: Open the terminal.
    Ctrl + Alt + T:打开终端。
  26. Ctrl + A­lt + ←: Switch to the left workspace.
    Ctrl + Alt + ←:切换到左侧工作区。
  27. Ctrl + A­lt + ­→: Switch to the right workspace.
    Ctrl + Alt + →:切换到右侧工作区。
  28. Shift + Alt+ Tab: Cycle between open programs in the opposite direction.
    Shift + Alt + Tab:在打开的程序之间以相反的方向循环。
  29. Shift + Ctrl + Alt + ←/→: Move the current window to the left or right workspace.
    Shift + Ctrl + Alt + ←/→:将当前窗口移动到左侧或右侧工作区。
  30. Shift + ­Ctr­l + Alt + R: Start recording desktop. This requires a restart.
    Shift + Ctrl + Alt + R:开始录制桌面。这需要重新启动。
  31. Shift + ­Ctr­l + A­lt + ←: Move a window to the left workspace.
    Shift + Ctrl + Alt + ←:将窗口移动到左侧工作区。
  32. Shift +­ Ctr­l+ A­lt +­ →: Move a window to the right workspace.
    Shift + Ctrl + Alt + →:将窗口移动到右侧工作区。
  33. Super + D: Minimize all the windows and show the desktop.
    Super + D:最小化所有窗口并显示桌面。
  34. Super + ↑/↓: Push a tile up or down.
    超级 + ↑/↓:向上或向下推图块。
  35. Super + ­←/→: Push a tile to the left or right.
    Super + ←/→:向左或向右推图块。
  36. Super + E: Launch the home folder.
    Super + E:启动主文件夹。
  37. Super + L: Open the Cinnamon Debugger.
    Super + L:打开 Cinnamon 调试器。
  38. Super + ←/→: Push a tile to the left or right.
    Super + ←/→:向左或向右推图块。
  39. Super + O: Lock orient­ation.
    Super + O:锁定方向。
  40. Super + P: Re-detect display devices.
    Super + P:重新检测显示设备。
  41. Super + ­Shi­ft + ←: Move the current window to the left monitor.
    Super + Shift + ←:将当前窗口移动到左侧显示器。
  42. Super +­ Shi­ft + ­→: Move the current window to the right monitor.
    Super + Shift + →:将当前窗口移动到右侧显示器。
  43. Super + ­Shi­ft + ↑: Move a window to the up monitor.
    Super + Shift + ↑:将窗口移动到向上的显示器。
  44. Super +­ Shi­ft + ↓: Move a window to the down monitor.
    Super + Shift + ↓:将窗口移至向下的显示器。
  45. Super + S: Show all desklets.
    Super + S:显示所有 desklets。

Go to All Applications > Keyboard > Shortcuts > Add custom shortcut and create a keyboard shortcut of your own on Linux Mint.
转到 所有应用程序 > 键盘 > 快捷方式 > 添加自定义快捷方式 并在 Linux Mint 上创建您自己的键盘快捷方式。

Download Linux Mint Keyboard Shortcuts PDF
下载 Linux Mint 键盘快捷键 PDF

Xfce Keyboard Shortcuts

Xfce 键盘快捷键

  1. Alt + F2: Open the terminal window.
    Alt + F2:打开终端窗口。
  2. Alt + F4: Close the current window.
    Alt + F4:关闭当前窗口。
  3. Alt + F7: Move the window in focus.
    Alt + F7:将窗口移动到焦点中。
  4. Alt + F8: Resize the current window.
    Alt + F8:调整当前窗口的大小。
  5. Alt + F9: Hide the window in focus.
    Alt + F9:隐藏焦点窗口。
  6. Alt + F10: Maximize the current window.
    Alt + F10:最大化当前窗口。
  7. Alt + F11: Toggle fullscreen.
    Alt + F11:切换全屏。
  8. Alt + F12: Toggle above.
    Alt + F12:在上面切换。
  9. Alt + Shift + Tab: Cycle between running programs.
    Alt + Shift + Tab:在正在运行的程序之间循环。
  10. Alt + Space: Open the window menu.
    Alt + Space:打开窗口菜单。
  11. Alt + Tab: Switch between running applications.
    Alt + Tab:在正在运行的应用程序之间切换。
  12. Shift + Alt + Tab: Switch to the previous window.
    Shift + Alt + Tab:切换到上一个窗口。
  13. Alt + Shift + PgUp: Move the current window up.
    Alt + Shift + PgUp:向上移动当前窗口。
  14. Alt + Shift + PgDn: Move the current window down.
    Alt + Shift + PgDn:将当前窗口向下移动。
  15. Ctrl + Alt + D: Minimize all the windows and show the desktop.
    Ctrl + Alt + D:最小化所有窗口并显示桌面。
  16. Ctrl + Alt + Delete: Lock the screen.
    Ctrl + Alt + Delete:锁定屏幕。
  17. Ctrl + Esc: Display the context menu.
    Ctrl + Esc:显示上下文菜单。
  18. Super + P: Access the Xfce display settings.
    Super + P:访问 Xfce 显示设置。

LXDE Keyboard Shortcuts

LXDE 键盘快捷键

  1. Alt + Esc: Hide the current window.
    Alt + Esc:隐藏当前窗口。
  2. Alt + F4: Close the current window.
    Alt + F4:关闭当前窗口。
  3. Alt + Tab: Cycle between running apps.
    Alt + Tab:在正在运行的应用程序之间循环。
  4. Alt + Shift + Tab: Cycle between running apps in the opposite direction.
    Alt + Shift + Tab:在以相反方向运行的应用程序之间循环。
  5. Ctrl + Alt + Arrow keys: Switch virtual desktops.
    Ctrl + Alt + 箭头键:切换虚拟桌面。
  6. Ctrl + Alt + L: Lock the screen.
    Ctrl + Alt + L:锁定屏幕。
  7. Ctrl + Alt + T: Launch the terminal window.
    Ctrl + Alt + T:启动终端窗口。
  8. F11: Toggle fullscreen on or off.
    F11:打开或关闭全屏。
  9. Shift + Alt + Arrow keys: Move the current window to a virtual desktop.
    Shift + Alt + 箭头键:将当前窗口移动到虚拟桌面。
  10. Super + D: Minimize all open windows to show the desktop.
    Super + D:最小化所有打开的窗口以显示桌面。
  11. Super + E: Open file browser.
    Super + E:打开文件浏览器。

Working in Linux can be daunting, but shortcuts make tasks much easier. Whether you are new to the Linux operating system or have been using it for years, having an understanding of these keyboard shortcuts can help improve your productivity.
在 Linux 中工作可能令人生畏,但快捷方式使任务变得更加容易。无论您是 Linux作系统的新手还是已经使用它多年,了解这些键盘快捷键都有助于提高您的工作效率。


via:

  • Useful Linux Terminal Keyboard Shortcuts Cheat Sheet
    https://www.ubuntumint.com/linux-terminal-keyboard-shortcuts/

  • 240 Linux Keyboard Shortcuts & Terminal Shortcuts (PDF) - Technastic
    https://technastic.com/linux-keyboard-shortcuts-list-pdf/


http://www.kler.cn/a/586763.html

相关文章:

  • 【c语言数组精选代码题】
  • 【机器学习】机器学习工程实战
  • 【R语言】pmax和pmin函数的用法详解
  • 2025-3-14 leetcode刷题情况(贪心算法)
  • 开发、科研、日常办公工具汇总(自用,持续更新)
  • MATLAB中events函数用法
  • Linux系统之美:进程初识
  • 蓝桥杯 阶乘求值【省模拟赛】
  • 谷歌Chrome或微软Edge浏览器修改网页任意内容
  • C++笔记-类与对象(中)
  • 二分+前缀和/滑动窗口——成绩统计
  • 神经网络:定义与核心原理
  • 基于 Verilog 的多路复用显示驱动设计与测试:实践与探索
  • Visual Studio里的调试(debugging)功能介绍
  • Tomato靶机
  • Vue 中的 v-for 如何遍历对象?
  • 【模拟算法】
  • misc19~21
  • 如何在AVL树中高效插入并保持平衡:一步步掌握旋转与平衡因子 —— 旋转篇
  • ​​​​​​​大语言模型安全风险分析及相关解决方案