Andre nyttige ting

Lime inn kommandoer

Often, you will be referred to instructions that require commands to be pasted into the terminal. You might be wondering why the text you've copied from a web page using Ctrl+C won't paste in with Ctrl+V. Surely you don't have to type in all those nasty commands and filenames? Relax. Middle Button Click on your mouse (both buttons simultaneously on a two-button mouse) or Right Click and select Paste from the menu. You can also insert text by hitting Ctrl+Insert

Spar deg for skriving

Piltast opp eller Ctrl+p

Blar gjennom kommandoer du har skrevet tidligere.

Pil ned eller Ctrl+n

Tar deg tilbake til nylig brukte kommandoer.

Gå inn i

Når du har den kommandoen du ønsker.

Tabulator

Et meget nyttig hjelpemiddel er automatisk fullføring av kommandoer eller filnavn, om det kun er et alternativ, ellers vil den gi deg en liste over muligheter.

Endre teksten

When working in the command line, your mouse will not interface with the terminal. Use the Left/Right arrow keys to move around the line.

When the cursor is where you want it in the line, typing inserts text, it doesn't overtype what's already there.

Ctrl+a Home

Flytter pekeren til starten av linjen.

Ctrl+e End

Flytter pekeren til slutten av en linje.

Ctrl+b

Flytter til begynnelsen av forrige eller nåværende ord.

Ctrl+k

Fjerner fra den nåværende markørposisjon til linjeslutt.

Ctrl+u

Fjerner hele nåværende linje.

Ctrl+w

Fjerner ord foran markøren.