## Updated: 2010-07-06 # Highlight changing network information (rx,tx etc.) watch -n 2 -d '/sbin/ifconfig eth0' # Start xen guest and attach to virtual console # to access grub and see bootup messages xm create -c # Which package holds that file? rpm -qf /bin/mount # Which packages were installed lately? rpm -qa --last | tac # Get SSL certificate openssl s_client -connect : # Replace in-file (or in-place edit) with Perl perl -pi -e 's/oldtext/newtext/' # ldapsearch with TLS ldapsearch -x -Z # Capturing traffic with tcpdump tcpdump -i eth3 tcp port 389 -w /root/tcpdump.txt # Open reverse SSH tunnel ssh -L : user@gateway # Show extended MySQL table info like collation, privileges etc. SHOW FULL COLUMNS FROM ; # Read hardware sensors from Sun server ipmitool -v -U -H sdr list all