Use find command to extract lines from text files in subfolder – unix.stackexchange.com 09:08 Posted by Unknown No Comments I have text file input.txt in each of the hundred subfolders named sample_1, ..., sample_100. I can extract first line of all input.txt files using below command: find -name input.txt -exec awk 'FNR ... from Hot Questions - Stack Exchange OnStackOverflow via Blogspot Share this Google Facebook Twitter More Digg Linkedin Stumbleupon Delicious Tumblr BufferApp Pocket Evernote Unknown Artikel TerkaitAmerican equivalent to British "takeaway" – ell.stackexchange.comWhy don't US presidential candidates get thrown into jail by their opponent during election? – politics.stackexchange.comWhy does this URL with excessive preceding dots resolve to an IP address? – serverfault.comWhat is a God Word™? – puzzling.stackexchange.comHow was the Centaur stage fueled in the Space Shuttle? – space.stackexchange.comAWK/GAWK adding character after pattern is matched – unix.stackexchange.com
0 Comment to "Use find command to extract lines from text files in subfolder – unix.stackexchange.com"
Post a Comment