html files

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

my data 1
my data 2
my data 3
my data 10000
my data N times

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


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

{ 1 comment }