Shell/bash befehle: Unterschied zwischen den Versionen
Aus Vosp.info
HK (Diskussion | Beiträge) |
HK (Diskussion | Beiträge) |
||
Zeile 4: | Zeile 4: | ||
===lvs=== | ===lvs=== | ||
lvs — report information about logical volumes | lvs — report information about logical volumes | ||
− | + | ||
− | + | ===w=== | |
− | who | + | Show who is logged on and what they are doing. |
− | last, lastb | + | ===who=== |
− | lastlog | + | show who is logged on |
− | + | ===last, lastb=== | |
+ | show listing of last logged in users | ||
+ | ===lastlog=== | ||
+ | examine lastlog file | ||
+ | |||
Version vom 27. März 2018, 17:57 Uhr
Inhaltsverzeichnis
Befehle
lsblk
lsblk - Blockgeräte auflisten
lvs
lvs — report information about logical volumes
w
Show who is logged on and what they are doing.
who
show who is logged on
last, lastb
show listing of last logged in users
lastlog
examine lastlog file
Einstellungen
für die History
/etc/profile
export HISTFILESIZE=
export HISTSIZE=
#export HISTTIMEFORMAT="[%F %T] "
export HISTTIMEFORMAT="%d/%m/%y %T "
export HISTFILE=~/.bash_history
ip
ip rule
Zeigt sämtliche Routing Tabellen an.
ip r ls t <Tabellenname>
Zeigt den Inhalt einer Routingtabelle