Visit Our UNIX and Linux User Community


Any difference between the CLI of Mac OS X and normal UNIX?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Any difference between the CLI of Mac OS X and normal UNIX?
# 8  
Old 01-22-2002
Depending on your definition of "normal UNIX run app". If you want to run other Unix utilities on MacOS, at best you'll have to recompile from source. At worst you'll have to rewrite / modify, THEN recompile from source... it depends on the application.

The same pretty much goes for running MacOS specific software on another Unix machine.
# 9  
Old 01-22-2002
Thx a lot for answering Smilie hmmm.... then, .app is only make for Mac OS X?
# 10  
Old 01-22-2002
Every operating system is dependent on underlying hardware and OS-specific system call. Suggest you look at the GCC compiler....... cross-platform (and free!!)

www.gnu.org
# 11  
Old 02-11-2002
I know this thread is a couple weeks old but I thought I'd clarify a few points for posterity.

As others have noted, the difference in the "cli" of MacOS X and other unix versions is no more than you would see between say solaris and NetBSD.

OSX's preferred filesystem (HFS+) is indeed case insensitive. It is also case preserving. You do have the option of using UFS instead but it isnt recommended. I suspect we will see a new OSX filesystem in the next year or so. Nevertheless, it takes no getting used to. Unless you have a driectory full of files whose only name difference is case (file File fIle and so on) then you never notice it. ls is still ls... and other commands work as expected grep FILE and grep file are NOT the same.

An "app" in OSX is usually either a carbon or cocoa GUI application. Carbon apps are legacy applications with minimal code changes to run under OSX (MSOffice, Adobe products etc...). Cocoa apps are ObjectiveC or Java applications that use the native ObjectiveC based frameworks derived from NeXT.

Carbon apps will likely never run on another unix, you would basically have to rewrite the whole thing. Cocoa apps can be ported to other OS's running GNUStep. In theory, this is easy, in practice it is not usually trivial.
# 12  
Old 02-14-2002
Exactly. The filesystem is case-preserving and case-insensitive put the usual UNIX utils (including the shell) are not (and will never be).

MacOSX comes with 'tcsh' as default, but you can easily recompile 'bash' from source if you prefer.


dani++
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #807
Difficulty: Medium
A key advantage of a MOSFET is that it requires zero input current to control the load current.
True or False?

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Read URL data from UNIX-CLI without Wget,CURL,w3m,LWP

Hi Experts, Problem statement : We have an URL for which we need to read the data and get parsed inside the shell scripts.My Aix has very limited perl utility, i cant install any utility as well. Precisely, wget,cURL,Lynx,w3m and Lwp cant be used as i got these utilities only when i googled it.... (12 Replies)
Discussion started by: scott_cog
12 Replies

2. UNIX for Dummies Questions & Answers

Difference between normal Execute permission and GUID

Hi, Any can explain the difference between the normal execute permission for the file and GUID of the file. Since the normal execute permission has right to execute file why there is need of providing GUID for the same file. Also share some examples for SUID and SGID programs. Regards... (3 Replies)
Discussion started by: ksgnathan
3 Replies

3. Programming

Difference between system calls and normal functions in C

hello all, i'm a beginner in linux programming. I need to know what is the difference between system calls and normal functions like fopen, fread etc in C?Also how to set permissions by using open system call? (11 Replies)
Discussion started by: aarathy
11 Replies

4. UNIX for Dummies Questions & Answers

Difference between Mac and IP addresses

If a web search is done on this topic there are many links but no information included in the documents. So my questions are; Why does a NIC card have it's own permanent ID. Why can't it share the host name? An ID is an ID. Why does a computer need two ways to ID it. If the network... (3 Replies)
Discussion started by: theKbStockpiler
3 Replies

5. AIX

HACMP: difference between 'cl' commands and 'cli' commands

Hi all, I'm new in this forum. I'm looking for the difference between the HACMP commands with the prefix "cl" and "cli". The first type are under /usr/es/sbin/cluster/sbin directory and the second are under /usr/es/sbin/cluster/cspoc directory. I know that the first are called HACMP for AIX... (0 Replies)
Discussion started by: peppix
0 Replies

6. Solaris

difference between RPATH and normal linking while building

while building in solaris and going for dynamic linking whats the difference or advantage or disadvantage in using RPATH vs while linking package and dependency libraries i need a little explanation about this RPATH option specially and the difference with normal linking using -L (0 Replies)
Discussion started by: mobydick
0 Replies

7. UNIX for Dummies Questions & Answers

Difference between UNIX operating system and Unix Open Server

Hi, I recently joined this forum and new to UNIX. Is there any difference between UNIX operating system and UNIX open server? Please explain. (1 Reply)
Discussion started by: Manjit
1 Replies

Featured Tech Videos