The main edition of the Linux Mint is based on Ubuntu which itself is based on Debian. If you try to add an Ubuntu APT repository in the Linux Mint with the command, like sudo apt-add-repository “deb [arch=amd64] <URL> $(lsb_release -cs) main”, you may get this error: E: The repository ‘<URL> <codeName> Release’ does not […]
linux
Split Screen in Linux Mint (MATE)
If you search for how to split screen in a Linux Mint/Ubuntu you will find very fast that this can be done by using the different combinations of the ⊞ Win + ←, →, ↑, ↓ key buttons. But if you are a lucky owner of the MATE edition of the Linux Mint, you will […]
How to Check How Much RAM Do I Have
There could be numerous reasons behind a computer running slow but the most common is a lack of RAM (memory) caused by too many programs running simultaneously, and you may wonder how much RAM do i have and how to check the RAM usage. This note shows how to check the total amount of RAM […]
Linux: Open File Manager From Terminal
While working in a Linux terminal, sometimes you may want to open the current directory in a GUI file manager and continue working from there. There are many different file managers in Linux, but there is also a universal way to open the default file manager from the terminal using the xdg-open command. This note […]
Increase Image Size in KB (Without Changing Pixels)
Sometimes it is requires to increase an image size without changing its pixels i.e. increase the size of a file without changing a quality, dimension or resolution of the image or photo. You may need this for example in some applications or web-services that don’t allow to upload images if their size is less than […]
Sudo as Another User
A sudo in Linux allows to execute commands with the security privileges of another user, by default the root user. This short note shows how to run commands as another user using sudo.
Reinstall GRUB from Live USB (UEFI + LVM)
There are many reasons why you may need to reinstall GRUB: corrupted boot partition; GRUB got overridden after Windows installation; some unsupported Linux kernel parameters have been set in a GRUB configuration file and the system is not booting anymore but this can’t be fixed from a GRUB menu as it is not showing up, […]
Zip Without Compression – Windows, Linux, MacOS
If you want to store a big folder as a single file, so it could be easily uploaded somewhere or shared with someone, you can create a simple zip archive from it. To avoid wasting a time and resources on compression and decompression, this zip archive can be created without compression. In this short note […]
Save All the Terminal Output to a File – Linux
In Linux terminal you can save not only an output of the individual commands using different types of redirections, but you can also capture and save to a file all the commands executed during a session and their output. All the commands executed in a Linux terminal and their output can be saved to a […]
Mount LVM Partition in Rescue Mode
Usually, for the system repair purposes, such as troubleshooting of the boot-related issues (e.g. GRUB rescue) or for data recovery, it is required to know how to mount an LVM partition in a live Linux session (when a system boots from a live CD/DVD or from a special rescue USB stick). In this article i […]