Microsoft
Software
Hardware
Network
Question : Unix command to search inside files and display results with file date-time
Hi Experts
I want to be able to search inside text files in our HP-UX server for a string. The active shell is ksh.
I am currently using:
find . -type f | xargs grep -l -s "findMe"
This lists the files that I want but I want it to display the files' date and time because the search string is in files on different dates.
I tried the following with no joy:
ll < `find . -type f -print |xargs grep -l -s "56777"`
Your help is appreciated.
Thanks
Aimee
Answer : Unix command to search inside files and display results with file date-time
ls `find . -type f -print |xargs grep -l -s "56777"`
Random Solutions
What are your opinions on the Windward System Five POS software?
os.system() not passing command line properly
XML issues in flex
"kmode exception"
Outlook 2007 - Create Rule to Save Attachments
UDF unable to load Java class. What do I need to do to make this work?
Exchange 2007 SP1 resource getting double booked by adding it as a required attendee
VPN issue with ASA firewall
Getting Deferred: local mailer (/usr/bin/procmail) exited with EX_TEMPFAIL error
What is my SID? host?