One Liners for *nix

# Remove 1st Column  awk 'BEGIN{FS=OFS="#"}{$2=$3=""}{print}')cat ldm_dump.o |awk 'BEGIN{FS=OFS=" "}{$1=""}{print}' # Create non-existent dirs for i in `cat /etc/vfstab|grep vx|awk '{print $3}'`; do mkdir $i; done # Uncompress and tar install gunzip -c prdhbs1_hbsdg.tar.gz|tar xvf - # Veritas vxprint -v |grep -v NAME|grep -v group |awk '{print $2" ", $5}' # Grow and extend Vol/FS … Continue reading One Liners for *nix