Soluții

How to Use Linux Signals in Bash Scripts

Signals are short, fast, one-way messages sent to processes such as scripts, programs, and daemons. They let the process know about something that has happened. The user may have hit Ctrl+C, or the application may have tried to write to memory it doesn’t have access to.

If the author of the process has anticipated that a certain signal might be sent to it, they can write a routine into the program or script to handle that signal. Such a routine is called a signal handler. It catches or traps the signal, and performs some action in response to it.

[mai mult...]

How to Check Your BIOS Version and Update it

Multiple Windows computer on a desk

You probably shouldn’t update your BIOS, but sometimes you need to. Here’s how to check what BIOS version your computer is using and flash that new BIOS version onto your motherboard as quickly and safely as possible. Be very careful when updating your motherboard’s BIOS! If your computer freezes, crashes, or loses power during the process, the BIOS or UEFI firmware may be corrupted.

[mai mult...]