Search Results

Search: Posts Made By: sumi
Forum: AIX 07-16-2007
4,562
Posted By sumi
ls command
Hi,
what is the maximum no. of rows that ls -ltr returns ?

Thank you in advance.
Forum: AIX 01-31-2006
8,054
Posted By sumi
I have one text file which has many date fields. ...
I have one text file which has many date fields.

Date field is in "mm/dd/yyyy" format.

I want to replace every yyyy to yy format.

If i have one year value namely 2005, i can replace as
...
Forum: AIX 01-27-2006
8,054
Posted By sumi
i am using datecalc function....after subtracting...
i am using datecalc function....after subtracting 6 from dt1, i am getting
2006 1 15

dt1=2006 01 27
datecalc -a $dt1 - 6

but i want the output as
2006 01 15

i searched the forum... if...
Forum: AIX 01-24-2006
2,274
Posted By sumi
doubt in retrieving date
Hello,

instead of specifying the date manually in the list as below,
for dt in 010106 010206 010306 010406 010506 010606

here for example : 010106 - 1st jan 2006

how to retrieve the...
Forum: AIX 01-23-2006
8,054
Posted By sumi
i tried the command u sent...for this command, ...
i tried the command u sent...for this command,

cal 02 2006 | tr -s " " | sed -e '1,2d' | awk -F" " '{print $7}'

output should be:
4
11
18
25

but the output i am getting for the above...
Forum: AIX 01-23-2006
8,054
Posted By sumi
doubt in cal command
I am new to unix...

How to get all the saturdays of a specific year?

for a specific month, i tried as below..
cal 02 2006 | awk '{print $7}'
but it is not giving all saturdays....

can...
Showing results 1 to 6 of 6

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