06-24-2008
In theory this might work, but all "real existing" UNIXes are some sort of "best of both worlds" nowadays.
AIX (as well as HP-Ux and as far as i know SunOS) will understand both syntaxes, "ps -ef" as well as "ps caux".
the same goes (in AIX, other UNIX dialects i do not know in-depth) for the printing/queue management subsystem, which is different in SysV and BSD. In AIX both the SysV variant and the BSD variant are understood, because both command groups are only frontends to a AIX-native subsystem, which is different from both.
There are 100%-BSD implementations out there (netBSD and FreeBSD for instance), but i do not know of any pure SysV-implementation that is worth noticing. (SCO? Please, have mercy....). So probably the best real-world-approach is to look into the output of "uname" and decide based on a translation table. Still I'd think that this distinction is merely academic nowadays, for reasons given.
I hope this helps.
bakunin
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Since I failed a test that I didn't have the chance to study for, my wonderful instructor told me to write a paper about BSD sys 5. I can't find anything...does it even exist yet??? If you have any input, I would love you forever if you can enlighten me ASAP. (2 Replies)
Discussion started by: Toughgirl27
2 Replies
2. Solaris
Hi
I would like to know the difference between System V release and BSD style release.
Regards,
Raja (2 Replies)
Discussion started by: RajaRC
2 Replies
3. UNIX for Dummies Questions & Answers
What do employers look for?
I have my B.S in Comp Sci and minor in chemistry from UNC.
But my GPA is a bit low (3.0)
I'm studying for my Sun Solaris 9 certification.
Is a certification and a Bachelors enough to get a job?
Or do you need some related work experience?
How hard is it to... (2 Replies)
Discussion started by: CapsuleCorpJX
2 Replies
4. BSD
for all you unix/linux interested heres an online book for free that covers the basics of BSD SysV Unix commands and applications . giving the average linux user a perspective on the differences in context of the two operating systems and for BSD users covers material as a refernce guide.
... (0 Replies)
Discussion started by: moxxx68
0 Replies
5. UNIX for Dummies Questions & Answers
Hi
I am a new comer for Unix sys. My Unix experience just less than half a year. Now Im going to purchase a notebook to install Unix system, but I have no idea of the mini setting for the laptop that are able to run Unix fluently. Is that anyone can tell me? Please give more options or... (1 Reply)
Discussion started by: Julius
1 Replies
6. AIX
I have worked on AIX for a number of years now and want to upskill to Sys Admin. My problem is my employer won't give root access etc to their servers so I must find my own way of training. Can anyone suggest a virtual environment I could use to train for AIX sys admin tasks, or suggest an old... (7 Replies)
Discussion started by: jackmeadow
7 Replies
7. Shell Programming and Scripting
Hi All,
can anybody explain me how to ftp files from local system to unix server using Shell scripting without using any softwares.
i have developed some code but its not wrking.
lclpath=/dba58/d039/ftppubd/ajay
echo $lclpath
cd $lclpath
user='rajesh'
pswd='rajesh'
host="3.209.136.253"... (5 Replies)
Discussion started by: rajesh_pola
5 Replies
8. Programming
(Apologies for any typos.)
OSX 10.12.3 AND Windows 10.
This is for the serious Python experts on at least 3.5.x and above...
In script format sys.stdout.write() AND sys.stderr.write() seems to work correctly.
Have I found a serious bug in the interactive sys.stdout.write() AND... (2 Replies)
Discussion started by: wisecracker
2 Replies
LEARN ABOUT DEBIAN
systemd-sysv-generator
SYSTEMD-SYSV-GENERATOR(8) systemd-sysv-generator SYSTEMD-SYSV-GENERATOR(8)
NAME
systemd-sysv-generator - Unit generator for SysV init scripts
SYNOPSIS
/lib/systemd/system-generators/systemd-sysv-generator
DESCRIPTION
systemd-sysv-generator is a generator that creates wrapper .service units for SysV init[1] scripts in /etc/init.d/* at boot and when
configuration of the system manager is reloaded. This will allow systemd(1) to support them similarly to native units.
LSB headers[2] in SysV init scripts are interpreted, and the ordering specified in the header is turned into dependencies between the
generated unit and other units. The LSB facilities "$remote_fs", "$network", "$named", "$portmap", "$time" are supported and will be turned
into dependencies on specific native systemd targets. See systemd.special(5) for more details.
SysV runlevels have corresponding systemd targets (runlevelX.target). The wrapper unit that is generated will be wanted by those targets
which correspond to runlevels for which the script is enabled.
systemd does not support SysV scripts as part of early boot, so all wrapper units are ordered after basic.target.
systemd-sysv-generator implements systemd.generator(7).
SEE ALSO
systemd(1), systemd.service(5), systemd.target(5)
NOTES
1. SysV init
https://savannah.nongnu.org/projects/sysvinit
2. LSB headers
http://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
systemd 237 SYSTEMD-SYSV-GENERATOR(8)