Posts: 118
Threads: 90
Joined: Dec 2003
Reputation:
0
Make yourself a notes file to keep documentation on changes you made on your system or just general notes about commands and things.
I created a file called notes.txt at /var/notes.txt and when I want to add to it simply do this
[digerati@rh9 /]$ cat >> /var/notes.txt
type something and hit ctrl d when finished.
Since this >> appends to the file I like to add a # sign before the actual typing like:
[digerati@rh9 /]$ cat >> /var/notes.txt
#
type something and hit ctrl d when finished.
Posts: 254
Threads: 66
Joined: Dec 2003
Reputation:
0
I believe the ">>" only adds to the bottom of the file? Correct? Anychance we can get it to add to the top? Newest first?
Posts: 118
Threads: 90
Joined: Dec 2003
Reputation:
0
" >> " is append meaning append to the end of the file.
I dunno how to get it to the top of the file. Not yet anyways....
Posts: 59
Threads: 5
Joined: Dec 2003
Reputation:
0
Appending to the end of a file makes sense. Since that way you can use a simple 'tail' to see the recent changes you have made to your notes file.