Shell/bash befehle: Unterschied zwischen den Versionen

Aus Vosp.info
Wechseln zu:Navigation, Suche
(Einstellungen)
(für die History)
Zeile 17: Zeile 17:
 
#export HISTTIMEFORMAT="[%F %T] "
 
#export HISTTIMEFORMAT="[%F %T] "
 
export HISTTIMEFORMAT="%d/%m/%y %T "
 
export HISTTIMEFORMAT="%d/%m/%y %T "
export HISTFILE=~~/.bash_history
+
export HISTFILE=~/.bash_history
  
 
</source>
 
</source>

Version vom 6. Juli 2015, 08:03 Uhr

Befehle

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