shell command, ubuntu May 18, 2013 aldo No comments

kumpulan perintah terminal

Beberapa perintah terminal yang sering saya gunakan

melakukan tail pada dmesg

dmesg refresh: while true;dmesg -c;sleep 5;done dmesg-c;tail -f /var/log/messages
watch -n [interval] : run terminal command then refresh output every [interval]

turn off screen:

xset dpms force standby

see user:

lastlog 
cat /etc/passwd

samba start/stop/restart:

sudo service smbd start/stop/restart

Melihat detail linux anda

sudo lsb_release -a
sudo uname -a

Leave a Reply

Your email address will not be published. Required fields are marked *