Search Results

Search: Posts Made By: GopalKrishnaP
3,273
Posted By GopalKrishnaP
$ date Mon Aug 13 08:57:39 EDT 2012 $ date...
$ date
Mon Aug 13 08:57:39 EDT 2012
$ date "+%b %d"
Aug 13
$ date --date="yesterday" "+%b %d"
date: Not a recognized flag: -
Usage: date [-u] [+"Field Descriptors"]
$

These are the outputs...
3,273
Posted By GopalKrishnaP
---------- Post updated at 07:50 AM ----------...
---------- Post updated at 07:50 AM ---------- Previous update was at 07:47 AM ----------




Thanks for the info.
But i am getting below error message:

$ sh sample.sh
date: Not a...
3,273
Posted By GopalKrishnaP
How to list todays and yesterdays .rej files from a directory?
I am trying to display todays and yesterdays .rej files from a directory.
ls -lrt *.rej | grep 'Aug 12' ; ls -lrt *.rej | grep 'Aug 13'

Which is working as above.
But i want take 'Aug 12' and...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 03:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy