Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 22 Not yet answered Marked out of 4.00 Flag question A user of Linux operating system has created a file F with below data
Question 22 Not yet answered Marked out of 4.00 Flag question A user of Linux operating system has created a file F with below data in the file and now he want to filter some data using various shell commands. Give the appropriate commands required by the user to get his results. [Assume spaces between fields are uneven] Bank Muscat Nizwa Fira Bank Muscat muscat Khoud Bank Muscat Behla Souq Bank Muscat Muscat Ruwi Bank Muscat muscat Azeba Bank Muscat Nizwa Souq Bank Sohar Nizwa Hilane Bank Sohar Nizwa Lulu Bank Sohar Muscat Ruwi a.) Write a command to print total number of banks in Ruwi.[1] b.) Write a command to print all branches of Bank Muscat in Muscat.[1] c.) Write a command to print only locations of Nizwa by removing duplicates in sorted order. [1] d.) Write the command to print only the city names having Bank Muscat branch in souq area[1]
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