Bash-Kurzreferenzen
Shortcuts
|
Rückläufige Suche auf der Kommandozeile durchführen. Die Tastenkombination öffnet eine Eingabe, in der man frühere Kommandos suchen kann. Eingabe von |
|
Cursor springt an den Anfang der Zeile. |
|
Cursor springt ans Ende der Zeile. |
|
Löscht das Wort links vom Cursor. |
|
Löscht das Wort rechts vom Cursor. |
|
Löscht alles rechts vom Cursor. |
|
Löscht alles links vom Cursor. |
Expressions
|
True if EXPR is false. |
|
Returns the value of EXPR. This may be used to override the normal precedence of operators. |
|
True if both EXPR1 and EXPR2 are true. |
|
True if either EXPR1 or EXPR2 is true. |
|
True if FILE exists. |
|
True if FILE exists and is a block-special file. |
|
True if FILE exists and is a character-special file. |
|
True if FILE exists and is a directory. |
|
True if FILE exists. |
|
True if FILE exists and is a regular file. |
|
True if FILE exists and its SGID bit is set. |
|
True if FILE exists and is a symbolic link. |
|
True if FILE exists and its sticky bit is set. |
|
True if FILE exists and is a named pipe (FIFO). |
|
True if FILE exists and is readable. |
|
True if FILE exists and has a size greater than zero. |
|
True if file descriptor FD is open and refers to a terminal. |
|
True if FILE exists and its SUID (set user ID) bit is set. |
|
True if FILE exists and is writable. |
|
True if FILE exists and is executable. |
|
True if FILE exists and is owned by the effective user ID. |
|
True if FILE exists and is owned by the effective group ID. |
|
True if FILE exists and is a symbolic link. |
|
True if FILE exists and has been modified since it was last read. |
|
True if FILE exists and is a socket. |
|
True if FILE1 has been changed more recently than FILE2, or if FILE1 exists and FILE2 does not. |
|
True if FILE1 is older than FILE2, or is FILE2 exists and FILE1 does not. |
|
True if FILE1 and FILE2 refer to the same device and inode numbers. |
|
True if shell option "OPTIONNAME" is enabled. |
|
True of the length if "STRING" is zero. |
|
True if the length of "STRING" is non-zero. |
|
True if the strings are equal. "=" may be used instead of "==" for strict POSIX compliance. |
|
True if the strings are not equal. |
|
True if "STRING1" sorts before "STRING2" lexicographically in the current locale. |
|
True if "STRING1" sorts after "STRING2" lexicographically in the current locale. |
|
"OP" is one of -eq, -ne, -lt, -le, -gt or -ge. These arithmetic binary operators return true if "ARG1" is equal to, not equal to, less than, less than or equal to, greater than, or greater than or equal to "ARG2", respectively. "ARG1" and "ARG2" are integers. |
Farbcodes
Anwendbar in der Form \e[{attr1;…;{attrN}m
Text attributes 0 Reset 1 Bright 2 Dim 4 Underscore 5 Blink 7 Reverse 8 Hidden Foreground Colors 30 Black 31 Red 32 Green 33 Yellow 34 Blue 35 Magenta 36 Cyan 37 White Background Colors 40 Black 41 Red 42 Green 43 Yellow 44 Blue 45 Magenta 46 Cyan 47 White