I am getting into this UNIX stuff and i'm loving it - BUT it's a complex beast
Could someone please tell me if this is the most compact ls command I can write in the terminal to display all the files with the word the in the text:-
[tt]ls | grep -d skip --binary-files=without-match 'the' *[/tt]
This is probably a VERY simple question for you UNIX buffs - but you have to trust me when I say that I am truly overwhelmed by the number of switches available... and their awesome flexibility when piped to other commands. Unfortunately it makes learning the syntax quite difficult. I've experienced seasoned UNIX professionals slipping up...
Please help!
Kind Regards
Duncan
Could someone please tell me if this is the most compact ls command I can write in the terminal to display all the files with the word the in the text:-
[tt]ls | grep -d skip --binary-files=without-match 'the' *[/tt]
This is probably a VERY simple question for you UNIX buffs - but you have to trust me when I say that I am truly overwhelmed by the number of switches available... and their awesome flexibility when piped to other commands. Unfortunately it makes learning the syntax quite difficult. I've experienced seasoned UNIX professionals slipping up...
Please help!
Kind Regards
Duncan