thanks for your help. In other way I have to say that I am not as good as you are on shell script. I did try to search anwser on the web before to post my request by I did not managed to make it work.
I will try your help, but could you please, if you can tell me what mean :
Thanks
---------- Post updated at 06:13 AM ---------- Previous update was at 02:13 AM ----------
Hello,
I have tried to use the command :
but is not working as I want. All files that could fit the need were not all detected.
I tried the -ctime and -mtime but this give me the same result anyway.
May I ask for a function if you already have one working for solaris ?
Dear all,
i need script to ask to enter the month and if the enterd month is not valid prompt " Envalid entry try again " like this.
eg - Enter the month : Jun
script is proceeding
if we enter incorrect month,
Enter the month - Junn
Invalid... (1 Reply)
Hi,
Could you pls help me out in finding the name of next month.?
For eg:
date +"%b" gives the current month ie 'Jul'
I want to get the output as 'Aug'
Thanks,
Jerry (4 Replies)
Team,
How do i fetch details of the last day of the month i.e 31st,30th
because we receive daily status report but not for the last days of the month..
because when i do an echo `date +%Y%m `${yesterday}
it retrieves me 20100631 where as it should have been 20100531..
Hmm interesting!... (4 Replies)
Hello All,
I am trying to come up with a shell script to count a specific word in a logfile on each day of this month, last month and the month before. I need to produce this report and email it to customer.
Any ideas would be appreciated! (5 Replies)
I have requirment to get last date of previous month and the first date of previous 4th month:
Example:
Current date: 20130320 (yyyymmdd)
Last date of previous month: 20130228 (yyyymmdd)
First date of previous 4th month: 20121101 (yyyymmdd)
In my shell --date, -d, -v switches are not... (3 Replies)
Hi,
I have a script that accepts an input date from the user in yyyy-mm-dd format.
I need to get the mm-dd part and convert it to month name.
example:
2011-11-15
I want that to become "Nov 15"
I don't have the GNU date, I am using an AIX os.
Thanks. (1 Reply)
Hello,
i`m looking for some way to add to some date an partial number of months, for example to 2015y 02m 27d + 2,54m
i need to write this script in php or bash or sh or mysql or perl in normal time o unix time
i`m asking or there are any simple way to add partial number of month to some... (14 Replies)
Hi,
I need all file names in a folder which has date >= 10th of last month,
Example
: files in folder
AUTO_F1_20140610.TXT
BUTO_F1_20140616.TXT
CUTO_F1_20140603.TXT
FA_AUTO_06012014.TXT
LA_AUTO_06112014.TXT
MA_AUTO_06212014.TXT
ZA_AUTO_06232014.TXT
Output:
AUTO_F1_20140610.TXT... (9 Replies)
Hi Folks,
I have a text file with lots of rows with duplicates in the first column, i want to filter out records based on filter columns in a different filter text file.
bash scripting is what i need.
Data.txt
Name OrderID Quantity
Sam 123 300
Jay 342 498
Kev 78 2500
Sam 420 50
Vic 10... (3 Replies)