Question: 1. From the command line, invoke a SED program that displays once each line of the input.txt file How would you run your command if

 1. From the command line, invoke a SED program that displays

1. From the command line, invoke a SED program that displays once each line of the input.txt file How would you run your command if the SED program was stored in a file? 2. Write a SED program (set of commands) that: Takes as an input the text file called sample.txt Substitutes all occurrences of word "word 1" with the word "word_2" in all lines of the sample.text. deletes the lines that start with the empty space. Saves an output to the sample out.txt. 3. How do you find the free space of C: drive in GBs? 4. Assume that you typed in your PowerShell envenvirgnment command Get-Help Get PhysicalDisk. a) What is that command doing? Now assume that among the output of the command above is a line Get-PhysicalDisk [-Usage Unknown | AutoSelect | ManualSelect | HotSpare | Retired Journal) b) Explain the best you can each of the element of that output. Answer both questions a) and b) 5. What are the key characteristics of PowerShell? List at least the three most important. 6. What are differences between an array and hash in PowerShell? Show how would you declare an array. Show how would you declare a hash 7. How do you find the computer name? 8. Explain with an example how you can map a network drive in PowerShell

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!