SlideShare a Scribd company logo
20 Keyboard Shortcuts For Your Linux Machine 
Shortcuts are great for faster and smooth working on any server or system. So 
for all the Linux fans out there, here are some shortcuts that will make your life 
easier than ever... 
Saturday, October 05, 2013: Knowing useful shortcuts can always make your task 
easier. Here we bring to you some useful Linux keyboard shortcuts and commands that 
allow smooth functioning on the open source technology. 
1. Ctrl+Alt+F1 - As cited on linux.about.com, it helps in switching to the first text 
terminals. You can have all six of the Linux terminals opened at the same time. This 
keyboard shortcut signifies: "press the control key and the alt key, hold them. Now 
press and release all keys. 
2. Ctrl+Alt+Fn (n=1..6) – This is for switching to the nth text terminal. The same can be 
achieved with the less commonly used command chvt n. "chvt" which stands for "change 
virtual terminal". You can also use (outside X) in the text terminal. Alternatively, you can 
use Alt+Fn keys. 
3. tty –You can use this for printing the name of the terminal in which you are typing this 
command. In case you want the number of the active terminal you can print it using the 
command fgconsole (="foreground console"). 
4. Ctrl+Alt+F7 - This is for switching to the first GUI terminal. 
5. Ctrl+Alt+Fn (n=7.12) –This is for switching to the nth GUI terminal (in case a GUI 
terminal is running on screen n-1). By default, the first X server is running on terminal 7. 
By default, nothing is running on terminals 8 to 12--you can start the next X server 
there. 
6. Tab - This is to auto complete the command in case there is just one option otherwise 
display all the available options. In case of newer systems, you can press Tab+Tab. 
7. ArrowUp - This is for scrolling and editing the command history (in a text or X 
terminal). You can press Enter for executing a historical command (to save on typing). 
You can press ArrowDown for scrolling back. 
8. Shift+PgUp - This is for scrolling terminal output up. It also works at the login prompt 
for scrolling through your bootup messages. The amount/usage of your video memory 
shows how far back you can scroll the display. The shift+PgDown tab scrolls the terminal 
output down. 
9. Ctrl+Alt++ - (in X-windows) for changing to the next X-server resolution (if you set up 
the X-server to more than one resolution). For multiple resolutions on standard SVGA 
card/monitor, the following line in the file /etc/X11/XF86Config (the first resolution starts 
on default, the largest resolution determines the size of the "virtual screen"). 
10. Ctrl+Alt+- - (in X-windows) This is for changing to the previous X-server resolution. 
11. Ctrl+Alt+Esc - (in X-windows, KDE) this is for killing the window. A similar kind of 
result can be attained using the command xkill (typed in X-terminal). It is great when an 
X-window program does not want to close (hangs?). 
12. Ctrl+Alt+BkSpc - (in X-windows) It is used for killing the current X-windows server. 
You can use this in case the X-windows server cannot be exited normally.
13. Ctrl+Alt+Del - (in text terminal) This is for shutting down the system and rebooting. 
This is the normal shutdown command for the user at the text -mode console. 
14. Ctrl+c -This is for killing the current process (it functions mostly with smaller text-mode 
applications). 
15. Ctrl+d - (pressed at the beginning of an empty line) This is for logging out from the 
current terminal. You can also see the next command. 
16. Ctrl+d - This is for sending [End-of-File] to the current process. You need not press it 
twice otherwise you also log out (see the previous command). 
17. Ctrl+s - This is for stopping the transfer to the terminal. 
18. Ctrl+q – This is for resuming the transfer to the terminal. You can try this if your 
terminal stops and is not responding. 
19. Ctrl+z - This is for sending the current process to the background. 
20. exit - You can use this to logout. (In case you have started a second shell, e.g., using 
bash, this command will allow you to exit the second shell, and bring you back to the 
first shell, not logged out. You can use another exit for logging out.) 
Via linux.about.com

More Related Content

Similar to 20 keyboard shortcuts for your linux machine

