Question: Task: We use the > symbol to redirect the output of a command. For example, to create a file called list1 containing a list of

Task: We use the > symbol to redirect the output
Task: We use the > symbol to redirect the output of a command. For example, to create a file called list1 containing a list of fruit, type $ cat > list1 Then type in the names of some fruit. Press [Return] after each one. pear banana apple D (Control D to stop) What happens is the cat command reads the standard input (the keyboard) and the > redirects the output, which normally goes to the screen, into a file called list1 To read the contents of the file, type $ cat list1

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 General Management Questions!