subject

Write a BASH shell script that uses a combination of the Linux commands cat, cut, grep, numaverage, numbound, uniq, sort, and wc to summarize the data contained in an external file Note 1: Students should use the man command to learn more about each of the above Linux commands. Note 2: Students should avoid using any Linux commands other than those listed above to complete their BASH script. The script should accept the name of the external file as a command-line argument The script should display the total number of particles recorded in the file The script should summarize the data of each unique particle (species): Note 1: Do NOT create temporary files to store data - chain commands together with piping. Note 2: All decimal values should be displayed to six (6) decimal places. Name of particle species Total number of occurrences of the species Minimum momentum of the species Maximum momentum of the species Average momentum of the species Two (2) data files are provided for use with the BASH script: small. dat and large. dat Use the small. dat file to test and perfect the BASH script Use the large. dat file to produce the output you will include in the Linux Lab submission

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 04:30
There is a simple pattern for determining if a binary number is odd. what is it and why does this pattern occur? how many bits would you need if you wanted to have the ability to count up to 1000? how high could you count in binary if you used all 10 of your fingers as bits? (finger up means 1, finger down means 0)
Answers: 3
question
Computers and Technology, 22.06.2019 21:00
Describir textbook icon_person mira los dibujos y describe lo que estΓ‘ pasando. usa los verbos de la lista.
Answers: 1
question
Computers and Technology, 22.06.2019 23:50
You need to design a circuit that implements the functions in the following table: s0 s1 function0 0 a + 10 1 a – b1 0 a + b1 1 a – 1s0 and s1 are 1-bit control inputs to select the function of the circuit. inputs a and b are 4-bitnumbers in 2s complement form. the output is also a 4-bit number in 2s complement form.you are allowed to use only one ttl 7483 4-bit adder to implement all the functions. but anynumber of other components (except the adder) can be used.hint: design a combinational logic circuit to modify the input b and the β€œcarry input” of theadder depending on the control inputs s0 and s1.important: lab grade will depend on the working of the circuit & will be checked of by your labinstructor.1. is the output valid for the following input combinations: a. s0 = 0, s1 = 0, a = 7, b = 3? b. s0 = 0, s1 = 1, a = 7, b = 3? c. s0 = 1, s1 = 0, a = -4, b = -5? d. s0 = 1, s1 = 1, a = -8, b = 6? 2. what is the range of inputs (for both a and b) that will produce the valid output for all the functions?
Answers: 3
question
Computers and Technology, 23.06.2019 00:00
What engine component is shown in the above figure?
Answers: 1
You know the right answer?
Write a BASH shell script that uses a combination of the Linux commands cat, cut, grep, numaverage,...
Questions
question
Biology, 25.03.2021 18:50
question
Chemistry, 25.03.2021 18:50
question
Health, 25.03.2021 18:50
question
Health, 25.03.2021 18:50
Questions on the website: 13722362