More Unix

Questions

Now see if you can answer the following questions using the commands you have learnt.
  1. Give a "long" listing of the largest 5 files in the /etc directory whose name contains the string ".conf", sorted by decreasing file size.
  2. All the commands listed above are actually programs of the UNIX system. Where on the unix system are these programs located? How will you find out the full path names of these programs?
  3. Find the number of lines in which the string "is" occurs in your file Ragging.txt.
  4. Find the number of lines in which the string " is " occurs in your file Ragging.txt.
  5. Can you account for the differences in these two numbers?
  6. Create a signature file called .signature giving details of your name, address, hostel and phone numbers and email addresses.
  7. Find out how this .signature file is used to save you the trouble of separately signing every mail that you send. Set it up in your favourite mailer.

S. Arun-Kumar
Last modified: Sat Aug 5 19:06:20 2006