dumpe2fs /dev/sda1 | grep -i 'block size'
Monthly Archives: July 2011
Retrieving date and time from squid access.log file
perl -pe 's/[\d\.]+/localtime($&)/e' /squid/access.log
Extracting cpio archive
cpio -idv < tree.cpio
Getting the Service Tag of Dell Machines in Linux
dmidecode | grep Serial
Linux installation from Network – At boot prompt type
linux askmethod
Extracting Private Key from .pfx certificate
openssl pkcs12 -in sslcert.pfx -nodes -clcerts -out servercert.pem openssl rsa -in servercert.pem -out serverkey.pem
Recover corrupt SVN repository
svnadmin recover /var/svn/myrepo
Retreiving the Dell Server Service Tag
dmidecode | grep Serial
Forcefully unmount the mount point
umount -l /mountpoint
Sharing VNC Desktop
vncserver -AlwaysShared :1