Philosophy 101 Mac OS

broken image


Mac OS X Command Line 101 is going to try and help those people do just that. While Apple has done a tremendous job with OS X, no operating system is perfect. Sometimes a problem cannot be fixed using one of the. The basic philosophy is 'Simple things should be simple. Mac OS, operating system (OS) developed by the American computer company Apple Inc. The OS was introduced in 1984 to run the company's Macintosh line of personal computers (PCs). The Macintosh heralded the era of graphical user interface (GUI) systems, and it inspired Microsoft Corporation to develop its own GUI, the Windows OS. PHILOSOPHY 101 INTRODUCTION TO WESTERN PHILOSOPHY Edited by: DR. Table of Content UNIT ONE – Introduction (What is Philosophy?) Introduction 1-4 Plato – The Defense of Socrates 5-22 John Locke – 'Philosophy as the Love of Truth' 23-28 Bertrand Russell – 'The Value of Philosophy' 29-32.

Mac OS X Command Line 101
by Richard Burton

Introducing The Command Line
April 26th, 2002

'The truth is rarely pure, and never simple.'
- Oscar Wilde, The Importance of Being Earnest

With the release of OS X, the Macintosh has a command line for the first time since it was introduced in 1984. Admittedly, Apple has done a great job with OS X, and the vast majority of users can go a long time without having to ever touch the terminal. In fact, many of the longtime Mac faithful don't care to learn it at all, but there are growing numbers of people who would like to know how to use it. Mac OS X Command Line 101 is going to try and help those people do just that.

While Apple has done a tremendous job with OS X, no operating system is perfect. Sometimes a problem cannot be fixed using one of the standard GUI tools, or sometimes one of those GUI tools doesn't do quite what you want. Sometimes, there are even times when using the command line is just easier.

Luckily, OS X is based on Unix. Unix was not market-driven; it was written by geeks for geeks in the real ivory tower of the past, Bell Labs. To understand what this means, consider what Larry Wall, creator of the Perl programming language, calls the three great virtues of programmers: laziness, impatience, and hubris. Laziness means you don't want to spend a lot of time and effort doing something simple, or doing it repeatedly. Impatience means you want to have the necessary tools for a particular task at your fingertips. Hubris means you want to know that the tool will just work without having to worry about it. Of course, getting to that point requires a lot of hard work, time, and testing. Fortunately, all of those attributes have gone into Unix already.

Granted, the Unix command line can occasionally look as if an inebriated cat walked over the keyboard; for first-timers, this can be a bit daunting. However, we longtime Mac loyalists are used to dealing with daunts; otherwise, we wouldn't have stuck with Apple through thick and thin, would we? While the Unix command line can have a steep learning curve, at first, part of that is because you can do so much with it.

The command line takes a toolbox approach. A tool does one job and does it well. Just as you don't use a saw to pound a nail into the wall, you should chose the right command line tool for the right job.

Unix uses shells as a command interpreter; you type the commands, the system runs them, and the shell acts as the go-between. The first shell was the Bourne Shell, created by Stephen Bourne in 1979. Frog mall mac os. Later, the C shell (csh) was developed at Berkeley; it was so called because its syntax is similar to the C programming language. To encourage laziness, impatience, and hubris, an enhanced version, tcsh, was released. This is the shell that OS X uses when you start Terminal.app.

