07-17-2009
3 months is a little less...
9 More Discussions You Might Find Interesting
1. IP Networking
Ok someone has to be able to help me here.
I have the latest webmin, and i have bind
i have a domain name called
thedigitaldream.co.uk
i have one server, just one as im poor
so the one server is gunna be the dns, email, web and ftp server. Its only for a small site anyway so it will... (16 Replies)
Discussion started by: matt2kjones
16 Replies
2. UNIX for Advanced & Expert Users
Hi all,
Using shell script and awk statements, I manage to get the month and year of the Patch Bundle installed on the system. Now I have to compare month and year of Patch Bundle installed to the Patch Bundle which is desired on the workstation. I am able to do easily comparison of year but not... (1 Reply)
Discussion started by: pankschawla
1 Replies
3. Shell Programming and Scripting
Hi,
how can I format date function to find n (n=1 to 11) months ego ?
For exemple now we are in july and I want to have a variable presenting april.
How should it be :
month=`date +%b`?????
Many thanks before. (8 Replies)
Discussion started by: big123456
8 Replies
4. UNIX for Advanced & Expert Users
I have the script which appends month and year to the name of the
file. Now every time when I append the month-year combination I
have to subtract 2 months from the current date and then append
it, since we are sending our vendor 2 months prior worth of data
eveytime.
#! /usr/bin/ksh
... (5 Replies)
Discussion started by: mahekr2000
5 Replies
5. UNIX for Advanced & Expert Users
Hi all,
How can I get the list of all Threads and the Total count of threads under a particular process ?
Do suggest !!
Awaiting for the replies !!
Thanks
Varun:b: (2 Replies)
Discussion started by: varungupta
2 Replies
6. UNIX for Dummies Questions & Answers
Hi Everyone,
Good day.
Scenario:
2 unix servers -- A (SunOS) and B (AIX)
I have an ftp script to sftp 30 files from A to B which happen almost instantaneously i.e 30 sftp's happen at the same time.
Some of these sftp's fail with the following error:
ssh_exchange_identification: Connection... (1 Reply)
Discussion started by: jeevan_fimare
1 Replies
7. Shell Programming and Scripting
Hi,
I need the date n months before currrent date
I need to store date in a varible say x
and then get the date 6 month before and get the result in the format 25-Aug-2009
Please Advice (7 Replies)
Discussion started by: mad_man12
7 Replies
8. Shell Programming and Scripting
Hi,
I have many files of monthly means from model simulation such as 1,2,3,4.....12, corresponding to jan, feb, mar,....., dec.
e.g. avg_1.nc, avg_2.nc, ............., avg_12.nc.
i want to write a shell script such that it should conveet number into months and year such as..... (4 Replies)
Discussion started by: mahesh shinde
4 Replies
9. UNIX for Dummies Questions & Answers
Hello,
I would like to find out the number of months between two dates as below example.
date 1 = 03-02-2016
date 2 = 15-11-2015
I need 04 as months difference.
Any help on this is highly appreciated.
Thanks,
Keerti (3 Replies)
Discussion started by: keertis
3 Replies
LEARN ABOUT DEBIAN
atprint
atprint(3) AtFS Toolkit Library atprint(3)
NAME
atWriteStatus, atWriteMode, atWriteDate, atWriteName, atScanStatus - print and scan special attribute values
SYNOPSIS
#include <atfs.h>
#include <atfstk.h>
char*atWriteStatus (Af_key *aso; int verbose);
char*atWriteMode (Af_key *aso);
char*atWriteDate (Af_key *aso, char *dateAttribute);
char*atWriteName (Af_key *aso, char *path);
int atScanStatus (char *statusStr);
DESCRIPTION
atWriteStatus returns a string representation of Asos AF_STATE attribute. With the verbose argument TRUE, atWriteStatus returns a long (8
character) status name. Otherwise, on FALSE, it returns a one character short representation. The result value is a statically defined
string in any case.
atWriteMode generates a ls -l(1) like (e.g. -rwxr-xr-x) string representation of the AF_MODE attribute. It returns its result in static
memory, which will be overwritten on subsequent calls.
atWriteDate produces a date string from the given dateAttribute to be used for ls -l(1) like output (e.g. Jan 8 11:07 or Jul 10 1992).
The format of the date string depends on the value of the date attribute. The string is always 12 characters long and begins with the month
and day. For dates younger than 6 months, the third field is the time, for dates older than 6 months, the year. The result string resides
in static memory, which will be overwritten on subsequent calls.
atWriteName generates a bound pathname from path and aso.
atScanStatus converts an status string to an internal numeric status value. It understands various abbreviations, including the one charac-
ter status strings generated by atWriteStatus.
.BUGS
The format switch in afWriteDate (for dates older than six months) does not happen at exactly the right time. It may be a few days later.
AtFStk-1.12 Fri Jun 25 16:39:43 1993 atprint(3)