Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using Linux bash 1. Write a command sequence to print the login names of all users on a system? 2. What is the difference between

Using Linux bash

1. Write a command sequence to print the login names of all users on a system?

2. What is the difference between $$ and $!?

3. I want to read all input to the command from file1 direct all output to file2 and error to file 3, how can I achieve this?

4. Given a file find the count of lines containing word EFG.

5. How to list files where third letter is a or b ?

6. How to remove array element with id 4 ?

7. Write a shell script that adds an extension .Newto all the files in a directory.

8: How will you insert a line ABCDEF at every 50th line of a file?

9. Write a command sequence to find all the files modified in less than 5 days and print the record count of each.

10. What is the difference between $* and $@?

11. Given a file, replace all occurrence of word ABC with DEF from 5th line till end in only those lines that contains word MNO

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

Object Databases The Essentials

Authors: Mary E. S. Loomis

1st Edition

020156341X, 978-0201563412

More Books

Students also viewed these Databases questions

Question

1 What are the dimensions used in Hofstedes model of culture?

Answered: 1 week ago

Question

Q.1. Taxonomic classification of peafowl, Tiger and cow ?

Answered: 1 week ago

Question

Q .1. Different ways of testing the present adulterants ?

Answered: 1 week ago

Question

Q.1. Health issues caused by adulteration data ?

Answered: 1 week ago

Question

2. What should an employer do when facing an OSHA inspection?

Answered: 1 week ago