Question: Redirection and Pipes Unix Questions 1. Give a command to run the program my-program, but redirecting the input from a file called input.txt and redirecting

Redirection and Pipes Unix Questions

1. Give a command to run the program "my-program", but redirecting the input from a file called "input.txt" and redirecting the output to a file called "output.txt".

2. Using pipes, give a command which lists all of the process identifiers for all processes running on a machine which contain the text "you". The output should be only the process identifiers.

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!