Misc. shell command

August 29, 2012

dmesg refresh

while true;dmesg -c;sleep 5;done dmesg-c;tail -f /var/log/messages

turn off screen:

xset dpms force standby

see user:

lastlog
cat /etc/passwd

samba start/stop/restart:

sudo service smbd start/stop/restart