Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

Unix & Linux

lvm devices under /dev/mapper missing

August 7, 2022 by Magenaut

I’m using Debian squeeze, and running LVM on top of software RAID 1.
I just accidentally just discovered that most of the links under /dev/mapper are missing,
though my system seems to be still functioning correctly.

Categories Q&A, Unix & Linux Tags debian, lvm, software-raid Leave a comment

Set volume from terminal

August 7, 2022 by Magenaut

Is it possible to set the audio volume using the terminal instead of clicking the speaker icon in the top bar?

Categories Q&A, Unix & Linux Tags audio, command-line, linux-mint Leave a comment

Is it possible to save as sudo from nano after you’ve forgotten to run as sudo?

August 7, 2022 by Magenaut

A lot of the time I edit a file with nano, try to save and get a permission error because I forgot to run it as sudo. Is there some quick way I can become sudo without having to re-open and re-edit the file?

Categories Q&A, Unix & Linux Tags command-line, nano, sudo Leave a comment

Recover cron jobs accidently removed with crontab -r

August 7, 2022 by Magenaut

I entered crontab -r instead of crontab -e and all my cron jobs have been removed.

Categories Q&A, Unix & Linux Tags cron, linux Leave a comment

Is USB-to-USB data transfer between two Linux OSes possible?

August 7, 2022 by Magenaut

I want to create a USB-to-USB data transfer system in Linux (preferably Ubuntu). For this I want to use no external hardware or switch (except this cable). It’s going to be like mounting a USB drive to a system, but in this scenario one of the Linux systems is going to be mounted on the other. How can I create this?

Categories Q&A, Unix & Linux Tags drivers, kernel, kernel-modules, usb Leave a comment

How can I delete everything until a pattern and everything after another pattern from a line?

August 7, 2022 by Magenaut

In the following file:

Categories Q&A, Unix & Linux Tags shell-script, text-processing Leave a comment

How can I either encrypt or render my shell script unreadable?

August 7, 2022 by Magenaut

How can I encrypt or scramble my shell script so that it’s unreadable to the naked eye? Either method would be acceptable, please provide specific steps.

Categories Q&A, Unix & Linux Tags shell-script Leave a comment

How do I create a directory in all subdirectories?

August 7, 2022 by Magenaut

Suppose I have a directory structure like this:

Categories Q&A, Unix & Linux Tags bash, directory, wildcards Leave a comment

Drawing a histogram from a bash command output

August 7, 2022 by Magenaut

I have the following output:

Categories Q&A, Unix & Linux Tags bash Leave a comment

Split a file into two

August 7, 2022 by Magenaut

I have a big file and need to split into two files. Suppose in the first file the 1000 lines should be selected and put into another file and delete those lines in the first file.

Categories Q&A, Unix & Linux Tags awk, csplit, split, text-processing Leave a comment
Older posts
Newer posts
← Previous Page1 … Page285 Page286 Page287 … Page371 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress