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
Try writing a bc script to calculate the area of a circle, after prompting the user for the necessary numbers.
Use your favorite editor to create a text database containing your personal phone number list ...
Get SAMS Teach Yourself Red Hat® Fedora™ 4 Linux® All in One now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.