| description |
|---|
Comandi Linux generali |
- CTRL+Z = mettere in background.
- Tornare all'attivitá:
fg-
HISTTIMEFORMAT="%Y-%m-%d %T " history ...
in .bashrc :
-
# non aggiunge duplicati o comandi che iniziano con lo spazio nell'history: HISTCONTROL=ignoreboth
echo -e "hello world\n\nwelcome here!"
top -b -n l > top.$(date +%F)_$(date +%R)
hostnamectl status
grep ^[^#] /etc/ssh/ssh_config | wc -l