The Linux find command can be used for searching files and directories and performing subsequent operations on them. If you use the find command to recursively search for some files and then pipe the result to the grep command, by doing this you will actually parse the file paths/names but not their contents. This short […]
linux
“Show Desktop” Shortcut in Linux Mint (MATE)
In Windows, there is a keyboard shortcut ⊞ Win + D used to minimize all the currently open windows and show the desktop. To hide all windows and show the desktop in MATE edition of the Linux Mint there is a Ctrl + Alt + D shortcut.
QR Code Generator – Windows, Linux, MacOS
A QR code generator is an application which creates and stores different types of data in a QR code image file. A qrencode is a free command line tool for encoding string data in the QR code and saving it as a PNG or an EPS image. In this note i will show how to […]
Redirect `STDERR` to `STDOUT` 2>&1
Any command executed in Bash or any other Linux shell, has one input stream (stdin) and two kinds of output streams: standard output (stdout) and standard error (stderr). Each of these streams is represented by a numeric file descriptor: 0 – stdin, the standard input stream 1 – stdout, the standard output stream 2 – […]
Wget: Keep Original Filename
If you try to download a file over HTTP/HTTPS provided by a dynamic link or through a chain of 301, 302 redirects, wget would normally save the file using a part of the URL that you’re using. At the same time, if you use this URL to download the file in a browser, it will […]
Linux: Set Password to NEVER Expire
If your Linux user’s password is about to expire, you may see a message as follows on your login screen: Warning: Your password will expire in X days In this note i will show how to disable the Linux user’s password expiration from the command line using the chage command.
Install Telegram on Ubuntu/Linux Mint
Telegram Desktop can be installed on Ubuntu/Linux Mint from the Ubuntu’s APT repository, but this way you will get a quite outdated version of the app. Alternatively, you can install the latest version of the Telegram Desktop app using a Snap package manager, but it is disable in Linux Mint and there are some reasons […]
Linux Mint: Find Ubuntu Version it is Based On
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 […]
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 […]