Linux Shortcuts and Commands:
Linux Shortcuts and Commands:Linux Shortcuts and Commands:
Linux Shortcuts and Commands:wensheng wei
 
Improving your shell usage - 2009
Improving your shell usage - 2009Improving your shell usage - 2009
Improving your shell usage - 2009
Chris Sinjakli
 
Project gnuplot
Project gnuplotProject gnuplot
Project gnuplot
Sabyasachi Ray
 
Scilab for very beginners
Scilab for very beginnersScilab for very beginners
Scilab for very beginners
Scilab
 
Unix Lec2
Unix Lec2Unix Lec2
Unix Lec2Dr.Ravi
 
Basic computer skills of BSc IT
Basic computer skills of BSc ITBasic computer skills of BSc IT
Basic computer skills of BSc IT
Ram krishna Dumrakoti
 
tmux - An overview of the features of this powerful terminal multiplexer.
tmux - An overview of the features of this powerful terminal multiplexer.tmux - An overview of the features of this powerful terminal multiplexer.
tmux - An overview of the features of this powerful terminal multiplexer.
jhalfmoon
 
Linux commands part3
Linux commands part3Linux commands part3
Linux commands part3
bhatvijetha
 
osx keyboard shortcut easy usage
osx keyboard shortcut easy usageosx keyboard shortcut easy usage
osx keyboard shortcut easy usage
buisness supportive company
 
Uses of tmux explained
Uses of tmux explainedUses of tmux explained
Uses of tmux explainedStanislas Polu
 
System Administration: Linux Process
System Administration: Linux ProcessSystem Administration: Linux Process
System Administration: Linux Process
lucita cabral
 
Part-1.pdf
Part-1.pdfPart-1.pdf
Part-1.pdf
jahangirwpoly2019
 
21 command prompt tricks and hacks
21 command prompt tricks and hacks21 command prompt tricks and hacks
21 command prompt tricks and hacks
Abdullah Khosa
 
Windows CMD commands.pdf
Windows CMD commands.pdfWindows CMD commands.pdf
Windows CMD commands.pdf
Gurau Catalin
 
2004 ugm-tips-tricks
2004 ugm-tips-tricks2004 ugm-tips-tricks
2004 ugm-tips-tricks
Shamoon Jamshed
 
Advance Computer Architecture
Advance Computer ArchitectureAdvance Computer Architecture
Advance Computer Architecture
Vrushali Lanjewar
 
The-Command-Line-Part-1-Slidebbbbbbbbbbbbbbbbs.pptx
The-Command-Line-Part-1-Slidebbbbbbbbbbbbbbbbs.pptxThe-Command-Line-Part-1-Slidebbbbbbbbbbbbbbbbs.pptx
The-Command-Line-Part-1-Slidebbbbbbbbbbbbbbbbs.pptx
alo154283
 
Course 102: Lecture 9: Input Output Internals
Course 102: Lecture 9: Input Output Internals Course 102: Lecture 9: Input Output Internals
Course 102: Lecture 9: Input Output Internals
Ahmed El-Arabawy
 

Similar to 20 keyboard shortcuts for your linux machine (20)

Linux Shortcuts and Commands:
Linux Shortcuts and Commands:Linux Shortcuts and Commands:
Linux Shortcuts and Commands:
 
Improving your shell usage - 2009
Improving your shell usage - 2009Improving your shell usage - 2009
Improving your shell usage - 2009
 
Project gnuplot
Project gnuplotProject gnuplot
Project gnuplot
 
Scilab for very beginners
Scilab for very beginnersScilab for very beginners
Scilab for very beginners
 
Unix Lec2
Unix Lec2Unix Lec2
Unix Lec2
 
Basic computer skills of BSc IT
Basic computer skills of BSc ITBasic computer skills of BSc IT
Basic computer skills of BSc IT
 
