Linux Command Line Befehle: Unterschied zwischen den Versionen

Aus eLib.at
Wechseln zu: Navigation, Suche
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 46: Zeile 46:


<code>CTRL-c </code>  Stop current command
<code>CTRL-c </code>  Stop current command
<code>CTRL-z </code>  Sleep program
<code>CTRL-z </code>  Sleep program
<code>CTRL-a </code>  Go to start of line
<code>CTRL-a </code>  Go to start of line
<code>CTRL-e </code>  Go to end of line
<code>CTRL-e </code>  Go to end of line
<code>CTRL-u </code>  Cut from start of line
<code>CTRL-u </code>  Cut from start of line
<code>CTRL-k </code>  Cut to end of line
<code>CTRL-k </code>  Cut to end of line
<code>CTRL-r </code>  Search history
<code>CTRL-r </code>  Search history
<code>!! </code>  Repeat last command
<code>!! </code>  Repeat last command
<code>!abc </code>  Run last command starting with abc
<code>!abc </code>  Run last command starting with abc
<code>!abc:p </code>  Print last command starting with abc
<code>!abc:p </code>  Print last command starting with abc
<code>!$ </code>  Last argument of previous command
<code>!$ </code>  Last argument of previous command
<code>ALT-. </code>  Last argument of previous command
<code>ALT-. </code>  Last argument of previous command
<code>!* </code>  All arguments of previous command
<code>!* </code>  All arguments of previous command
<code>^abc^123 </code>  Run previous command, replacing abc with 123
<code>^abc^123 </code>  Run previous command, replacing abc with 123





Version vom 27. September 2022, 20:53 Uhr

ELibHilfeAnleitungenportal.png

 

INFORMATION

Details: Siehe Volltext. Sprache der Inhalte: Deutsch.

 

Zitierhilfe: Zitiere diese Inhalte in verschiedenen Zitierstilen. Archivkopien aller Inhalte finden sich auch im großartigen Internet Archive (Spenden).

 

QUERVERBINDUNGEN

Verbindungen mit Personen, Orten, Dingen und Ereignissen finden sich unter Themen und Schwerpunkte.


 

TAGS & KATEGORIEN



Linux Command Line Befehle


System Care

sudo apt-get update Update List of Packages

sudo apt-get upgrade Upgrade OS and packages


Bash Commands

uname -a Show system and kernel

head -n1 /etc/issue Show distri­bution

mount Show mounted filesy­stems

date Show system date

uptime Show uptime

whoami Show your username

man command Show manual for command


Bash Shortcuts

CTRL-c Stop current command

CTRL-z Sleep program

CTRL-a Go to start of line

CTRL-e Go to end of line

CTRL-u Cut from start of line

CTRL-k Cut to end of line

CTRL-r Search history

!! Repeat last command

!abc Run last command starting with abc

!abc:p Print last command starting with abc

!$ Last argument of previous command

ALT-. Last argument of previous command

!* All arguments of previous command

^abc^123 Run previous command, replacing abc with 123


Links


.

Endnoten