Using file partially for filenames

2012-02-12 1 min read bash Learning
There are some commands that take file name and there are some case where you need to give file name. But there are some cases where you want to modify the file before passing it to the command. What do you do in these case’s? I had a file containing huge amount of data and for some testing I wanted to pass only the first few lines of the file and not the complete file. Continue reading