skill -STOP -u username Pause somebody.skill -KILL -u username Kick out somebody.skill -KILL -v /dev/pts/* Kick all out.last show successful loginslastb show bad loginslastlog show latest logins of all/any users./var/log/btmp bad logins/var/log/wtmp successful logins/var/run/utmp current loginsSet date and time
# date -s "2 OCT 2006 18:00:00"# date --set="2 OCT 2006 18:00:00"# date +%Y%m%d -s "20081128"# date +%T -s "10:13:13"Get hardware info
/sbin/lspci/sbin/lsusblshwroute -nshows the routing table, the gateway will be flagged with a 'G'
If DNS is not properly configured, go to
/etc/resolv.conf, check or add line nameserver x.x.x.xTo pipe wget download content:
wget -q url -O - | cat > abc.txtFor ubuntu 10.10
Edit
/etc/default/grub & run update-grub to set the booting preferences
No comments:
Post a Comment