Question: help with the is command line using ubuntu unix/linux (1) The echo builtin copies its arguments to standard output which, by default, bash directs to

help with the is command line using ubuntu unix/linux

  1. (1) The echo builtin copies its arguments to standard output which, by default, bash directs to the screen. Write the command to redirect standard output (Sobell, page 138) of echo to write a short message (e.g., Hi there) to a file and then use cat to display the contents of the file.
  1. (4) Do the following:
    1. Write the command to redirect standard output of cat to create a file named days that holds the names of the days of the week in chronological order, one per line. Do not redirect standard input to cat; it will come from the keyboard. Remember to press CTRL-D on a line by itself to exit from cat.
    2. Use cat to read the days file and send it to standard output, through a pipeline, to standard input of the sort (Sobell, pages 58 and 145) utility. The result will be a list of days in alphabetical order.
    3. Replace sort in the preceding command with grep (Sobell, page 56) with an argument of (uppercase) T. The result will be a list of days that have an uppercase T in their names in chronological order.
    4. Create a filter (Sobell, page 146) by repeating the preceding command but sending standard output of grep through a pipeline to standard input of sort. The result will be a list of days that have an uppercase T in their names in alphabetical order.

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!