tmux - An overview of the features of this powerful terminal multiplexer.
tmux - An overview of the features of this powerful terminal multiplexer.tmux - An overview of the features of this powerful terminal multiplexer.
tmux - An overview of the features of this powerful terminal multiplexer.
 
Linux commands part3
Linux commands part3Linux commands part3
Linux commands part3
 
osx keyboard shortcut easy usage
osx keyboard shortcut easy usageosx keyboard shortcut easy usage
osx keyboard shortcut easy usage
 
Wdlxtut
WdlxtutWdlxtut
Wdlxtut
 
Uses of tmux explained
Uses of tmux explainedUses of tmux explained
Uses of tmux explained
 
System Administration: Linux Process
System Administration: Linux ProcessSystem Administration: Linux Process
System Administration: Linux Process
 
Part-1.pdf
Part-1.pdfPart-1.pdf
Part-1.pdf
 
21 command prompt tricks and hacks
21 command prompt tricks and hacks21 command prompt tricks and hacks
21 command prompt tricks and hacks
 
Readme
ReadmeReadme
Readme
 
Windows CMD commands.pdf
Windows CMD commands.pdfWindows CMD commands.pdf
Windows CMD commands.pdf
 
2004 ugm-tips-tricks
2004 ugm-tips-tricks2004 ugm-tips-tricks
2004 ugm-tips-tricks
 
Advance Computer Architecture
Advance Computer ArchitectureAdvance Computer Architecture
Advance Computer Architecture
 
The-Command-Line-Part-1-Slidebbbbbbbbbbbbbbbbs.pptx
The-Command-Line-Part-1-Slidebbbbbbbbbbbbbbbbs.pptxThe-Command-Line-Part-1-Slidebbbbbbbbbbbbbbbbs.pptx
The-Command-Line-Part-1-Slidebbbbbbbbbbbbbbbbs.pptx
 
Course 102: Lecture 9: Input Output Internals
Course 102: Lecture 9: Input Output Internals Course 102: Lecture 9: Input Output Internals
Course 102: Lecture 9: Input Output Internals
 

Recently uploaded

Empowering Growth with Best Software Development Company in Noida - Deuglo
Empowering Growth with Best Software  Development Company in Noida - DeugloEmpowering Growth with Best Software  Development Company in Noida - Deuglo
Empowering Growth with Best Software Development Company in Noida - Deuglo
Deuglo Infosystem Pvt Ltd
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
Adele Miller
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
Neo4j
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Crescat
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
Globus
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
Pro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp BookPro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp Book
abdulrafaychaudhry
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
Google
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
Donna Lenk
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
lorraineandreiamcidl
 
AI Genie Review: World’s First Open AI WordPress Website Creator
AI Genie Review: World’s First Open AI WordPress Website CreatorAI Genie Review: World’s First Open AI WordPress Website Creator
AI Genie Review: World’s First Open AI WordPress Website Creator
Google
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
XfilesPro
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Max Andersen
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Globus
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
Boni García
 
Introduction to Pygame (Lecture 7 Python Game Development)
Introduction to Pygame (Lecture 7 Python Game Development)Introduction to Pygame (Lecture 7 Python Game Development)
Introduction to Pygame (Lecture 7 Python Game Development)
abdulrafaychaudhry
 
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissancesAtelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Neo4j
 
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
ShamsuddeenMuhammadA
 

Recently uploaded (20)

Empowering Growth with Best Software Development Company in Noida - Deuglo
Empowering Growth with Best Software  Development Company in Noida - DeugloEmpowering Growth with Best Software  Development Company in Noida - Deuglo
Empowering Growth with Best Software Development Company in Noida - Deuglo
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
Pro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp BookPro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp Book
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
 
AI Genie Review: World’s First Open AI WordPress Website Creator
AI Genie Review: World’s First Open AI WordPress Website CreatorAI Genie Review: World’s First Open AI WordPress Website Creator
AI Genie Review: World’s First Open AI WordPress Website Creator
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
 
