LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-11-2014, 12:36 PM   #1
ixion22600
LQ Newbie
 
Registered: Nov 2013
Posts: 23

Rep: Reputation: Disabled
Lightbulb Helpful terminal shortcuts (SOLVED)


Hello all,

I though to I should share some useful terminal shortcuts:

Ctrl + K = cut text to beginning on the line
Ctrl + U = cut text to beginning of the line
Ctrl + W = cu the word located behind the cursor
Alt + D = cat the word following the cursor
Ctrl + Y = paste cut text
Alt + Y = rotate back to previously cut text and paste it
Ctrl + D = delete character (from left to right)
Ctrl + C = delete the entire line

Ctrl + F = (cursor) forward one character
Ctrl + B = (cursor) backward one character
Alt + F = (cursor) forward one word
Alt + B = (cursor) backward one word
Ctrl + A = (cursor) beginning of line
Ctrl + E = (cursor) end of line

Ctrl + L = clear screen

Ctrl + T = switch positions of current and previous characters
Alt + T = switch positions of current and previous words
Alt + U = change current word to uppercase
Alt + L = change current word to lowercase

Please fill free to add other informations that can help us work easier with the terminal.
 
Old 03-11-2014, 01:41 PM   #2
Cr0wb4r
Member
 
Registered: Feb 2011
Distribution: Debian
Posts: 47

Rep: Reputation: 6
Thank you for sharing. May I ask which terminal emulator these apply to (Konsole, gnome terminal, xterm?)
 
Old 03-11-2014, 02:43 PM   #3
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Arch
Posts: 3,136

Rep: Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336
See Bash: Command Line Editing
 
Old 03-11-2014, 03:32 PM   #4
Habitual
LQ Addict
 
Registered: Jan 2011
Posts: 8,348
Blog Entries: 11

Rep: Reputation: 2320Reputation: 2320Reputation: 2320Reputation: 2320Reputation: 2320Reputation: 2320Reputation: 2320Reputation: 2320Reputation: 2320Reputation: 2320Reputation: 2320
Quote:
Originally Posted by ixion22600 View Post
Code:
Ctrl + C = delete the entire line
Say what?
 
Old 03-11-2014, 04:39 PM   #5
ixion22600
LQ Newbie
 
Registered: Nov 2013
Posts: 23

Original Poster
Rep: Reputation: Disabled
Linux Terminal Command Reference
System Info

date – Show the current date and time
cal – Show this month's calendar
uptime – Show current uptime
w – Display who is online
whoami – Who you are logged in as
finger user – Display information about user
uname -a – Show kernel information
cat /proc/cpuinfo – CPU information
cat /proc/meminfo – Memory information
df – Show disk usage
du – Show directory space usage
free – Show memory and swap usage

Keyboard Shortcuts

Enter – Run the command
Up Arrow – Show the previous command
Ctrl + R – Allows you to type a part of the command you're looking for and finds it

Ctrl + Z – Stops the current command, resume with fg in the foreground or bg in the background
Ctrl + C – Halts the current command, cancel the current operation and/or start with a fresh new line
Ctrl + L – Clear the screen

http://community.linuxmint.com/tutorial/view/244

)
 
Old 03-11-2014, 04:43 PM   #6
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 491Reputation: 491Reputation: 491Reputation: 491Reputation: 491
Ctrl+C is the only one I use. I have a terminal emulator that supports right click -> copy and paste, which is far more convenient than terminals that don't.
 
Old 03-12-2014, 11:16 AM   #7
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Quote:
Originally Posted by metaschima View Post
Ctrl+C is the only one I use. I have a terminal emulator that supports right click -> copy and paste, which is far more convenient than terminals that don't.
And arguably less convenient than terminals that do copy-on-select
 
Old 03-12-2014, 12:19 PM   #8
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 491Reputation: 491Reputation: 491Reputation: 491Reputation: 491
Quote:
Originally Posted by catkin View Post
And arguably less convenient than terminals that do copy-on-select
It has that too, so I can use both. I can copy two different things at once.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what are the most common linux terminal shortcuts that you use ? dEnDrOn Linux - Newbie 14 01-05-2012 02:24 AM
[SOLVED] XFCE Terminal cannot bind shortcut keys, how do I disable all shortcuts ? H_TeXMeX_H Linux - Software 1 06-05-2011 04:54 AM
[SOLVED]recover a compiling terminal?? michaelinux Linux - Software 3 07-04-2010 09:54 AM
changing keyboard shortcuts for switching tabs in gnome-terminal and/or tilda ssgosh Linux - Desktop 4 06-16-2010 11:21 PM
Keyboard shortcuts within terminal? hippiejake Linux - Software 6 11-30-2009 10:41 AM


All times are GMT -5. The time now is 10:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration