Helpful Linux commands for debugging

As with any operating system, executing service, or program, it is very important to know the state of them in real time. All operating systems and programs store their activities in logs. These logs are text files that are filled with information, messages, and events in order to have a system managed and administrated in the most accurate way.

  1. tail is a command that prints the last 10 lines of a file to the standard output by default. The most commonly used option for this command is f. This option will display the data as the file size increases. This command is very helpful to see in real time the information sent to a log.
    • For example, to follow the information sent to the operating system messages file, ...

Get Elastix Unified Communications Server Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.