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 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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
