Sponsored Content
Full Discussion: Sys V or BSD derivated UNIX
Operating Systems BSD Sys V or BSD derivated UNIX Post 302208354 by MartyIX on Monday 23rd of June 2008 04:29:46 PM
Old 06-23-2008
Sys V or BSD derivated UNIX

I read it was possible to distinguish if UNIX system on the machine is derivated from Sys V or BSD. The instruction said:

ps -ef ... is functional on Sys V
ps ax ... is functional on BSD

But since I don't have any UNIX machine (just Linux) I can't tell how I may use this knowledge in my script.

My idea is that ps -ef returns non-zero exit code on BSD and ps ax returns non-zero exit code on Sys V.

Is my idea right?

Thank you

(it's a question rather more theoretical than practical, I need it to school)
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

BSD Sys 5????

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

Differences Sys 5 and BSD

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

How to get hired as a Unix sys admin?

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 linux and BSD users interested in Unix system V/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

The mini hardware requirment for standard Unix sys.

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

Help training for Unix Sys Admin

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

ftp files from local sys to unix server

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

Interactive Python 3.5+ sys.stdout.write() AND sys.stderr.write() bug?

(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
Sys::Virt::Interface(3pm)				User Contributed Perl Documentation				 Sys::Virt::Interface(3pm)

NAME
Sys::Virt::Interface - Represent & manage a libvirt host network interface DESCRIPTION
The "Sys::Virt::Interface" module represents a host network interface allowing configuration of IP addresses, bonding, vlans and bridges. METHODS
my $name = $iface->get_name() Returns a string with a locally unique name of the network $iface->is_active() Returns a true value if the interface is currently running my $name = $iface->get_mac() Returns a string with the hardware MAC address of the interface my $xml = $iface->get_xml_description() Returns an XML document containing a complete description of the network's configuration $iface->create() Start a network whose configuration was previously defined using the "define_network" method in Sys::Virt. $iface->undefine() Remove the configuration associated with a network previously defined with the "define_network" method in Sys::Virt. If the network is running, you probably want to use the "shutdown" or "destroy" methods instead. $iface->destroy() Immediately terminate the machine, and remove it from the virtual machine monitor. The $iface handle is invalid after this call completes and should not be used again. CONSTANTS
XML CONSTANTS The following constants are used when querying XML Sys::Virt::Interface::XML_INACTIVE Request the inactive XML, instead of the current possibly live config. AUTHORS
Daniel P. Berrange <berrange@redhat.com> COPYRIGHT
Copyright (C) 2006-2009 Red Hat Copyright (C) 2006-2007 Daniel P. Berrange LICENSE
This program is free software; you can redistribute it and/or modify it under the terms of either the GNU General Public License as published by the Free Software Foundation (either version 2 of the License, or at your option any later version), or, the Artistic License, as specified in the Perl README file. SEE ALSO
Sys::Virt, Sys::Virt::Error, "http://libvirt.org" perl v5.14.2 2012-05-21 Sys::Virt::Interface(3pm)
All times are GMT -4. The time now is 04:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy