Outras Coisas Úteis

Colando em comandos

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

Guardar durante a escrita

Seta para cima ou Ctrl+p

Percorre os comandos que introduziu anteriormente

Seta para baixo ou Ctrl+n

Leva-o até um comando mais recente.

Enter

Quando tiver o comando que desejá.

Separador

Uma característica muito útil. Auto-completa qualquer comando ou nome de ficheiro se houver só uma opção ou mostra uma lista de opções.

Alterar o texto

Quando trabalhar na linha de comando, o seu rato não irá interagir com o terminal. Use as teclas Seta Esquerda/Direita para mover o cursor na linha.

Quando o cursor estiver no sitio da linha que deseja, digitar irá inserir texto, não irá substituir o texto já existente.

Ctrl+a Início

Move o cursor para o inicio de uma linha.

Ctrl+e Fim

Move o cursor para o fim de uma linha.

Ctrl+b

Moves to the beginning of the previous or current word.

Ctrl+k

Apaga desde a posição actual do cursor até ao final da linha.

Ctrl+u

Apaga a totalidade da linha actual.

Ctrl+w

Apaga a palavra atrás do cursor.