Since PowerShell Core 6, PowerShell became cross-platform, free and open source. There is, of course, some limitations when it comes to PowerShell for non-Windows platforms. Microsoft documentation explains that: “PowerShell on Linux and macOS uses .NET Core, which is a subset of the full .NET Framework on Microsoft Windows. As a result, scripts that run […]
A bash script to generate random passwords
There is a couple of ways to create a random password with shell/bash. For instance, we can just pipe the date command to md5sum or sha256sum to generate a seemingly random string that can be used as a password: That is a start. If we don’t want the whole string, when can trim the result […]
Keep your Ubuntu Server tasks running with Screen
Sometimes it can be useful to leave your server working on a task in case you need to disconnect yourself from it. With screen we can create and resume sessions easily. To install screen on Ubuntu, type the following command: Is always a good idea to update the local package list from your server by […]