* Using what command you can get 4.0d?
@ 2000-02-11 5:00 David Cui
2000-02-11 5:00 ` Serguei Patchkovskii
2000-02-14 5:00 ` Arnaud LHUILLIER
0 siblings, 2 replies; 8+ messages in thread
From: David Cui @ 2000-02-11 5:00 UTC (permalink / raw)
Dear Sir/Madam,
I am writing a script and I need to get 4.0d.
How can I get that?
uname -a doesn't help.
Any command will do that?
in AIX there is a command called oslevel.
Thanks.
David
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Using what command you can get 4.0d?
2000-02-11 5:00 Using what command you can get 4.0d? David Cui
@ 2000-02-11 5:00 ` Serguei Patchkovskii
2000-02-14 5:00 ` Arnaud LHUILLIER
1 sibling, 0 replies; 8+ messages in thread
From: Serguei Patchkovskii @ 2000-02-11 5:00 UTC (permalink / raw)
David Cui (cui@solaria.sol.net) wrote:
: I am writing a script and I need to get 4.0d.
Well, you just need to get '4.0d', I'd suggest using "/bin/echo '4.0d'".
If, on the other hand, you need to know the exact version of Tru64
your script is running on, "/usr/sbin/sizer -v" may be of some use.
/Serge.P
--
home page: http://www.cobalt.chem.ucalgary.ca/ps/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Using what command you can get 4.0d?
@ 2000-02-11 5:00 David Cui
2000-02-11 5:00 ` Kjell Andresen
0 siblings, 1 reply; 8+ messages in thread
From: David Cui @ 2000-02-11 5:00 UTC (permalink / raw)
Dear Sir/Madam,
I am writing a script and I need to get 4.0d.
How can I get that?
uname -a doesn't help.
Any command will do that?
in AIX there is a command called oslevel.
Thanks.
David
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Using what command you can get 4.0d?
2000-02-11 5:00 David Cui
@ 2000-02-11 5:00 ` Kjell Andresen
2000-02-14 5:00 ` Hannes Loeffler
0 siblings, 1 reply; 8+ messages in thread
From: Kjell Andresen @ 2000-02-11 5:00 UTC (permalink / raw)
cui@solaria.sol.net (David Cui) writes:
> I am writing a script and I need to get 4.0d.
> How can I get that?
> uname -a doesn't help.
I've compiled a list at http://www.usit.uio.no/it/unix/du/versjoner.txt
> Any command will do that?
kjell@halfdan ~ $ sizer -v
Digital UNIX V4.0F (Rev. 1229); Thu Jul 29 13:40:05 MET DST 1999
kjell@halfdan ~ $ grep -i unix /etc/motd
Digital UNIX V4.0F (Rev. 1229); Thu Jul 29 13:40:05 MET DST 1999
Kjell
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Using what command you can get 4.0d?
2000-02-11 5:00 Using what command you can get 4.0d? David Cui
2000-02-11 5:00 ` Serguei Patchkovskii
@ 2000-02-14 5:00 ` Arnaud LHUILLIER
1 sibling, 0 replies; 8+ messages in thread
From: Arnaud LHUILLIER @ 2000-02-14 5:00 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 343 bytes --]
strings /vmunix | grep "(Rev"
David Cui <cui@solaria.sol.net> a �crit dans le message :
38a45be1$0$1408@news.sol.net...
> Dear Sir/Madam,
>
> I am writing a script and I need to get 4.0d.
> How can I get that?
> uname -a doesn't help.
>
> Any command will do that?
>
> in AIX there is a command called oslevel.
>
> Thanks.
>
> David
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Using what command you can get 4.0d?
2000-02-11 5:00 ` Kjell Andresen
@ 2000-02-14 5:00 ` Hannes Loeffler
2000-02-14 5:00 ` Kjell Andresen
0 siblings, 1 reply; 8+ messages in thread
From: Hannes Loeffler @ 2000-02-14 5:00 UTC (permalink / raw)
Kjell Andresen <kjell@dod.no> writes:
> cui@solaria.sol.net (David Cui) writes:
>
> > I am writing a script and I need to get 4.0d.
> > How can I get that?
> > uname -a doesn't help.
>
> I've compiled a list at http://www.usit.uio.no/it/unix/du/versjoner.txt
>
> > Any command will do that?
>
> kjell@halfdan ~ $ sizer -v
> Digital UNIX V4.0F (Rev. 1229); Thu Jul 29 13:40:05 MET DST 1999
> kjell@halfdan ~ $ grep -i unix /etc/motd
> Digital UNIX V4.0F (Rev. 1229); Thu Jul 29 13:40:05 MET DST 1999
/etc/motd might be modified by the sysadmin to serve as what it is intended
to do: output the message of the day.
Hannes.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Using what command you can get 4.0d?
2000-02-14 5:00 ` Hannes Loeffler
@ 2000-02-14 5:00 ` Kjell Andresen
2000-02-14 5:00 ` David D. Hooton
0 siblings, 1 reply; 8+ messages in thread
From: Kjell Andresen @ 2000-02-14 5:00 UTC (permalink / raw)
Hannes Loeffler <Hannes.Loeffler@uibk.ac.at> writes:
> Kjell Andresen <kjell@dod.no> writes:
>
> > cui@solaria.sol.net (David Cui) writes:
> >
> > > I am writing a script and I need to get 4.0d.
> > > How can I get that?
> > > uname -a doesn't help.
> >
> > I've compiled a list at http://www.usit.uio.no/it/unix/du/versjoner.txt
> >
> > > Any command will do that?
> >
> > kjell@halfdan ~ $ sizer -v
> > Digital UNIX V4.0F (Rev. 1229); Thu Jul 29 13:40:05 MET DST 1999
This option to sizer is not available in all versions of DU/TU - I do
not remember when it came - , so therefore I also suggested:
> > kjell@halfdan ~ $ grep -i unix /etc/motd
> > Digital UNIX V4.0F (Rev. 1229); Thu Jul 29 13:40:05 MET DST 1999
>
> /etc/motd might be modified by the sysadmin to serve as what it is intended
> to do: output the message of the day.
Yes, of course - but it's worth to decide whether or not to keep this
single line if for example sizer does not support the -v option (as
long as the only other place the version is placed is in the binary
log; uerf)
A well maintained system could even use DNS:
$ host -t hinfo halfdan
halfdan.uio.no host information DEC-200-4/166 DIGITAL-UNIX-4.0F
But I guess not everybody will like to broadcast this.
Kjell
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Using what command you can get 4.0d?
2000-02-14 5:00 ` Kjell Andresen
@ 2000-02-14 5:00 ` David D. Hooton
0 siblings, 0 replies; 8+ messages in thread
From: David D. Hooton @ 2000-02-14 5:00 UTC (permalink / raw)
In article <u8n4sbct6lk.fsf@beta.uio.no>, Kjell Andresen <kjell@dod.no> writes:
|> Hannes Loeffler <Hannes.Loeffler@uibk.ac.at> writes:
|> > Kjell Andresen <kjell@dod.no> writes:
|> > > cui@solaria.sol.net (David Cui) writes:
|> > > > I am writing a script and I need to get 4.0d.
|> > > > How can I get that?
|> > > kjell@halfdan ~ $ sizer -v
|> > > Digital UNIX V4.0F (Rev. 1229); Thu Jul 29 13:40:05 MET DST 1999
|> This option to sizer is not available in all versions of DU/TU
I use:
salem> printf "%s.%s%s\n" `cat /usr/sys/conf/v*.[mv]*`
4.0F
- DDH
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2000-02-14 5:00 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-11 5:00 Using what command you can get 4.0d? David Cui
2000-02-11 5:00 ` Serguei Patchkovskii
2000-02-14 5:00 ` Arnaud LHUILLIER
-- strict thread matches above, loose matches on Subject: below --
2000-02-11 5:00 David Cui
2000-02-11 5:00 ` Kjell Andresen
2000-02-14 5:00 ` Hannes Loeffler
2000-02-14 5:00 ` Kjell Andresen
2000-02-14 5:00 ` David D. Hooton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox