Useful tips for everyday
How to set environment variables for a systemd service in? The MySQL manual states the service setup is done simply as (example only): This is…
How do you check if a script is running in the background Linux? How to find out what processes are running in the background You…
How to create a package in Debian project? This directory will store all the package contents like package metadata ,binaries, configuration file, log files etc.…
How to make Cron email me with output? I used a pretty simple method to get cron to send emails: Backup Linux configuration, scripts and…
What is NSE in Linux? The Nmap Scripting Engine (NSE) extends Nmap’s capabilities to enable it to perform a variety of tasks and report the…
How do you catch errors in Jenkins pipeline? Solution: If you want to abort your program on exception, you can use pipeline step error to…
What is the base value for arithmetic expansion in Bash? The base must be a decimal between 2 and 64 representing the arithmetic base. The…
Where does systemd boot check at boot time? systemd-boot will automatically check at boot time for Windows Boot Manager at the location /EFI/Microsoft/Boot/Bootmgfw.efi, UEFI shell…
Can a Sudo user use the X11 tunnel? The following procedure allows a sudo user to use the ssh based X11 tunnel: 1. Connect the…
How to count the number of lines in a text file? The simplest way to get the number of lines in a text file is…