Useful tips for everyday
How do I view SFTP logs? Viewing the logs via SFTP Make sure your user is an SFTP or Shell user. Log into your server…
How do I permanently change shell to Bash? From System Preferences Hold the Ctrl key, click your user account’s name in the left pane, and…
How do I display a variable in echo? To display the value of a variable, either use echo or printf command as follows: echo $varName…
Can ZFS be encrypted? ZFS encryption is integrated with the ZFS command set. Like other ZFS operations, encryption operations such as key changes and rekey…
How do I share an external hard drive on a Raspberry Pi? Share an external USB drive via Samba on your Raspberry Pi sudo fdisk…
How do you mention length in a regular expression? Length of characters to be matched. And by default, the engine is greedy to match this…
Can a bad DisplayPort cause flickering? The second one is that even more modern DisplayPort cables might be poorly made. If the one that shipped…
When to run a cronjob if there is a lock? Those lock files are used to determine if a script or application is already running…
How do I SSH to environment variables? ssh/environment file can be used to set variables you want available for remote commands. You will have to…
Does malloc allocate on the heap? In C, the library function malloc is used to allocate a block of memory on the heap. The program…