diff between unix and linux


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers diff between unix and linux
# 1  
Old 09-18-2008
diff between unix and linux

can some 1 tel me wat is difference between unix and linux. and from where i can download unix for free
# 2  
Old 09-18-2008
# 3  
Old 09-18-2008
unix is simple command prompt.. but linux comes with GUI...
# 4  
Old 09-19-2008
That is incorrect. X11 and other graphical environments were in common use long before Linux appeared.
# 5  
Old 09-20-2008
k can i use unix commands in linux. wil it work in same way in linux also
# 6  
Old 09-22-2008
There are variations amongst Unices and variations amongst Linuces so the question is not really answerable. Some system administration utilities are very specific to a particular vendor or platform, or even version. The basic shell commands generally work the same, although there are some minor differences in behavior. The manual pages for individual commands should ideally tell you whether they conform to a standard such as POSIX or XPG4 which is usually a sign that they are reasonably portable.

In general, the GNU coreutils (basic commands you are likely to be learning if you are new to Unix / Linux) are somewhat more flexible and feature-rich than what POSIX requires, and thus the non-POSIX extensions are somewhat likely to be missing from the same commands as supplied by a commercial vendor (but usually you can get the GNU coreutils for any platform if you require them, unless there is some silly artificial political / managerial restriction to obstruct you). The GNU suite is installed by default on Linux, but even the free *BSDs have their own versions of the same utilities, with a slightly different set of features and options. (In fact some of the BSD utilities trace their lineage pretty much all the way back to the original AT&T versions, whereas the GNU utilities are newer reimplementations, as a rule.)

Some vendors have a basic feature set which predates POSIX, and they don't want to change it in order to be backwards-compatible with themselves, and so POSIX or XPG4 versions of the basic tools is an optional add-on.

For these and related reasons, truly portable shell scripts are hard to write, but if you restrict yourself to the documented POSIX feature set, your scripts should be fairly portable to any modern POSIX platform. Even experienced scripters sometimes get these things wrong, and if you mainly just want to learn, you don't need to worry about these things at this point.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Diff in UNIX

Hi guys - I have two files that have random number values and I want to see what is available in file A and not in file B Here is what each file looks like: File A: 1 45 11 788 556 File B: 774 1 5589 788 10025 (4 Replies)
Discussion started by: DallasT
4 Replies

2. Shell Programming and Scripting

diff command in Unix

Hi I want to compare two rows in unix first value in row is 1.12 while value in other row is 000001.12. if i do normal diff this will come as difference...is it any way to overcome this? (1 Reply)
Discussion started by: sanranad
1 Replies

3. Shell Programming and Scripting

.procmailrc and uudeview (put attachments from diff senders to diff folders)

Moderator, please, delete this topic (1 Reply)
Discussion started by: optik77
1 Replies

4. Red Hat

compare/diff two directory in two different linux/unix machine

Hi, I have two server , one linux and one unix . I want to compare two different directry in them . What command or tool I can use instead of search the dir one by one ??? thank (3 Replies)
Discussion started by: chuikingman
3 Replies

5. Shell Programming and Scripting

unix diff with numerical precision

Hi, I search a unix utility to diff two files, that takes as argument numerical precision as well. If two files are different only in numbers and the difference is less than precision then the result as they are the same. The precision may be absolute (x1-x2) or relative (x2/x1). Also I need the... (1 Reply)
Discussion started by: stella
1 Replies

6. UNIX for Advanced & Expert Users

Problem using diff command in unix

Hi, I am trying to do a diff between two files using "diff" command.I dont need my output to be printed using extra symbols ">" and "<" as we usually see for the diff command. Even to excude these characters in each line of the output, my diff output has inturn many symbols ">" and "<". ... (1 Reply)
Discussion started by: pharitha
1 Replies

7. Shell Programming and Scripting

UNIX Guru's help on diff

Hi , I wanted to find delata between two huge ( 8 GB ) files . Say file_TDY and file_YDY : These files are sorted based on a key . I am using a command : 1)bdiff file_TDY file_YDY > diff_file 2) grep ' ^< ' diff_file > TDY_delta I wanted only the changed records and newly added... (2 Replies)
Discussion started by: ajaybalki
2 Replies

8. Shell Programming and Scripting

can we diff 3 files in Unix

Dear ALL I need help in diff command can we do diff of 3 files .. I want to compare 3 files (1 Reply)
Discussion started by: getdpg
1 Replies

9. Shell Programming and Scripting

Diff between Unix and Windows

Hi All, In my work environment, our workis to run N number of SQL statements continously.. Actually we are in testing environment. And for this we write 100 of SQL's and execute each one after another at Windows SQL prompt. Some of the SQL's will be running for about 12 hrs also. ... (1 Reply)
Discussion started by: cheche
1 Replies
Login or Register to Ask a Question