SlideShare une entreprise Scribd logo
1  sur  2
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

Contenu connexe

Similaire à 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 - 2009Chris Sinjakli
 
Scilab for very beginners
Scilab for very beginnersScilab for very beginners
Scilab for very beginnersScilab
 
Unix Lec2
Unix Lec2Unix Lec2
Unix Lec2Dr.Ravi
 
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 part3bhatvijetha
 
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 Processlucita cabral
 
21 command prompt tricks and hacks
21 command prompt tricks and hacks21 command prompt tricks and hacks
21 command prompt tricks and hacksAbdullah Khosa
 
Windows CMD commands.pdf
Windows CMD commands.pdfWindows CMD commands.pdf
Windows CMD commands.pdfGurau Catalin
 
Advance Computer Architecture
Advance Computer ArchitectureAdvance Computer Architecture
Advance Computer ArchitectureVrushali 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.pptxalo154283
 
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
 

Similaire à 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
 

Dernier

Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfCionsystems
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendArshad QA
 
Clustering techniques data mining book ....
Clustering techniques data mining book ....Clustering techniques data mining book ....
Clustering techniques data mining book ....ShaimaaMohamedGalal
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 

Dernier (20)

Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdf
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and Backend
 
Clustering techniques data mining book ....
Clustering techniques data mining book ....Clustering techniques data mining book ....
Clustering techniques data mining book ....
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 

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