So what sets the Unix command-line apart?

  • The basic philosophy is 'Simple things should be simple, complex things should be less simple, and practically anything should be possible.'
  • The Unix toolbox. While any command-line will give you tools, the commands available in Unix are fantastic in quantity and quality. If you want to do something on the command line, someone else probably has wanted to do it as well and written a command for it. What's more, Unix allows you to string commands together so you can build complex tools out of simple ones. You'll particularly appreciate them if you've ever had to use DOS or worked on a mainframe.
  • Documentation. The online help files, called 'man pages,' are very good; and many companies provide books to help as well.
  • Flexible commands. Most commands have options that will allow you to modify their behavior if the default is not exactly what you need. And even if that isn't quite what you had in mind, you can combine them to suit your purpose.
  • I/O Redirection. If you want to write the output to a file, or read parameters from a file, or string commands together so that you don't have to write to/read from files, Unix shells provide a very simple way to do this.
  • Multiple processes. It may seem to be hard to believe now, but back when Unix was created, this was a novel concept. We may take it for granted, but one of the beauties of Unix is allowing you to have many processes running at once. What's more you can have many on the same command line, which puts a lot of power at your fingertips.
  • Job control. This lets you send one task to run in the background while you do other work; you can also pull a background job to the foreground. You can start and stop jobs. And you can remove them from the system, nicely or with extreme prejudice.
  • Protected memory. If one process goes rogue, it won't interfere with the memory space of another process. Anyone who has been forced to use .. other desktops .. will appreciate this.
  • 'Quotes', 'quotes', `quotes`. Anyone who is given to quotation will tell you, from long experience, that you must quote in the correct context. Unix gives you three contexts, each one being appropriate in different situations.
  • Regular expressions. While not unique to Unix, the OS has a rich set which give you great flexibility in searching and manipulating text. They are largely, though not entirely, consistent between commands.
  • A file is a file is a file. Some systems, which shall go nameless, pack the bits differently if the file is binary or if it is ASCII. Unix makes no such distinction; even a directory is a file. The beauty of this is that you can, say, run a Perl script to make quick-and-dirty edits on a Word Document. (NOTE: That is not for the faint of heart, but the system won't stop you from trying.)
Admittedly, all of this is a lot to take in at first, but you have to walk before you run, and crawl before you walk. I will start with the basics and move slowly. If you have any questions, be sure to send them to me at [email protected]. If I like it well enough, I may use it in a future column.

And most of all, remember to have fun.

You are encouraged to send Richard your comments, or to post them below.

Most Recent Mac OS X Command Line 101 Columns

Command Line History & Editing Your Commands
November 22nd

Pico: An Easy To Use Command Line Editor
November 1st

Understanding The 'grep' Command In Mac OS X
October 4th

Command Line History & Editing Your Commands
September 6th

Mac OS X Command Line 101 Archives

Back to The Mac Observer For More Mac News!

Richard Burton is a longtime Unix programmer and a handsome brute. He spends his spare time yelling at the television during Colts and Pacers games, writing politically incorrect short stories, and trying to shoot the neighbor's cat (not really) nesting in his garage. He can be seen running roughshod over the TMO forums under the alias tbone1.

By Jack M. Germain MacNewsWorld ECT News Network
Apr 16, 2009 4:00 AM PT


Investors have $20 billion to acquire businesses. Is yours one of them?
Our Technology M&A: 2021 Outlook gives owners, founders and entrepreneurs insight into why e-commerce is dominating technology acquisitions, what this means for multiples, when investors are looking to allocate capital, and more. Download now.

Ask a Mac OS X fan or a Windows fan what the difference is between the two operating systems, and the short answer might be something like, 'The difference is, the one I use doesn't stink.' That response may underscore the emotional pull an operating system has with a particular sort of computer user, but it is not very helpful for getting at the heart of the matter. The long answer involves understanding the soul of each OS.

Mac OS X is gaining favor among a growing number computer users. What is it that makes up the real difference between OS X and Windows? The long answer goes well beyond the Dock, the Start Button, or other obvious surface features and appearance details that any user can easily see at first glance.

Philosophy 101 mac os x

'Apple is second to none in user experience,' Bill Gribbons told MacNewsWorld. Gribbons is director of the Master of Science in Human Factors in Information Design at Bentley University and senior consultant to the Bentley University Design and Usability Center. 'They turned it into an art form. Apple's approach to product design is what distinguishes them from Microsoft. Microsoft is not always focused on technology. It is not always a good experience for users and is not always easy to learn. It does not always fit the users' needs.'

Close Birth

Certainly, both Microsoft's and Apple's operating systems have changed dramatically over the years.

The two systems share a common lineage, of sorts. Windows was released in 1985 and was at least inspired (if not copied) from the earliest Mac OS, which Microsoft had access to as a Mac software developer. Apple actually sued Microsoft in the 1980s for 'borrowing' their ideas, according to Edward Shepard, marketing manager of Apple sales professional for Small Dog Electronics.

Mac

'Apple is second to none in user experience,' Bill Gribbons told MacNewsWorld. Gribbons is director of the Master of Science in Human Factors in Information Design at Bentley University and senior consultant to the Bentley University Design and Usability Center. 'They turned it into an art form. Apple's approach to product design is what distinguishes them from Microsoft. Microsoft is not always focused on technology. It is not always a good experience for users and is not always easy to learn. It does not always fit the users' needs.'

Close Birth

Certainly, both Microsoft's and Apple's operating systems have changed dramatically over the years.

The two systems share a common lineage, of sorts. Windows was released in 1985 and was at least inspired (if not copied) from the earliest Mac OS, which Microsoft had access to as a Mac software developer. Apple actually sued Microsoft in the 1980s for 'borrowing' their ideas, according to Edward Shepard, marketing manager of Apple sales professional for Small Dog Electronics.

'Forward 25 years, and it can be argued that Microsoft borrowed many ideas for Vista's look and feel from Mac OS X. Likewise, Apple has also borrowed ideas from Windows over the years. The two OSes are like two competitive, wealthy cousins from different sides of a single family tree,' Shepard told MacNewsWorld.

From these entwined origins, the two systems embarked on different paths and gathered families of followers either born into the fold or converted to it. For instance, Apple has emphasized the seamless integration of software and hardware, as well as a core focus on graphical feedback. Windows was designed as a licensed product to run on thousands of different computer models produced by dozens of companies around the world, according to Shepard.

Soul Differences

Apple's approach made it easier for developers to assure compatibly and reliability. However, it has also limited the size of Apple's user base, which stood at about 30 million users in early 2008, Shepard noted.

Meanwhile, Microsoft emphasized getting as large a user base as possible for Windows. Now, somewhere around 90 percent of computer users run Windows. On a global scale, having a dominant OS probably helped facilitate mass adoption of personal computers. On the other hand, it also made Windows an attractive and easy target for viruses, Trojans, worms, and other computer attacks, he added.

These two paths followed distinctively different design passions, and it's in the design that the essence of their souls emerge.

Mac OS X has a restrained, coolly calculating soul that effectively handles its business, though perhaps doesn't always tell you about everything on its mind. As a human, Mac OS X would be an efficient, dedicated concierge that smoothly does his job, albeit with an air of quiet superiority. Windows has an aggressive, do-it-all soul, but often huffs and puffs to remind you it's working hard (even if it's for your benefit). As a human, Windows would be a sweaty middle manager stomping around the office, reliable enough and 'surprisingly good at karaoke,' quipped Shepard.

Designed Distinctions

Peeling back the trappings of each OS unveils a closer glimpse at the architectural differences that separate Mac and Windows systems. At the root of the architecture lies the core programming.

'Windows was built around networking. Its foundation is on highly modifiable DLLs (Dynamic Link Libraries) to support many applications and a registry file for multiple configurations. On the Mac side, the OS is based on Unix, Mach and the Apple OS structure,' Gene Spafford, professor in the department of computer sciences at Purdue University, told MacNewsWorld.

Mach is an operating system microkernel Carnegie Mellon University developed to support operating system research. The basis of the Mac OS X is still the core built by Carnegie Mellon.

Architectural Adversaries

Windows' design set led to the growth of an OS that was full of tweeks. The Windows of today evolved from the NT/Windows 2000 structure. It facilitated drag-and-drop convenience and easy-to-install applications, Spafford explained. In contrast, the Mac OS seldom put in a shared library to install applications.

Instead, the Mac uses permissions like Unix. No large-scale system management is needed. The result: When something installs on an Apple computer, the user knows it. The installation cannot happen silently.

Another difference is that most configuration settings on the Mac are in plain text. Paradise simulation (high quality) build 2 mac os. There is no arcane registry setting like in Windows, and the kernel stays minimal.

'This is the overall Mac philosophy of how things get added in. Microsoft extended the design to add to the kernel,' Spafford said.

Growth Spurts

Both the Mac and Windows operating systems are inherently different today than their earlier generations. Ocean fishing mac os. Apple had a shift in technology that brought an end to the single-threaded OS that was similar to DOS (Disk Operating System), according to Spafford. Windows designers began peeling away the DOS core upon which the Windows GUI (graphical user interface) was applied with the migration to Windows XP.

Similarly, Mac OS 9 was creaking under the load. Steve Jobs, who at this point had returned to head up Apple once again, changed the operating system to make the OS X into a new design, explained Spafford.

'What was novel was its ability to seamlessly emulate OS 9 running under OS X, much like VMware functions today. This enabled users to switch over without losing their software. The new version strengthened Unix as the underlying kernel,' he said.

Sensitivity Training

One of the main aspects of the Mac soul is the connection its designers have with Mac users. Gribbons, who specializes in studying how people interact with systems, describes Mac developers as having a deep, intimate understanding of what people want and value.

'Apple maps the system design to whatever product they do to that model. Apple always feels like a user's best friend,' said Gribbons.

With Apple, users enjoy a carefully orchestrated experience that is not accidental. From the way it is marketed, sold, packaged and supported, it is designed to be seamless.

'You don't see that from Microsoft,' he said.

How Good Is Too Good?

However, this approach almost brought doom to Apple, noted Gribbons. At one point, the company almost went out of business because of it, he said.

'The systems didn't seem serious. They were expensive. There were delays in getting to the market. They wanted to get it perfect, but the market didn't demand this. On the other hand, Microsoft got its products to the market more quickly, and they were good enough. This is how Microsoft captured the market share,' Gribbons said.

Addressing this conundrum was part of the soul searching that Mac developers did to salvage the Mac OS from itself. For much of the 1990s and up until about the last five years, the product was almost too good, he explained. Consumers were really buying too much product, and the price point was way above that of Windows-based products.

What's the Diff?

Differences abound in the two systems, but both can do essentially the same things, according to Fernando Machado, who has a decade of experience running a computer maintenance and service business and is a computer expert on JustAnswer.com.

'Windows is better for gaming due to the large amount of games that are available for it. Mac, however, has better overall security and is less prone to attackers,' he told MacNewsWorld.

The differences in OS design reflect a clear distinction in what attracts the user base. For instance, the Mac is designed more for graphical and multimedia functions and tends to run better than Windows doing so. Windows, however, is much better with statistical applications as well as office applications. It also seems that Windows is easier for the user to customize, Machado explained.

The Roots of Design

Windows is designed to be a do-it-all-at-any cost OS, which has its benefits and complications, Shepard added. For example, there are six versions of Windows Vista, and there will be six versions of Windows 7, all listed at different prices. In contrast, Apple simply sells one fully loaded version of OS X for one price (US$129). This version even includes Boot Camp for installing Windows on a Mac if desired.

'The biggest difference between the two goes back to their origins. Windows tries to be everything to everyone, is phenomenally successful, but has a history of security vulnerabilities, peripheral incompatibilities (ironically enough), and upgrade confusion. Apple still has a more restrained consumer focus, still controls the design and engineering of its hardware and software, competes hard in some demographics but is content letting others go. Thus, it has a smaller user base,' Shepard summarized.

All things considered, the two OSes are starting to become quite similar, according to Mike Palumbo, an IT specialist for the Center for Instructional Technology at Eastern Connecticut State University.

Most OS preference these days is driven by the same brand loyalty that divides Ford and Chevy owners and Coke and Pepsi drinkers, he said -- and the arguments that ensue are often the equivalent of 'Tastes Great! vs. Less Filling!'

Soul Survivors

Philosophy 101 Mac Os X

In recent years, both companies have learned from each other and incorporated each other's ideas. Windows has become more user friendly and more slick in its design, while Apple has included functional features and control options that were previously unavailable, according to Palumbo.

'Apple makes a lot of assumptions about what you want control over and makes a lot of decisions for you, and that's great for the majority of the users. Windows gives the user more control and more options, and by virtue of that, more opportunity to mess it up,' Palumbo told MacNewsWorld.

Philosophy 101 Mac Os Catalina

Windows designers are catering to an audience that likes to look under the hood and shift manually. The average user can still drive it, but the enthusiast can really tweak it if they desire, he explained. Windows designers have made it possible for IT pros to completely control every aspect of how the computer is used by the employee.

Philosophy 101 Mac Os 11

'Apple designs its interface and even the outward hardware to appeal for people who appreciate design. It's slick, shiny and expensive, not unlike buying a sports car,' said Palumbo.





broken image