Skip to Content
SAMS Teach Yourself Red Hat® Fedora™ 4 Linux® All in One
book

SAMS Teach Yourself Red Hat® Fedora™ 4 Linux® All in One

by Aron Hsiao
July 2005
Beginner
720 pages
18h 15m
English
Sams
Content preview from SAMS Teach Yourself Red Hat® Fedora™ 4 Linux® All in One

Workshop

The Workshop is designed to help you anticipate possible questions, review what you've learned, and begin learning how to put your knowledge into practice.

Quiz

1:How do you start the binary calculator in interactive mode?
2:How would you return all matches for the word Johnson from a text list called mylist.txt, sorted based on the second column, in reverse alphabetical order, and print the output?

Answers

A1: Type bc at the command prompt and press Enter.
A2: The command would be
grep Johnson mylist.txt | sort -k 2 -r | lpr

Activities

  1. Try writing a bc script to calculate the area of a circle, after prompting the user for the necessary numbers.

  2. Use your favorite editor to create a text database containing your personal phone number list ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

A Practical Guide to Fedora™ and Red Hat® Enterprise Linux®

A Practical Guide to Fedora™ and Red Hat® Enterprise Linux®

Mark G. Sobell

Publisher Resources

ISBN: 0672327074Purchase book