Вы находитесь на странице: 1из 3

1/3/12 Linu keboard shortcuts

1/3 .tufiles.org/linuhelp/shortcuts.html
<Linukeboardshortcuts2.0>
ThereareseveralkeyboardshortcutsinLinux.Learningthemcanmakeyourlifealoteasier!ThistuXfilediscussesmainly
commandlineshortcutsbutsomeXWindowSystemshortcutsarealsoincluded.
Author:NanaLngstedt<nana.langstedtatgmail.com>
tuXfilecreated:1February2002
Lastmodified:5September2009
contents
Virtualterminals
XWindowSystem
Commandlineinput
Commandlineoutput
Commandlinehistory
Commandlinemisc
<Virtualterminals>
Ctrl+Alt+F1
Switchtothefirstvirtualterminal.InLinux,youcanhaveseveralvirtualterminalsatthesametime.Thedefaultis6.
Ctrl+Alt+Fn
Switchtothenthvirtualterminal.Becausethenumberofvirtualterminalsis6bydefault,n=1...6.
tt
Typingthettcommandtellsyouwhatvirtualterminalyou'recurrentlyworkingin.
Ctrl+Alt+F7
SwitchtotheGUI.IfyouhavetheXWindowSystemrunning,itrunsintheseventhvirtualterminalbydefaultinmostLinux
distros.IfXisn'trunning,thisterminalisempty.
Note:insomedistros,Xrunsinadifferentvirtualterminalbydefault.Forexample,inPuppyLinux,it's3.
<XWindoSstem>
Ctrl+Alt++
SwitchtothenextresolutionintheXWindowSystem.Thisworksifyou'veconfiguredmorethanoneresolutionforyourX
server.Notethatyoumustusethe+inyournumpad.
Ctrl+Alt+
SwitchtothepreviousXresolution.Usetheinyournumpad.
MiddleMouseButton
Pastethehighlightedtext.Youcanhighlightthetextwithyourleftmousebutton(orwithsomeotherhighlightingmethod,
dependingontheapplicationyou'reusing),andthenpressthemiddlemousebuttontopaste.Thisisthetraditionalwayof
copyingandpastingintheXWindowSystem,butitmaynotworkinsomeXapplications.
Ifyouhaveatwobuttonmouse,pressingbothofthebuttonsatthesametimehasthesameeffectaspressingthemiddle
one.Ifitdoesn't,youmustenable3mousebuttonemulation.
Thisworksalsointextterminalsifyouenablethegpmservice.
Ctrl+Alt+Backspace
KilltheXserver.UsethisifXcrashesandyoucan'texititnormally.Ifyou'veconfiguredyourXWindowSystemtostart
automaticallyatbootup,thisrestartstheserverandthrowsyoubacktothegraphicalloginscreen.
<Commandlineinput>
HomeorCtrl+a
Movethecursortothebeginningofthecurrentline.
1/3/12 Linu keboard shortcuts
2/3 .tufiles.org/linuhelp/shortcuts.html
Ehd o CtJ + e
Moehecooheendofhecenline.
AJt + b
Moehecoohebeginningofhecenopeiood.Noehahilehiokinialeminal,imano
okinallgaphicaleminalemlao,becaemangaphicalapplicaionaleadehiaamenhocb
defal.
AJt + f
Moehecooheendofheneod.Again,likeihallhochaeAlahemodifie,himanookinall
gaphicaleminalemlao.
Tab
Aocompleecommandandfilename.Tpehefilee()ofacommand,diecoofilename,peTabandhe
eicompleedaomaicall!Ifheeaemoecommandaingihheamelee,hehellcompleeamch
aicanandbeep.IfohenpeTabagain,ihooallhealenaie.
Thihocieallhelpflandaealoofping!IeenokahelilopompandinomeXapplicaion.
CtJ + u
Eaehecenline.
CtJ + k
Deleehelinefomhepoiionofhecooheendofheline.
CtJ + W
Deleeheodbefoeheco.
<Commandlineoutput>
5h1ft + PageUp
Scolleminalopp.
5h1ft + PageuoWh
Scolleminalopdon.
cJea
ThecJeacommandcleaallpeioleecedcommandandheiopfomheceneminal.
CtJ + J
DoeeaclheameapinghecJeacommand.
eset
Ifomepoeminal,eheesetcommand.Foeample,ifoocaabinafile,heeminala
hoingeidchaace.Noehaomanobeableoeehecommandheno'epingi.
<Commandlinehistor>
h1stoy
Whenopeheh1stoycommand,o'lleealiofhecommandoeecedpeiol.
AoWUp o CtJ + p
Scollpinhehioandedihepeioleecedcommand.Toeecehem,peEhtelikeonomalldo.
AoWuoWh o CtJ + h
Scolldoninhehioandedihenecommand.
CtJ +
Findhelacommandhaconainedheleeo'eping.Foeample,ifoanofindohelaacionodido
afilecalled"f1Je42.txt",o'llpeCl+andapinghefilename.O,ifoanofindohelapaamee
ogaeohe"cp"command,o'llpeCl+andpein"cp".
<Commandlinemisc>
1/3/12 Linu keboard shortcuts
3/3 .tufiles.org/linuhelp/shortcuts.html
Ctrl+c
Killhecenpoce.
Ctrl+
Sendhecenpoceobackgond.Thiieflifohaeapogamnning,andoneedheeminalfoahile
bdon'anoeihepogamcompleel.ThenjendiobackgondihCtrl+,dohaeeoan,andpe
hecommandfgogehepoceback.
Ctrl+d
Logofomheceneminal.IfoehiinaeminalemlaondeX,hiallhdonheeminal
emlaoafeloggingoo.
Ctrl+Alt+Del
Rebooheem.Yocanchangehibehaiobediing/etc/inittabifoanheemohdonineadof
ebooing.
Linuhelp>Tipsandcheatsheets>Linukeboardshortcuts

Вам также может понравиться