/usr/bin/date [ -n ] [ -u ] [ Date ] [ +FieldDescriptor ... ]
date mmddHHMM[ccyy]
I need set time with second!
I do
> date 120000 + "%H%M%S" and get
date: 0551-402 Invalid character in date/time specification.
Usage: date [-u] [+"Field Descriptors"]
As correctly to set it's time?
Thanks.
Best regards.
# date mmddHHMM.SS
You also need to run the command with root authority.
HTH,
---
Paul Bennett - Strolling *ix sysadm, and polymath-for-hire.
The opinions expressed above are not those of my employer,
nor of my current or past clients. So there.
date MMddhhmm.ssyy
MM- Month
dd-day
hh-hours
mm-minutes
ss-seconds
yy-year
Note the period between the minutes and seconds.
or use smitty date.
ka wrote:
> Hello All.
>
> I try correct time and man date.
>
> /usr/bin/date [ -n ] [ -u ] [šDateš] [š+FieldDescriptorš... ]
I am trying to set up a synchronous modem on one of the 2 Port multi-protocol
adapter's ports but keep getting the following error;
Method error (/usr/lib/methods/cfgsx25):
0514-048 Error downloading microcode or software.
cfgsx25(config_link): Link request failed.
Error attaching hdlc layer to physical device (E_HATTACH).
cfgsx25: config_link() call failed
any ideas what I'm doing wrong? Is it maybe a modem problem?
regards,
Adam Cioccarelli
Paul Landay
Hello,
nothing is wrong. Its a bug.
if it is an ARTIC Adapter, there is an patch: IY12785
Anyhow, you should try
rmdev -l x25s0 (if you have comio)
rmdev -l sx25a0
rmdev -l hdlc0
rmdev -l hdlc1 (if you have it available)
rmdev -l dpmpa0
, and then the whole story backwards (with mkdev, of course). Worked for
me. Sorry, no other solution til now.
Andreas Mueller
unix/networkadmin
varetis AG
mailto:andreas...@varetis.de