Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Time sensative (linux). Please 1)Show all lines that have only the word hello in file file1. 2)Show all lines that have at least five characters.

Time sensative (linux). Please

1)Show all lines that have only the word hello in file file1.

2)Show all lines that have at least five characters.

3)Show all lines that have only 5 digits.

4)Write the command to find out the number of words in the file file1.

5)Write the command to substitute all the words Unix to Linux in a file called file1.

6)Write the command to rename the file file1 to file2.

7)Write the command to list only the directories in the current folder.

8)Use the sed command to print lines 6 to 10. Modify that command to place lines 6 to 10 of file1 into file2.

9)A file has three columns. In column-1 the name of employee and in column-2 he salary of employee is given.

10)Write the line to display the name of employees that make more than 50000.

11)Write a script to read three numbers and find the sum of these numbers. Find the largest number. Display the largest number and the sum.

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

Students also viewed these Databases questions

Question

Why is employee safety a big concern for organisations?

Answered: 1 week ago