I had problems in picking an aspect of shell programming to illustrate, and then carving out a nice boundary so that I explained something interesting that was smaller than the whole of the course. I was also wondering… Where are concept maps most usefully used? On problematic parts of a body of knowledge, presumably. What are they? (I don’t know).
<figcaption class="wp-caption-text">A concept map for stdout and redirecting it.</figcaption></figure> Question the first
I have a file containing weather station names called stations; I wish to sort the file and place the result in a file called sorted-stations. Which of the following commands does that?
- sort > sorted-stations stations
-
stations sort sorted-stations - sort stations > sorted-stations
-
cat < stations | > sorted-stations sort </ol> Question the second
Which of the following commands lists files to the screen (and may or may not have some other effect).
- ls > screen
-
cat kittens ls - ls
-
ls sort < kittens </ol>
-
- ls
-
- ls > screen
-
- sort stations > sorted-stations
-