Posts

Yaml Multiline strings

Image
  You can write multiline strings in either of two ways. You can use the vertical bar (|) character to denote that newline characters within the string are to be preserved. include_newlines: | Example Company 123 Main Street Atlanta, GA 30303 Copy and Save Share You can also write multiline strings using the greater-than (>) character to indicate that newline characters are to be converted to spaces and that leading white spaces in the lines are to be removed. This method is often used to break long strings at space characters so that they can span multiple lines for better readability. fold_newlines: > This is an example of a long string, that will become a single sentence once folded.

Using Scientific Method for Troubleshooting

Efficient and timely troubleshooting skills can be developed through practice of the widely recognized   scientific method . The scientific method is an empirical process for using logic to hypothesize and test theories through observation, refined by experimentation and validation of deductions that are drawn from those hypotheses. With experience, scientific method users acquire knowledge and develop useful conclusions through refinement and elimination of tested hypotheses. The scientific method consists of these steps: Collect relevant information. Create an accurate problem statement. Formulate testable hypotheses. Test each hypothesis. Record and analyze the test results. Fix and verify the problem resolution. Using the Scientific Method In many scenarios, you might repeat the scientific method, either in whole or by iterating on certain steps, to discover and verify the root cause of the problem. Collect relevant information. The first step, before theorizing a problem state...

What to look at when there is an OS Error in Linux

 /var/log folder contains overall system notifications and messages recorded at system boot. The file /var/log/messages contain a variety of messages, such as mail, kern, auth, cron, daemon, and so on. Among the logs under /var/log the /var/log/messages is the most common one as the kernel / core system logs are held there. The kernel modules generally dumps there too. So, for problem diagnosis / monitoring the /var/log/messages is the primary log file to examine. The Ubuntu 20.04 system doesn’t record its log in /var/log/messages folder. However, it saves the record in the/var/log/syslog file. Red Hat family distributions (including CentOS and Fedora) use /var/log/messages and /var/log/secure where Debian-family distributions use /var/log/syslog and /var/log/auth.log.