Commands: cat, chmod, cut, echo, expand, grep, paste, sort
A list of all graduates from CVTC has been extracted from a data base
to a text file as a series of comma delimited fields in the following
You have to call all of the CIS graduates in the 715 area code to see
if they would be willing to participate in a detailed survey of
graduate placement and career paths. You need just a portion of the
total list of graduates and want the fields in this sequence:
last name first name phone number (without area code)
You also want the list sorted alphabetically by graduates last name,
column headings at the top of the list and a line at the end containing
Using the unix text processing commands produce the desired list.
- Copy the file: /home/classes/unix-user/survey-data
- Set write permission on to this file.
- Using vi add at least 5 more records to it following the format
of the existing data. Use your name in one of these records.
All other data may be ficticious.
Objectives: Learn to use some to the file manipulation commands
Learn to use redirection and piping
Learn to create a simple shell script
Write a shell script that will produce a 12-month calendar
starting at a given month and year.
The starting month and year shall be specified on the command line.
The months shall be in 3 columns arranged as follows:
1 2 3
4 5 6
7 8 9
10 11 12
Put a heading at the top of the calendar containing the
starting month and year and the ending month and year.
Thanks for any help with these!!
It looks like you're new here. If you want to get involved, click one of these buttons!