PLEX86  x86- Virtual Machine (VM) Program
 Plex86  |  CVS  |  Mailing List  |  Download  |  Linux  |  Newsgroups

command to find the flavour of linux 7197


Your Ad Here

Your Ad Here

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

I'm sorry to have to tell you that you have an impossible requirement.

That's because the OSisLinux.

You shouldnt have to do that if your application is designed correctly. The location that you copy the file to should be well known and standard.

You cannot.

Certainly, there may be a file inetc that, for unmodified SuSE installations, carries the name and version number of the SuSE release, but there is no guarantee that such a file exists, or that the sysadm of the system will retain it intact, if at all.

Your best bet is to make your application put it's file into one of the standard well known places.

Your second best bet is to have the your applicationaskthe operator where to put the file.

The third best bet is to have your application's installation routineaskthe operator where to place the files, and store that response in a configuration file in a well-known place.

Your fourth best bet is to have your application's installation routineaskthe operator which Linux distribution and version it is being installed in, and have the application make an buttumption as to where to store the file, based on the response to the question and a table of distribution-version to location values. Store the derived location in a configuration file in a well known place

Ubuntubinsh default how
When a shell starts up, it determines two things: - is it a login shell? - is...

Finnaly, your fifths best bet is to have your applicationaskthe operator which Linux distribution and version it is being executed in, and have the application make an buttumption as to where to store the file, based on the response to the question and a table of distribution-version to location values.

command to find the flavour of linux 7198
CWO4 Dave Mann buttuming you mean that you need to write files depending on the distribution of Linux you are running, someone has already...

- -- Lew Pitcher

Master Codewright & JOAT-in-training GPG public key available on request Slackware - Because I know what I'm doing. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.7 (GNU-Linux)

iD8DBQFDoiC5agVFX4UWr64RAkMTAJ4vQIHRXYRc6m9xFnOSq7xkGfapOQCg7hsH w8612fhp1FD+E4d3hqcZqRY= =uAC-----END PGP SIGNATURE-----



Your Ad Here

List | Previous | Next

command to find the flavour of linux 7198

Linux groups from Newsgroups

The #1 Usenet Provider on the Internet

Screenshots and Virtual Desktops