An illustration of the results of entering
[hes@vm18-165 ~]$ cat a
where the file a was set up to have 3 lines in it, each with 3 copies of "lots of characters".
[hes@vm18-165 ~]$ cat a
lots of characters lots of characters lots of characters
lots of characters lots of characters lots of characters
lots of characters lots of characters lots of characters
[hes@vm18-165 ~]$ 
If that works, but
[myid@vm18-165 ~]$ cat nexample
doesn't print anything - and it should print what you had entered into the file nexample, then do
[myid@vm18-165 ~]$ ls -l nexample
and make sure it exists, and, if it does, that its size is not 0. If it doesn't show up as a result of ls, or if its size is 0, then you won't have anything printed. If that's so, then go back and use nano to write out the nexample file as shown above.

Return to Glide


Copyright 2019 by Henry E. Schaffer. Comments and suggestions are welcome, and should go to hes@ncsu.edu
Licensed under the Creative Commons Attribution-NonCommercial 4.0 International Public License https://creativecommons.org/licenses/by-nc/4.0/legalcode
Last updated 8/30/2019