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



    SAMS Teach Yourself Red Hat(r) Fedora(tm) 4 Linux(r) All in One
    Cisco ASA and PIX Firewall Handbook
    ISBN: N/A
    EAN: 2147483647
    Year: 2006
    Pages: 311
    Authors: David Hucaby

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net