Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need commands in linux that can do the following. a) Find if the file random contains the word homer. The expression should find a

I need commands in linux that can do the following. a) Find if the file random contains the word "homer". The expression should find a case-insensitive match

b) Find empty lines (no space) in a file. The character ^ denotes the beginning of the line and $ denotes its ending

c) Count number of empty lines (no space) in a file

d) To find all the lines that have letters

e) Find all the lines that ONLY have letters

f) Find all the lines that ONLY have letters and numbers

g) Find all lines that does not have numbers h) Find lines that have contents between a pair of square brackets

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

More Books

Students also viewed these Databases questions

Question

=+Describe an important trade-off you recently faced

Answered: 1 week ago