UNIX For Dummies
eBook - ePub

UNIX For Dummies

John R. Levine, Margaret Levine Young

Share book
  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

UNIX For Dummies

John R. Levine, Margaret Levine Young

Book details
Book preview
Table of contents
Citations

About This Book

Manage files, set up networks, and go online with UNIX! UNIX For Dummies has been the standard for beginning UNIX references for nearly ten years, and this latest edition continues that tradition of success. This unparalled resource is updated to cover the latest applications of UNIX technology, including Linux and Mac desktops as well as how UNIX works with Microsoft server software Thorough coverage of how to handle:

  • UNIX installation
  • file management
  • software
  • utilities
  • networks
  • Internet access
  • ther basic tasks

A great guide for the first-time UNIX desktop user growing accustomed to the ins and outs of the OS, as well as the beginning administrators who needs to get a handle on UNIX networking basics. Written by John Levine and Margaret Levine Young, longtime UNIX experts and highly experienced For Dummies authors.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is UNIX For Dummies an online PDF/ePUB?
Yes, you can access UNIX For Dummies by John R. Levine, Margaret Levine Young in PDF and/or ePUB format, as well as other popular books in Ciencia de la computación & Sistemas operativos. We have over one million books available in our catalogue for you to explore.

Information

Publisher
For Dummies
Year
2011
ISBN
9781118043905
Part I

Before the Beginning

In this part . . .
Yikes! You have to learn how to use UNIX! Does this mean that you’re about to get inducted, kicking and screaming, into a fraternity of hard-bitten, humorless nerds with a religious dedication to a 30-year-old operating system from the phone company? Well, yes and no. We hope that we’re not humorless.
If you’re like most UNIX users, a zealot stopped at your desk, connected your terminal or workstation, gave you five minutes of incomprehensible advice, demonstrated a few bizarre games (like roaches that hide behind the work on your screen), and disappeared. Now you’re on your own.
Don’t worry. This part of the book explains the absolute minimum you need to know to get your UNIX system’s attention, persuade it that you are allowed to use it, and maybe even accomplish something useful.
Chapter 1

Log Me In, UNIX!

In This Chapter

bullet
Turning your computer on and getting its attention
bullet
Persuading your computer to let you use it
bullet
Using usernames, passwords, and all that
bullet
Logging out when you finish
If you read the exciting introduction to this book, you know that we make some Foolish Assumptions about you, the reader. Among other things, we foolishly assume that someone else has installed and set up UNIX for you so that all you have to do is turn your computer on and tell UNIX that you’re there, or that a computer running UNIX is somewhere on the network that you have access to.
If you don’t have UNIX already set up on a computer, the best thing you can do for yourself is find a local UNIX guru or system administrator who is willing to get you up and running. Unless you really know what you’re doing, installing and setting up UNIX can be painful, frustrating, and time-consuming. We recommend that you find something more enjoyable to do, such as cleaning out the grease trap under your kitchen sink or performing urgent home surgery on yourself. (You can learn how to administer a UNIX system with some patience and perseverance, but explaining how is way beyond the scope of this book because each version of UNIX has its own procedures.)

Turning Your Computer On and Off

If you think that turning your computer on and off is easy, you may be wrong. Because UNIX runs on so many almost-but-not-quite-compatible computers — all of which work somewhat differently — you first must figure out which kind of UNIX computer you have before you can turn it on.

If a train stops at a train station, what happens at a workstation?

A workstation is a computer with a big screen, a mouse, and a keyboard. You may say, “I have a PC with a big screen, a mouse, and a keyboard. Is it really a workstation?” Although UNIX zealots get into long arguments over this question, for our purposes, we say that it is. Most current UNIX systems are workstations.
Turning on a workstation is easy enough: You reach around the back and turn on the switch. Cryptic things that appear on-screen tell you that UNIX is going through the long and not-at-all-interesting process of starting up. Starting up can take anywhere from ten seconds to ten minutes, depending on the version of UNIX, number of disks, phase of the moon, and so on. Sooner or later, UNIX demands that you log in. To find out how, skip to the section “Logging In: U(NIX) Can Call Me Al,” later in this chapter.
TechnicalStuff

What you were hoping we wouldn’t tell you: The difference between a PC and a workstation

First, you have to understand that this isn’t a technical question — it’s a theological question. Back in the olden days (about 1980), telling the difference was easy. A workstation had a large graphical screen — at least, large by the standards of those days — a megabyte of memory, a fast processor chip, a network connection, and it cost about $10,000. A PC had a lousy little screen, 64K of memory, a slow processor chip, a floppy or two, and it cost more like $4,000.
These days, your typical $800 PC has a nice screen (much nicer than what the workstation used to have), hundreds of megabytes of memory, a fast Pentium processor, a big disk, speakers, and a network connection. That’s much better than what people used to call a workstation. Does that make a PC a workstation? Oh, no. Modern workstations have even better screens, buckets of memory, a turbocharged processor chip — you get the idea. What’s the difference?
Maybe it’s the software that people use: Most workstations are designed to run UNIX (or, in a few cases, proprietary systems similar in power to UNIX), whereas PCs run Windows or Macintosh software. Wait — some perfectly good versions of UNIX run on PC hardware, and Windows 2000/NT runs on many boxes that everyone agrees are workstations, and the latest version of Mac OS is UNIX underneath. Now what? You can get into esoteric arguments about the speed of the connection between the guts of the computer on one hand and the disks, screens, and networks on the other hand and argue that workstations have faster connections than PCs, but some examples don’t fit there, either.
As far as we can tell, if a computer is designed to run Windows or the Mac OS, it’s a PC. If it’s designed to run UNIX, it’s a workstation. If this distinction sounds feeble and arbitrary to you, you understand perfectly. Here at UNIX For Dummies Central, we have a couple of large PCs running UNIX (which makes them look, to our eyes, just like workstations) and a couple of other, smaller ones running Windows. Works fine for us.
Warning(bomb)
Turning off a workstation is a more difficult problem. Workstations are jealous of their prerogatives and do punish you if you don’t turn them off in exactly the right way. Their favorite punishment is to throw away all the files related to whatever you were just working on. The exact procedure varies from one model of workstation to another, so you have to ask a local guru for advice. Typically, you enter a command along these lines:
shutdown +3
This command tells the workstation to shut down (in three minutes, in this example). With some versions of UNIX, that command is too easy. The version we use most often uses this command:
halt
Linux
If you use Linux, type this command to shut down the system right away:
shutdown now
The workstation then takes awhile to put a program to bed or whatever else it does to make it feel important, because it knows that you’re waiting there, tapping your feet. Eventually, the workstation tells you that it’s finished. At that point, turn it off right away, before it gets any more smart ideas.
An approved method for avoiding the hassle of remembering how to turn off your workstation is never to shut off your computer (although you can turn off the monitor). That’s what we do.

A dumb terminal

The traditional way to hook up to a UNIX system is with what’s known (sneeringly) as a dumb terminal. Nobody makes dumb terminals any more, but Windows PCs have a natural ability to play dumb, so they’re commonly pressed into duty as terminals. You run a terminal emulator program on a PC, and suddenly the mild-mannered PC turns into a super UNIX terminal. (Truthfully, it’s more the other way around: You make a perfectly good PC that can run Doom and other business productivity-type applications act like a dumb terminal that can’t do much of anything on its own.)
When you finish with UNIX, you leave the terminal emulator, usually by pressing Ctrl+X or some equally arcane combination of keys. (Consult your local guru...

Table of contents