Question
1. Create a directory structure IFT383FinalExam/Activities/Activity1 in your home directory 2. Create a file using the cat command named classRoster 3. Add three records to
1. Create a directory structure IFT383FinalExam/Activities/Activity1 in your home directory
2. Create a file using the cat command named classRoster
3. Add three records to your file with the following fields, separated by a comma Student ID First Name Last Name Grade Program of Study ASURITE ID (username)
4. Display the contents of the file classRoster Move the file classRoster to the directory Activity1
5. Go to the Activity1 directory Display the directory you are in
6. Add read, write and execute permissions for user and group to Activity1.dir
7. Create a new file called header using cat command whose contents are the field names, separated by a tab space Student ID First Name Last Name Grade Program of Study ASURITE ID (username)
8. Display the header file Copy the contents of header into classRoster, as the first line Replace the comma with a tab space using appropriate filters (such as cut, paste, tr, head, etc.)
9. Save this file as finalRoster.txt Display the contents of the file finalRoster.txt Convert the finalRoster to a UNIX file and save as rosterUNIX,
10. perform a byte-by-byte comparison of the two files, and display the differences.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started