1. Flagship is a file as follows. What command will display this file on the scr
ID: 3755034 • Letter: 1
Question
1. Flagship is a file as follows. What command will display this file on the screen? (2 p CIS,330,Programming.Smith IS:420,Database: Dhuria CIS 225,Java Srinivasan CIS,310,Security Hua 2.What Unix command will search for the target string "Programming" in Flagship ? (4 3. What Unix command will give the fields? (3 points) CIS,330 CIS:420 CIS:225 CIS:310 4. What command will give the following field? (Note it is sorted) (3 points) Dhuria Hua Smith Srinivasarn 5. What single command will redirect the following to a file named Ttles? (3 points) Programming Database Java SecurityExplanation / Answer
Q1) Command name = cat (eg:- cat Flagship.txt)
Q2)Command Name = grep (eg:- grep -i Programming Flagship.txt)
Q3) Command Name = awk (eg:- awk '{ print $1 }' Flagship.txt)
Q4) sort -s -n -k 3,3 Flagship.txt | awk '{print $3}'
Please let me know in case of any clarifications required. Thanks!
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.