Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

PC Magazine Guide To Client Server Databases

Authors: Joe Salemi

1st Edition

156276070X, 978-1562760700

More Books

Students also viewed these Databases questions

Question

600 lb 20 0.5 ft 30 30 5 ft

Answered: 1 week ago