วันอังคารที่ 15 พฤษภาคม พ.ศ. 2555

Unix / Linux Shell: Get Third Field Separated by Forward Slash (/) Delimiter

I'm writing a shell script for automation purpose. The output the path of the current working directory is stored in $PWD or it may be obtained using the pwd command. How do I discover discover 3rd field separated by the forward slash (/) delimiter using $PWD under Unix like working systems?  See More..

บทความที่ได้รับความนิยม