One for all,all for one.
2012年6月16日 星期六
get partition start
# parted -s /dev/sda unit s print | grep -iE -A 100000 "[[:space:]]*Start[[:space:]]*End[[:space:]]*" | sed -e "s/^.*[[:space:]]*Start[[:space:]]*End[[:space:]]*.*$//g" | sed "/^$/d" | awk -F" " '{print $2}' | sed -e "s/s$//g" | sort -n | head -n 1
沒有留言:
張貼留言
‹
›
首頁
查看網路版
沒有留言:
張貼留言