When You Can't Find Your Unix System Administrator

Overview

If you use UNIX, you know that it can be a technically challenging environment. And if you're like most users, you have a job to do aside from exploring your operating system ? like analyzing that hot new stock, running another experiment, or typesetting another report.What happens when you have problems? What happens when the system slows to a crawl, when you can't get logged back in after a power failure, or when you've sent a file to the printer three times but have yet to find a printout? Your first choice ...

See more details below
Paperback (New Edition)
$27.75
BN.com price
(Save 7%)$29.99 List Price
Other sellers (Paperback)
  • All (22) from $1.99   
  • New (4) from $6.17   
  • Used (18) from $1.99   
Sending request ...

Overview

If you use UNIX, you know that it can be a technically challenging environment. And if you're like most users, you have a job to do aside from exploring your operating system — like analyzing that hot new stock, running another experiment, or typesetting another report.What happens when you have problems? What happens when the system slows to a crawl, when you can't get logged back in after a power failure, or when you've sent a file to the printer three times but have yet to find a printout? Your first choice for handling a problem might be to have the problem never occur. Your second choice might be to have someone else fix it, immediately. However, in the real world, sometimes you will have to investigate the problem and report it, and sometimes you will have to find an answer yourself.When You Can't Find Your UNIX System Administrator, part of our new What You Need to Know series, gives UNIX users tools for solving problems. It offers:

  • Practical solutions for problems you're likely to encounter in logging in, running programs, sharing files, managing space resources, printing, and so on
  • Just enough background on what's going on "behind the scenes" so that you can make sense of our suggestions, rather than simply memorizing keystrokes
  • An explanation of how to present problems to your sys admin so that you're more likely to get quick, accurate support
  • A list of the site-specific information to which you should have access, and a place to write it down
  • A quick-ref card summarizing what to try first, second, third for commonly encountered problems
The goal of this book is not to make you a guru in your own right. The goal of this book is to get you back to the job you'd rather be doing.

This is the only book to look at common UNIX system administator problems from the user perspective. It provides troubleshooting tips, a questionnaire on which users can record the spec-specific information they need, and explains the diagnostic process. A quick reference card summarizes what to try first, second, and third for commonly-encountered problems.

Read More Show Less

Product Details

  • ISBN-13: 9781565921047
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 4/28/1995
  • Series: What You Need to Know Series
  • Edition description: New Edition
  • Edition number: 1
  • Pages: 160
  • Product dimensions: 7.01 (w) x 9.15 (h) x 0.38 (d)

Meet the Author

Linda Mui started working for O'Reilly & Associates in 1986. She was first hired as a production assistant, later became an apprentice system administrator, and now is a writer. Her first writing job was for termcap and terminfo, which she co-authored with John Strang and Tim O'Reilly. She also wrote Pick BASIC, on programming applications for Pick systems. In between writing jobs, Linda works on troff macros and tools for the O'Reilly & Associates production staff. Linda was raised in the Bronx, New York and now lives in Cambridge, Massachusetts. Lately she has been trying to improve herself by learning how to swim, play billiards, and accessorize.

Read More Show Less

Table of Contents

