ShellHacks
Command-Line Tips and Tricks

linux

  • Blog

Linux Mint: Find Ubuntu Version it is Based On

Posted on December 19, 2021December 17, 2021by admin

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 […]

Read More
1 Comment
  • Blog

Split Screen in Linux Mint (MATE)

Posted on December 17, 2021January 16, 2022by admin

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 […]

Read More
No comments yet
  • Blog

How to Check How Much RAM Do I Have

Posted on December 14, 2021December 15, 2021by admin

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 […]

Read More
No comments yet
  • Blog

Linux: Open File Manager From Terminal

Posted on December 6, 2021December 8, 2021by admin

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 […]

Read More
No comments yet
  • Blog

Increase Image Size in KB (Without Changing Pixels)

Posted on December 5, 2021December 7, 2021by admin

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 […]

Read More
1 Comment
  • Blog

Sudo as Another User

Posted on December 4, 2021by admin

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.

Read More
No comments yet
  • Blog

Reinstall GRUB from Live USB (UEFI + LVM)

Posted on November 25, 2021December 8, 2021by admin

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, […]

Read More
No comments yet
  • Blog

Zip Without Compression – Windows, Linux, MacOS

Posted on November 23, 2021by admin

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 […]

Read More
No comments yet
  • Blog

Save All the Terminal Output to a File – Linux

Posted on November 23, 2021by admin

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 […]

Read More
No comments yet
  • Blog

Mount LVM Partition in Rescue Mode

Posted on November 22, 2021November 25, 2021by admin

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 […]

Read More
No comments yet

Posts navigation

Older posts
Newer posts

Online Tools

  • Base64 Decode
  • Base64 Encode

Tags

access-control anonymity ansible apache archive arduino artifactory bash boot cmd command-line curl dns docker encryption git gitlab helm java jenkins kubernetes linux macos mail mongodb mysql network openssl pdf php powershell prometheus python raspberry pi ssh sublime text systemd telegram telnet text-processing tor tsm windows wordpress yum
  • Telegram
  • Twitter
  • RSS
Privacy
Copyright © 2011-2022 | www.ShellHacks.com