ShellHacks
Command-Line Tips and Tricks

linux

  • 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
  • Blog

Linux Rescue USB – Data Recovery & System Repair

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

Rescue and recovery disks are used for repairing a system and data after a crash on Linux and Windows devices. They are especially useful for troubleshooting of the boot-related issues and for data recovery. In this note i will show how to create a bootable rescue USB stick with a SystemRescue (also known as a […]

Read More
1 Comment
  • Blog

Network Printer is Printing Gibberish – Ubuntu/Linux

Posted on November 17, 2021November 17, 2021by admin

If your network printer is printing gibberish and random characters that is a common driver-related issue. I had this problem on Ubuntu and Linux Mint with my Samsung M2070 printer connected over Wi-Fi network. When I tried to print some single-page document, the printer went crazy and printed out a series of strange random symbols […]

Read More
1 Comment
  • Blog

Check BIOS Version in Ubuntu Linux – Command

Posted on November 13, 2021by admin

BIOS is a firmware interface between a computer’s hardware and the operating system and like any software, it can be updated. Knowing the BIOS version can tell you if you have the most up-to-date version of the BIOS or it has to be updated. This note shows how to check the BIOS version in Ubuntu […]

Read More
1 Comment
  • Blog

‘GRUB_TIMEOUT’ Change – Not Working [SOLVED]

Posted on November 12, 2021November 12, 2021by admin

If you have tried to change a timeout in GRUB by setting the GRUB_TIMEOUT but this doesn’t work and you still see the 30 second timeout, this may be related to the GRUB’s “recordfail” feature. If the recordfail variable is being set to true, i.e. there was a failed boot attempt (or you use LVM/UEFI […]

Read More
4 Comments
  • Blog

Signing Failed: Agent Refused Operation [SOLVED]

Posted on October 18, 2021February 19, 2022by admin

While attempting to connect to some server over SSH, you may get the error as follows: sign_and_send_pubkey: signing failed for RSA “/home/<username>/.ssh/id_rsa” from agent: agent refused operation The “agent refused operation” error is usually caused by too open permissions on a private key file. In this short note i am showing how to fix this […]

Read More
2 Comments
  • Blog

Install Arduino IDE on Ubuntu Linux

Posted on October 7, 2021October 8, 2021by admin

Even though an Arduino IDE can be easily installed on Ubuntu-like Linux system using the simple apt install arduino command, the version you will can get this way will be quite old – without the latest features and complicity in getting help on the Internet. In this note i will show the recommended way of […]

Read More
No comments yet
  • Blog

Ctrl+Shift+Key Not Working – Ubuntu, Linux Mint

Posted on September 10, 2021December 16, 2021by admin

If you select the Ctrl + Shift combination to switch a keyboard layout in Ubuntu or Linux Mint, any other hotkeys with Ctrl + Shift + <Key> may stop working. This is a known bug in Xorg that can be fixed by applying this patch. This is a short note about how to fix the […]

Read More
No comments yet
  • Blog

BusyBox (initramfs): Ubuntu Boot Problem Fix

Posted on September 10, 2021by admin

The “initramfs boot problem” on Ubuntu or Linux Mint is a situation when a computer does not boot up properly and instead of going straight to the login screen, drops you to the BusyBox shell with the initramfs command-line prompt. This error usually occurs when the partition containing the operating system got corrupted. Luckily this […]

Read More
16 Comments

Posts navigation

Older posts
Newer posts

Subscribe

  • Telegram
  • Twitter
  • RSS

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 jenkins kubernetes linux macos mail mikrotik 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-2023 | www.ShellHacks.com