Introduction to Pygame (Lecture 7 Python Game Development)
Introduction to Pygame (Lecture 7 Python Game Development)Introduction to Pygame (Lecture 7 Python Game Development)
Introduction to Pygame (Lecture 7 Python Game Development)
 
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissancesAtelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissances
 
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
 

20 keyboard shortcuts for your linux machine

  • 1. 20 Keyboard Shortcuts For Your Linux Machine Shortcuts are great for faster and smooth working on any server or system. So for all the Linux fans out there, here are some shortcuts that will make your life easier than ever... Saturday, October 05, 2013: Knowing useful shortcuts can always make your task easier. Here we bring to you some useful Linux keyboard shortcuts and commands that allow smooth functioning on the open source technology. 1. Ctrl+Alt+F1 - As cited on linux.about.com, it helps in switching to the first text terminals. You can have all six of the Linux terminals opened at the same time. This keyboard shortcut signifies: "press the control key and the alt key, hold them. Now press and release all keys. 2. Ctrl+Alt+Fn (n=1..6) – This is for switching to the nth text terminal. The same can be achieved with the less commonly used command chvt n. "chvt" which stands for "change virtual terminal". You can also use (outside X) in the text terminal. Alternatively, you can use Alt+Fn keys. 3. tty –You can use this for printing the name of the terminal in which you are typing this command. In case you want the number of the active terminal you can print it using the command fgconsole (="foreground console"). 4. Ctrl+Alt+F7 - This is for switching to the first GUI terminal. 5. Ctrl+Alt+Fn (n=7.12) –This is for switching to the nth GUI terminal (in case a GUI terminal is running on screen n-1). By default, the first X server is running on terminal 7. By default, nothing is running on terminals 8 to 12--you can start the next X server there. 6. Tab - This is to auto complete the command in case there is just one option otherwise display all the available options. In case of newer systems, you can press Tab+Tab. 7. ArrowUp - This is for scrolling and editing the command history (in a text or X terminal). You can press Enter for executing a historical command (to save on typing). You can press ArrowDown for scrolling back. 8. Shift+PgUp - This is for scrolling terminal output up. It also works at the login prompt for scrolling through your bootup messages. The amount/usage of your video memory shows how far back you can scroll the display. The shift+PgDown tab scrolls the terminal output down. 9. Ctrl+Alt++ - (in X-windows) for changing to the next X-server resolution (if you set up the X-server to more than one resolution). For multiple resolutions on standard SVGA card/monitor, the following line in the file /etc/X11/XF86Config (the first resolution starts on default, the largest resolution determines the size of the "virtual screen"). 10. Ctrl+Alt+- - (in X-windows) This is for changing to the previous X-server resolution. 11. Ctrl+Alt+Esc - (in X-windows, KDE) this is for killing the window. A similar kind of result can be attained using the command xkill (typed in X-terminal). It is great when an X-window program does not want to close (hangs?). 12. Ctrl+Alt+BkSpc - (in X-windows) It is used for killing the current X-windows server. You can use this in case the X-windows server cannot be exited normally.
  • 2. 13. Ctrl+Alt+Del - (in text terminal) This is for shutting down the system and rebooting. This is the normal shutdown command for the user at the text -mode console. 14. Ctrl+c -This is for killing the current process (it functions mostly with smaller text-mode applications). 15. Ctrl+d - (pressed at the beginning of an empty line) This is for logging out from the current terminal. You can also see the next command. 16. Ctrl+d - This is for sending [End-of-File] to the current process. You need not press it twice otherwise you also log out (see the previous command). 17. Ctrl+s - This is for stopping the transfer to the terminal. 18. Ctrl+q – This is for resuming the transfer to the terminal. You can try this if your terminal stops and is not responding. 19. Ctrl+z - This is for sending the current process to the background. 20. exit - You can use this to logout. (In case you have started a second shell, e.g., using bash, this command will allow you to exit the second shell, and bring you back to the first shell, not logged out. You can use another exit for logging out.) Via linux.about.com