Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Run next bash command cp catalina.out catalina.out.2020-12-03 && cat /dev/null > catalina.out out this will create copy of catalina.out file and then erase it.

  2. To compress backup file use for example gzip, run next command: gzip catalina.out.2020-12-03

...