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
KeyLogger problems..
how we can send message from server to CLIENT Comptuers ?
SBS2003 e-mail account not created when creating a new user.
Bash script does not work as a cron job
Exchange 2007 - Block email domain - No Edge Transport Role
Using Cisco IAD 2430 as Primary Router/Firewall?
Windows Server 2003 display settings
ASP.net Service Account
Physical Volume Library Robot not found
Outlook Express response: 550 5.7.1 Authentication Required