1826164 Members
4302 Online
109691 Solutions
New Discussion

General Things

 
SOLVED
Go to solution
shanmuganathan
Occasional Advisor

General Things

Hi all,
I am new to unix and needed some clarificatons.I would be very thankful to all who reply.
1.Difference between BSD and AT&T System v relese 4.
2.Difference between hard an soft links.
I would like to know whether any software is there to practise HP commands on a windows PC where there is no server.

Best Regards,
NS Nathan.
9 REPLIES 9
Mark Grant
Honored Contributor
Solution

Re: General Things

Difference between BSD and AT&T is not that great from the user/sysadmin point of view and shouldn't really trouble you. There are minor differnces such as default print spooler and startup script layout and a few bits and bobs.

Hard links are two names for the same file and soft links are one file that is essentially a pointer to another. They basically achieve the same thing except you can not hard link a file from one filesystem to another (because it is basically two inodes for the same file and each filesystem has its own inode table).

If you remove the file a hard link points to, the data stays on the disk and is referenced by the link name as if that was the real name of the file. If you remove the data that a soft link points to you end up with no data, just a link that points to nothing.
Never preceed any demonstration with anything more predictive than "watch this"
Jim Mulshine
Frequent Advisor

Re: General Things

There is software like UWIN which provide a Korn shell (ksh). With such software installed on your windows pc you could practice many unix commands (like ln for creating hard and soft links), but not all hpux commands.
Sridhar Bhaskarla
Honored Contributor

Re: General Things

Hi,

Mark gave you plenty of information.

Try to load cygwin from cygwin.com site. It will emulate unix on windows. You can practice general unix commands. You will need to have the HP-UX system as the commands specific to HP like LVM etc., are available on HP systems only.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Vijaya Kumar_3
Respected Contributor

Re: General Things

I hope now-a-days, people started thinking differently. Now Sun, HP, IBM and Linux are the major unix vendors and they have split into two standards, BSD and System V R4.

Solaris is the one the System V implementation and have some BSD features too. The difference between System V and BSD can be easily learned once you are comfortable with one Unix flavor, say Solaris or HP-UX.

To practice unix in our home, there is great way to install Redhat Linux Or Fedora Linux Or even Suse linux in our home PC and practice Unix. Also There is an Intel Version of Solaris available from Sun.

-Vijay
Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com
Kenneth Platz
Esteemed Contributor

Re: General Things

You know... you can *buy* an HP-UX workstation off eBay -- they're not that expensive. I went ahead and bought me a C180 last year for around $200. That way you could have a box at home to practice on with actual HP-UX commands.
I think, therefore I am... I think!
Jeff Schussele
Honored Contributor

Re: General Things

Hi NS Nathan,

Difference between hard and symbolic (soft) links would be:

1) Hard links are created with the same ownership & perms as the link destination & any change to the link changes the destination as well.
2) Symbolic links are created with ownership/perms of the creator & creator's umask. Changes to the link do nothing to the destination & in fact are ignored by the system.
3) Symbolic links can span filesystems - hard links cannot.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Jean-Luc Oudart
Honored Contributor

Re: General Things

Difference between BSD and SYSTEM V.
historical development.
http://www.cgd.ucar.edu/gds/thibaud/UNIX-tips/Tips/sysv-bsd.html

Regards,
JL
fiat lux
Anoop P_2
Regular Advisor

Re: General Things

And how do one differentiate between a soft link and a hard link, by looking at an ls-al output?
Jeroen Peereboom
Honored Contributor

Re: General Things

A Soft link is shown with '->' to another file.
Hard links show up because of the link count column (value greater than 1).

Softlink is created with 'ln -s',
hard links with 'ln'.

JP