Checking disk space on linux

df You can use df (display free disk space) to troubleshoot disk space issues. While running and maintaining your application on your machine, you might receive an error message signaling a lack of free space on the host. While disk space should be managed and optimized by a sysadmin, you can use df to figure out the existing space…

Read More

Install powershell on debian 10

very simple installation # Download the Microsoft repository GPG keys wget https://packages.microsoft.com/config/debian/10/packages-microsoft-prod.deb # Register the Microsoft repository GPG keys sudo dpkg -i packages-microsoft-prod.deb # Update the list of products sudo apt update # Install PowerShell sudo apt install -y powershell # Start PowerShell pwsh Bash to Powershell command reference Bash PowerShell PowerShell Alias Note Cd…

Read More
apt vs apt get

linux (debian) apt vs apt-get

The apt command utility is a successor to the earlier apt-get. The Debian package management infrastructure has been a feature of Debian since early on. At the heart of Debian package management is dpkg [1], a low-level tool used for installing and removing Debian .deb packages. The bigger and more comprehensive Advanced Package Tool (APT) [2] includes dpkg on the…

Read More