What you need to know about this book;
This book is not for administrators.;
We do assume some things about the reader.;
This book has seven chapters, each ending in a quick-reference section.;
This series puts technology in context.;
This book is designed to be browsable.;
Contact us to suggest improvements, or for sales information.;
I’d like to thank some people...;
Chapter 1: What you need to know about solving problems;
1.1 There’s no magic involved.;
1.2 For user problems, administrators are more like detectives than like magicians.;
1.3 Administrators have many responsibilities; user support is only one of them.;
1.4 Educated users get better help.;
1.5 Put yourself in your administrator’s shoes.;
1.6 Gather the facts before you alert your administrator.;
1.7 Recreate the problem.;
1.8 Look at the error message.;
1.9 Try the most obvious answerserrors, troubleshootingobvious answers .;
1.10 If it used to work, what changed?;
1.11 Try to identify (and eliminate) as many factors as you can.;
1.12 Tell the administrator what you tried.;
1.13 Quick Reference: contacting your administrator;
Chapter 2: What you need to know about logging in;
2.1 If you can’t log in, you can’t do anything else.;
2.2 Logging in is a series of steps; each must be successful.;
2.3 If the terminal doesn’t seem to be on, check the power supply.;
2.4 If the terminal is running, but there is no login prompt, check the cables and brightness control.;
2.5 If everything is plugged in and connected, reboot and try again.;
2.6 If you still can’t get the terminal to respond, let your system administrator know.;
2.7 The computer checks your login name and password.;
2.8 If your login isn’t accepted, it’s most likely a typing error. Try again.;
2.9 If you still can’t log in, try another terminal to rule out equipment problems.;
2.10 Passwords are stored in a database.;
2.11 Login accounts may be disabled by the system administrator.;
2.12 You can ask another user to check if your account was disabled in the password database.;
2.13 If you’ve forgotten your password, you’ll need to ask your system administrator for help.;
2.14 Quick Reference of login troubleshooting;
Chapter 3: What you need to know about running programs;
3.1 You run programs in UNIX by typing them on the command line.;
3.2 The error “Command not found” means that the command isn’t in your search path.;
3.3 Check if the command was misspelled.;
3.4 Most programs reside in bin directories.;
3.5 You can run a program using its full pathname.;
3.6 You can run a program without its full pathname because of your command “search path.”;
3.7 You can find the directory where a program is installed with the whereis or which command.;
3.8 Add directories to your search path.;
3.9 The command might run, but not work correctly.;
3.10 There may be more than one version of the same command on your system.;
3.11 When there are two versions of a program, the one executed is the one earliest in your search path.;
3.12 You can have “aliases” for commands.;
3.13 The which command tells you what version of a program you are using or whether you have an alias.;
3.14 If a program isn’t working properly, you could be running a different version of it.;
3.15 There might also be permission problems.;
3.16 The TERM environment variable tells programs what type of terminal you use.;
3.17 If TERM is not set, programs may not run.;
3.18 If TERM is set wrong, you may get gibberish.;
3.19 Use the man command to learn how to use a command.;
3.20 Try the apropos command(or man -k) to find the name of a command.;
3.21 Quick Reference of troubleshooting techniques;
Chapter 4: What you need to know about sharing files;
4.1 On a UNIX system, your files can be shared with other users.;
4.2 Security measures make sure that people aren’t reading or editing files that they shouldn’t be.;
4.3 Sometimes file security gets in the way of what you want to do.;
4.4 Each UNIX file has its own distinct set of permissions to define who can read, write, or execute the file.;
4.5 Each file is owned by a particular user.;
4.6 Each file is assigned to a particular “group” of users.;
4.7 Use ls -lg to find out to what group a file belongs.;
4.8 You can find out to what groups a user belongs.;
4.9 Each file has three separate sets of permissions: for the owner of the file, the group, and everyone else.;
4.10 If you don’t have read permission, you won’t be able to see the contents of the file.;
4.11 Just because you can read a file doesn’t mean that you can change it.;
4.12 Directory permissions refer to the ability to list the files or create new files.;
4.13 Use ls -l to learn the permissions on a file.;
4.14 Use ls -ld to see the permissions for a directory.;
4.15 If you need permissions changed, you can ask the owner of the file or the system administrator.;
4.16 The owner of a file can extend read and write permission to all users.;
4.17 The owner of a file can extend read and write permission to just the group.;
4.18 The owner of a file can change the group that the file belongs to.;
4.19 You can also remove permissions.;
4.20 You can change permissions for all files in a directory.;
4.21 You can “become” another user to gain their privileges.;
4.22 Only the administrator can legitimately change the ownership of a file.;
4.23 If you can read a file but can’t write it, you can copy the file and make your changes in the copy.;
4.24 If you have already made edits when you learn the file is read-only, you can still save your changes.;
4.25 Sometimes several users have to work on several sets of files at once.;
4.26 It’s dangerous if two people edit a file at the same time.;
4.27 There are systems for making sure that two people aren’t editing the same file.;
4.28 Quick Reference to file sharing;
Chapter 5: What you need to know about printing;
5.1 Printing is a multistep process for the computer.;
5.2 Print jobs are sent to the printer by a printer daemon.;
5.3 Printing works differently depending on whether you use System V or BSD UNIX.;
5.4 Files need to be translated into a format that printers recognize.;
5.5 On UNIX, most printers use the PostScript standard.;
5.6 A PostScript file has a unique header.;
5.7 The lpr or lp command prints PostScript files. Other commands are needed to translate and print other kinds of files.;
5.8 If a file doesn’t print, the problem might be the PostScript file.;
5.9 Although most of a PostScript file is incomprehensible, you can sometimes read page counts.;
5.10 You can control what printer a file goes to, cancel print jobs, or monitor the print queue.;
5.11 You can use the lpc status or lpstat -t command to identify printers.;
5.12 On BSD-derived UNIX, printers are defined in /etc/printcap.;
5.13 Each user is assigned a default printer.;
5.14 Change the printer you use on the command line or with the PRINTER environment variable.;
5.15 Check the printer queue to see the status of your print job.;
5.16 If the printer queue isn’t moving, a large file could be processing.;
5.17 You can cancel your print job with the lprm or cancel command.;
5.18 Rebooting will fix a “hung” printer.;
5.19 Fonts can look wrong if the fonts requested aren’t loaded on a printer.;
5.20 Quick Reference to printing;
Chapter 6: What you need to know about space and time;
6.1 You share space and time with other users.;
6.2 Even if your system resources are adequate today, they may not be tomorrow.;
6.3 Files are stored on disks.;
6.4 On UNIX, disks are mounted as directories, or filesystems.;
6.5 Disk space is shared on UNIX systems.;
6.6 Some filesystems are mounted from remote machines.;
6.7 You can look at disk names and the space available on each disk.;
6.8 You can look at how much disk space your files take up.;
6.9 You can look at the size of your directories and subdirectories.;
6.10 Commands may create temporary files that also take up disk space.;
6.11 Clean up your directories occasionally (or when you get a warning).;
6.12 Don’t forget to check saved mail messages.;
6.13 Always remove a “core” file.;
6.14 Look for temporary files that weren’t removed after they were created.;
6.15 Remove files that you can easily recreate as needed.;
6.16 If you save files, you can compress them to take up less room.;
6.17 When you get a message that a disk is full, first find out which filesystem is affected.;
6.18 You may be able to retrieve deleted files from backups.;
6.19 UNIX systems multitask by working on each process a little at a time.;
6.20 When the system gets slow, take an inventory of what you’re doing.;
6.21 You can use the ps command to see what processes you’re running.;
6.22 On a UNIX machine, you can run many programs simultaneously.;
6.23 X users commonly have many programs running at once.;
6.24 Some programs are more resource intensive than others.;
6.25 Commands with dynamic displays eat up more time than “snapshot” displays.;
6.26 X programs are much more resource intensive than character-based programs.;
6.27 Some single commands actually spawn multiple processes.;
6.28 Look for unwanted processes.;
6.29 You can stop processes with the kill command.;
6.30 Job control makes killing programs a little easier.;
6.31 Be aware of your resources.;
6.32 Quick Reference to space and time questions;
Chapter 7: What you need to know about everyone else;
7.1 UNIX is a multiuser system; you can find out what other users are doing.;
7.2 You can find out who is logged in.;
7.3 Use who with the more or grep command to find out if a particular user is logged in.;
7.4 You can find out what other users are doing with ps.;
7.5 Use grep with ps to see what a single person is doing.;
7.6 The finger command shows you how long terminals have been idle.;
7.7 Finger shows when other users last read their email.;
7.8 You can use the finger command to find out what people are doing on other systems.;
7.9 You can use finger to find out someone’s login name.;
7.10 Don’t believe finger when it tells you when someone last logged in.;
7.11 Some users have a .plan file to tell others what they’re up to.;
7.12 You can find out who is on a mail alias.;
7.13 Quick Reference to finding out about other people;
Colophon;

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)