Question: Working on a unix-like command-line interface... a) Put it all together. Show the command to run the executable prog with the command-line arguments -k 3

Working on a unix-like command-line interface...

a) Put it all together. Show the command to run the executable prog with the command-line arguments -k 3 myfile, reading input from standard input redirected from somefile.txt and redirecting the output to test1.out.

b) Run prog with a command-line argument of hello, and pipe the output to the Unix utility program wc. This allows you to count the number of lines, words, and characters this program outputs.

9) Write a shell command to remove all the files in the current working directory that end in .o

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!