Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Linux Write output of following commands and describe the function of commands (the last one only in each question). Function: 1)$ ls *.awk| awk '{print

Linux

Write output of following commands and describe the function of commands (the last one only in each question).

Function:

1)$ ls *.awk| awk '{print "grep --color 'BEGIN' " $1

(Notes: sh file runs file as a shell script.)

Output:

Function:

2)$ mkdir test test/test1 test/test2

$ cat>test/test.txt

This is a test file

^D (CTRL + D)

$ cd test

$ls -l .|grep'^d'|awk'{print "cp -r " $NF " " $NF ".bak"}'|sh

Output:

Function:

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

Handbook Of Database Security Applications And Trends

Authors: Michael Gertz, Sushil Jajodia

1st Edition

1441943056, 978-1441943057

More Books

Students also viewed these Databases questions