Skip to content

Magenaut

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

Unix & Linux

Reinstall man pages & fix man

August 8, 2022 by Magenaut

So in a recent fit of folly, I followed the instructions in this answer on the Ubuntu SE page since I wanted to remove most of the documentation. However, I didn’t read the commands well enough and missed that that those would also remove the man pages, which I didn’t want.

Categories Q&A, Unix & Linux Tags apt, debian, documentation, man Leave a comment

Why size reporting for directories is different than other files?

August 8, 2022 by Magenaut

I was wondering why an empty directory occupied 4096 bytes of space and I have seen this question. It is stated that space is allocated in blocks and hence, the size of a new directory is 4096 bytes.

Categories Q&A, Unix & Linux Tags files, filesystems, ls Leave a comment

extract Embedded initramfs

August 8, 2022 by Magenaut

I have a kernel in which one initramfs is embedded.
I want to extract it.

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

Piping search term (not filename) to grep

August 8, 2022 by Magenaut

I want to pick out certain lines containing a given number from a file.
The file I want to search is called os_clusters/piRNA_clusters.bed.

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

View shell function’s current definition

August 8, 2022 by Magenaut

So I am editing bashrc constantly, and I have a terminal open with a working function definition, although bashrc has been updated with a wrong function definition. (Because the definition do not change until I source the updated bashrc) How can I look up the working function definition in this case? For example, if I type:

Categories Q&A, Unix & Linux Tags bashrc, function Leave a comment

Trouble with running cd with sudo as another user

August 8, 2022 by Magenaut

I want to run a command on a shell on behalf of another user. The command is as follows:

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

Command line argument in awk

August 8, 2022 by Magenaut

I just want to implement if condition in awk. I created one file name : “simple_if” as below.

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

Emulate horizontal scrolling with Shift key

August 8, 2022 by Magenaut

I want to emulate horizontal scrolling when I use my (vertical) scroll wheel and pressing Shift.

Categories Q&A, Unix & Linux Tags mouse, xorg Leave a comment

How can I force unzip / zip not to create a subdirectory when I extract it?

August 8, 2022 by Magenaut

Depending on how a zip file is created, sometimes it will extract all of the files directly, and sometimes it will extract the files into a subdirectory.

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

Pop OS: systemd-boot can’t detect Windows

August 8, 2022 by Magenaut

I’ve followed the classic procedure to install Windows and Linux in dual boot. First I installed Windows in UEFI mode, then I use a bootable PopOS key to resize the main Windows partition; I created a Linux partition as well as a 500MB /boot/efi partition in the remaining space.

Categories Q&A, Unix & Linux Tags dual-boot, pop-os, systemd-boot, uefi, windows Leave a comment
Older posts
Newer posts
← Previous Page1 … Page200 Page201 Page202 … 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