h1. How to work with log file {{>toc}} Let's suppose, you want to find string _${STRING}_ in file _${FILE}_ h3. File opening Run +mcview+ application bq. # mcview ${FILE} h3. Search in file In +mcview+ window push F7 and enter criteria for search - string ${STRING}. For next search enter F7 again. To go to end of file press SHIFT+G. To search from the end of file to beginning use corresponding option "Backwards" in F7 window. h3. File closing and exit To exit from +mcview+ press F10 or 2 times ESC. h3. File purging In case if file has become too big it would be too long to search something in it. Then purge it with command: bq. # dd if=/dev/null of=${FILE} [[Как работать с лог файлом|Русский перевод]]