misc. shell command

August 29, 2012

Beberapa perintah shell (bash) yang rencananya akan di-update terus.

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