1 answer

Really need help from 11 on: Create the directory structure IFT383FinalExam/Activities/Activity1 in your home directory. Using...

Question:

Really need help from 11 on:

Create the directory structure IFT383FinalExam/Activities/Activity1 in your home directory.

Using the cat command, create a file named classRoster with the following fields, separated by a comma.

Student ID

First Name

Last Name

Grade

Program of Study

ASURITE ID (username)

Add three records to your file.

Display the contents of the file.

Move the file classRoster to the directory Activity1.

Go to the Activity1 directory.

Display the directory you are in.

Add read, write and execute permissions for user and group to Activity1 directory.

Create a new file called header using cat command with the following field names, separated by a tab.

Student ID

First Name

Last Name

Grade

Program of Study

ASURITE ID (username)

Display the file.

Copy the contents of header into classRoster, as the first line

Replace the comma with a tab using appropriate filters (such as cut, paste, tr, head, etc.)

Save this file as finalRoster.txt

Display the contents of the file finalRoster.txt


Answers

Hi,

Please find the below commands.

$ mkdir IFT383FinalExam
$ mkdir Activities
$ mkdir Activity1

Using the cat command, create a file named classRoster with the following fields

$ cat > classRoster
123,AA,BB,A+,CSE,DAN
456,DD,EE,B+,ECE,DOL
789,FF,GG,C+,ITI,DISK

Display file

$ cat classRoster
123,AA,BB,A+,CSE,DAN
456,DD,EE,B+,ECE,DOL
789,FF,GG,C+,ITI,DISK

Move the file classRoster to the directory Activity1.

$ mv classRoster ./IFT383FinalExam/Activities/Activity1

Go to the Activity1 directory.

$ cd ./IFT383FinalExam/Activities/Activity1

Display the directory you are in.

$ pwd
/IFT383FinalExam/Activities/Activity1

Add read, write and execute permissions for user and group to Activity1 directory.

$ chmod 775 Activity1

Create a new file called header using cat command with the following field names, separated by a tab.

$ cat > header
StudentID FirstName LastName Grade ProgramofStudy ASURITEID

Display the file.

$ cat header
StudentID FirstName LastName Grade ProgramofStudy ASURITEID

Copy the contents of header into classRoster, as the first line

$ head -1 header | cat > tmp && cat classRoster | cat >> tmp && mv tmp classRoster

$ rm tmp

Replace the comma with a tab using appropriate filters

$ cat classRoster | sed "s/,/ /g"
StudentID FirstName LastName Grade ProgramofStudy ASURITEID
123 AA BB A+ CSE DAN
456 DD EE B+ ECE DOL
789 FF GG C+ ITI DISK

.

Similar Solved Questions

