Simple Way of Ordering Error Messages over Multiple Syslog Files
for file in `ls -lt messages*| awk '{print $9}'`; do echo $file; echo; grep ERROR $file; done
puppet parser validate manifestname.pp
rpm --scripts -qp rpmname.rpm
lsof /opt/
umount /opt
lvextend -l +100%FREE /dev/mapper/vg_root-lv_opt
e2fsck -f /dev/mapper/vg_root-lv_opt
resize2fs -p /dev/mapper/vg_root-lv_opt
e2fsck -f /dev/mapper/vg_root-lv_opt
Remount the partition:-
mount /opt/