Fwd: [LUG@IITD:9269] [Tip] Fast and Clever at the command line

1 view
Skip to first unread message

pahnin sd

unread,
Aug 21, 2010, 1:23:34 PM8/21/10
to ban...@gmail.com, saira...@gmail.com, sudha...@gmail.com, abimanyu, akash, ambu, anand, anand senior, anil, aravind, aswin, atul, ban mido, bharath, bharath sr, bhargav sr, chaitanya, chakri sr, choppa, d sashi kiran, dikshit, dileep sir, dinesh, guru bala, guttha, hareesh, hari, jagadish, jamiaditya, japacia, kranthi, krishna, kumudha, madhu, mahesh goenka, maneesh, manin, manoj, mounika, mystique, Narayana, neeradh, nithin reddy sir, pavan, phani gadu, phani sru, phaniteja, pradeep, pratheek, praveen varma, raj shekhar, raja sr, ravindra reddy, ripu sudan agarwal, rohit, rohit sr, Roshan Singh fedora, sagar, sai, sai roomie, santhosh karthik, saradhi, sashank, sasikiran, satwick, sauren, sharry, shashwat, Sonal, sowmya, sreevathsa, srikanth, sriv, subhash, sudhir, suman, sumeeet, swastik, t.v.k, tejsh, tharun, vasanth, venky, vinod dav, vinod. nit, vivek, nitrkllug

Get lightning fast and clever at the command line

You can use keyboard shortcuts and other command line tricks to make
entering commands easier and faster. You might already know about the
‘tab’ key which completes partial commands and even file and directory
names.

Here are some other keyboard shortcuts you can use within terminal:

Ctrl-a    Move to the start of the line.
Ctrl-e    Move to the end of the line.
Alt-] x   Moves the cursor forward to the next occurrence of x.
Alt-Ctrl-] x     Moves the cursor backwards to the previous occurrence of x.
Ctrl-u    Delete from the cursor to the beginning of the line.
Ctrl-k    Delete from the cursor to the end of the line.
Ctrl-y    Pastes text from the clipboard.
Ctrl-l    Clear the screen leaving the current line at the top of the screen.
Ctrl-x Ctrl-u    Undo the last changes. Ctrl-_
Alt-r     Undo all changes to the line.
Alt-      Ctrl-eExpand command line.
Ctrl-r    Incremental reverse search of history.
Alt-p    Non-incremental reverse search of history.
!!         Execute last command in history
!abc     Execute last command in history beginning with abc
!n        Execute nth command in history
^abc^xyz         Replace first occurrence of abc with xyz in last
command and execute it



--

♪♫▬aze

unread,
Aug 21, 2010, 8:26:11 PM8/21/10
to nitrkllug
More about Gnome-terminal

Default Shortcuts

Summon Terminal: "Alt+Shit+T"

New Tab:    "Ctrl+Shif+T"
Kill Tab:      "Ctrl+Shif+W"
Switch Tab:  "Ctrl+Page Up or Down"

Stop the execution in between: "Ctrl+C"

Zoom In: "Ctrl++"
Zoom Out: "Ctrl+-"
Zoom Restore: "Ctrl+0"

Full Screen: "F11"

Scrolling through the words: "Ctrl+Left or right Arrow keys"


Quit
     "Ctrl+Shift+Q"
     "Alt+F4"

Copy:
    "Ctrl+Shift+C" (DE's clipboard)
    "Ctrl+Insert" (DE's clipboard)

Pastes:
    "Ctrl+Shift+V" (DE's clipboard)
    "Shift+Insert" (DE's clipboard)

Move to the start of the line:
    "Ctrl+A"
    "Home"

Move to the end of the line:
    "Ctrl+e"
    "End"

Reply all
Reply to author
Forward
0 new messages