Linux 4 All

Best Linux tricks source

Strip html tags

  • In Linux
  • On 10 Nov | '2014

The following sed command will strip out html tags from a file. That’s useful to us with curl to get a nice output on the screen.

sed 's|<[^>]*>||g'

Script to get users on a RHEL system arrow-right
Next post

arrow-left Find all files bigger than a certain size
Previous post

Leave a Reply

Your email address will not be published. Required fields are marked *