HowTo: grep Text Between Two Words in Unix / Linux

last updated in Categories ,

I got over 100s of HTML files in the following format:
….
…..

<PRE>

my data 1
my data 2
my data 3
my data 10000
my data N times
</PRE>
.....
..

How do I extract text between two words (<PRE> and </PRE>) in unix or linux using grep command?

How To: Linux / Unix Move Directory Up One Level

last updated in Categories ,

I would like to move a directory one level up into the root directory. I have all my html files located in /home/apache2/www/html directory, and I would like to move /home/apache2/www/html to one level up at /home/apache2/www/. How can I accomplish this over the ssh session?