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 and perform some searches and sorts on it.