1 answer
Hello, I am doing a WACC project of Apple, Inc and trying to follow the instruction...
Hello, I am doing a WACC project of Apple, Inc and trying to follow the instruction below, but I do not think it is clear enough for me to follow. Calculating the Weighted Average Cost of Debt Find the market value of each bond issue. To do this find the number of bonds and then multiply by the pri...
1 answer
In a clinical trial, 50 patients suffering from an illness will be randomly assigned to one...
In a clinical trial, 50 patients suffering from an illness will be randomly assigned to one of two groups so that 25 receive an experimental treatment and 25 receive the best available treatment. The random variable X is the response of a patient to the experimental medicine, and the random variable...
1 answer
How do you find the cartesian graph of #r cos(θ) = 9#?
How do you find the cartesian graph of #r cos(θ) = 9#?...
1 answer
ANSWER THIS : Calculate the implied annual risk-free rate if the actual market price of the...
ANSWER THIS : Calculate the implied annual risk-free rate if the actual market price of the equity futures contract in Problem 1a is 2,376. How would an investor construct a portfolio to earn this rate of return? (MAIN QUESTION) PART THAT YOU NEED TO ANSWER ABOVE QUESTION IS BELOW. Problem 1 Calcula...
1 answer
It is​ _______ that you could definitively identify the causes of the slow recovery since​ _______....
It is​ _______ that you could definitively identify the causes of the slow recovery since​ _______. A. not​ likely: there will only be data available relating to the causes of the crisis not related to the recovery B. ​likely: we now have sophisticated models that let us sepa...
1 answer
Determine whether the sequence converges or diverges. If convergent, give the limit of the sequence. 17....
determine whether the sequence converges or diverges. If convergent, give the limit of the sequence. 17. {an} = (-1) 4n2 - n +5 3n2 + 1 19. {an} { } {"=1_n-1}.-22 20. {an}...
1 answer
For a four resistors n-channel JFET, find the operating points (VGS, ID, and VDS). Assume IDSS...
For a four resistors n-channel JFET, find the operating points (VGS, ID, and VDS). Assume IDSS = 5mA, VP = - 4.5V and IG ≈ 0       Given: VDD = 12 V, R1 = 2MΩ, R2 = 1.5MΩ, RD = 6 kΩ, RSS = 4 kΩ...
1 answer
The following molecules were formed via condensation reaction. Draw a line through the new bond and...
The following molecules were formed via condensation reaction. Draw a line through the new bond and draw the two molecules that underwent condensation (3pts each, 9 pts total) We were unable to transcribe this image...
1 answer
Two loudspeakers emit sound waves along the x-axis. The sound has maximum intensity when the speakers...
Two loudspeakers emit sound waves along the x-axis. The sound has maximum intensity when the speakers are 15 cm apart. The sound intensity decreases as the distance between the speakers is increased, reaching zero at a separation of 62 cm. What is the wavelength of the sound? Express your answer to ...
1 answer
A publisher reports that 22% of their readers own a personal computer. A marketing executive wants...
A publisher reports that 22% of their readers own a personal computer. A marketing executive wants to test the claim that the percentage is actually above the reported percentage. A random sample of 250 found that 29% of the readers owned a personal computer. Is there sufficient evidence at the 0.01...
1 answer
BCOMM Saved Required information The year-end financial statements of Grunewald Company contained the following elements and...
BCOMM Saved Required information The year-end financial statements of Grunewald Company contained the following elements and corresponding amounts. Assets = $22,325; Common Stock = $5,000; Revenue = $11,300: Dividends = $850; Beginning Retained Earnings = $3,520; Ending Retained Earnings = $...
1 answer
Question 1 1 pts Arrange the atoms: K, Ca, Rb, Cl, in order of increasing first...
Question 1 1 pts Arrange the atoms: K, Ca, Rb, Cl, in order of increasing first ionization energy. Only type in the chemical symbols in the blanks. Rb...
1 answer
Could someone please verify if I identified these right? Could you also please explain how you...
Could someone please verify if I identified these right? Could you also please explain how you identified them if I did them wrong? I would also like an explaination for 5(a) since the second compound is rotated. Thank you! e0 ach' hoods 2ined, arvucherm eR· d..n cstesec, m ei, OV CH3 CH3...
1 answer
12.5A e 2 Suppose that A has a Gamma distribution: fA(A) 「3.5)23.5 (a) Suppose that the...
12.5A e 2 Suppose that A has a Gamma distribution: fA(A) 「3.5)23.5 (a) Suppose that the conditional distribution of X given Λ = λ is fxA(TA z ) e- for x > 0. i. Find Ex ii. Find Var( (b) Suppose that the conditional distribution of X given A = λ is frA (zA)-Xe-k for x ...
1 answer
Y Assignment 6 Remaining Time: 123:52:31 Suppose a ojectile has an acceleration of -20 m/s2 (i.e....
y Assignment 6 Remaining Time: 123:52:31 Suppose a ojectile has an acceleration of -20 m/s2 (i.e. It is accelerating downwards), an initial velocity of -37 m/s, and an initial position of the projectile was 1,000 m above ground. Find the position function z(t) of the projectile (where t is in second...
1 answer
4. Provide the products of each reaction (3pts, 2pts) 1. H,O* OCH; 2. NaOCH, CHOH OCH,...
4. Provide the products of each reaction (3pts, 2pts) 1. H,O* OCH; 2. NaOCH, CHOH OCH, 3. H, A 4. NaCN 1. LDA 2. Pho 3. H , A 4. EtMgBr...
1 answer
Sample letter requesting a change from part-time, to full-time hours.
sample letter requesting a change from part-time, to full-time hours....
1 answer
Complete HeapPriorityQueue (7 points). In lecture we implemented HeapPriorityQueue using an array-based representation of a heap...
Complete HeapPriorityQueue (7 points). In lecture we implemented HeapPriorityQueue using an array-based representation of a heap (a complete binary tree whose entries satisfy the heap-order property). For this problem, complete the included HeapPriorityQueue class by using the LinkedBinaryTree class...
1 answer
Required information The following information applies to the questions displayed below.) Part 1 of 3 Raner,...
Required information The following information applies to the questions displayed below.) Part 1 of 3 Raner, Harris & Chan is a consulting firm that specializes in information systems for medical and dental clinics. The firm has two offices-one in Chicago and one in Minneapolis. The firm classif...