Skip to content

Magenaut

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

Unix & Linux

Changing parent directory (../) with symlinks

August 7, 2022 by Magenaut

I have a symlink

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

bluetooth mouse disconnects

August 7, 2022 by Magenaut

I’m using Debian Jessie (testing). I have a bluetooth mouse (Microsoft Sculpt Comfort) and I can pair it and use it ok, but after some time of inactivity (around 10 minutes) it stops working, I have to manually touch the set discoverable button on the mouse and re-pair it on the command line.

Categories Q&A, Unix & Linux Tags bluetooth, debian, mouse, usb Leave a comment

Is the file table in the filesystem or in memory?

August 7, 2022 by Magenaut

In the context of operating system control tables, does the term “file tables” refer to a data structure that is part of the filesystem, or that is in main memory (and in which case I assume it would only have references to open files)? My textbook1 says,

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

Can I “drag” a file into a window without a file manager?

August 7, 2022 by Magenaut

(I’m on Arch Linux, using i3 as my wm and xterm as my terminal emulator, though I don’t know if any of that is relevant.)

Categories Q&A, Unix & Linux Tags drag-and-drop, file-manager, x11 Leave a comment

Linux Mint 18 suspend issue

August 7, 2022 by Magenaut

After fresh installation of Linux Mint 18 64-bit, when I try to suspend screen goes black and system does not suspend (and power led stays on).

Categories Q&A, Unix & Linux Tags linux-mint, suspend Leave a comment

How to upgrade shared library without crash?

August 7, 2022 by Magenaut

Here it says that you can rewrite an executable file and the process will run just fine – it will be re-read when a process restarts.

Categories Q&A, Unix & Linux Tags dynamic-linking, files, filesystems, upgrade Leave a comment

What can make passing init=/path/to/program to the kernel not start program as init?

August 7, 2022 by Magenaut

I’m trying to debug an init script on a Linux system; I’m trying to pass init=/bin/sh to the kernel to make it start sh without starting init so I can run through the init sequence manually.

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

How to interpret badblocks output

August 7, 2022 by Magenaut

The man pages for badblocks do not seem to mention what the three numbers in the output mean in particular:

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

Bash regex capture group

August 7, 2022 by Magenaut

I’m trying to match multiple alphanumeric values (this number could vary) from a string and save them to a bash capture group array. However, I’m only getting the first match:

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

How do I remove certain lines (using line numbers) in a file?

August 7, 2022 by Magenaut

There are specific lines that I want to remove from a file. Let’s say it’s line 20-37 and then line 45. How would I do that without specifying the content of those lines?

Categories Q&A, Unix & Linux Tags text-processing Leave a comment
Older posts
Newer posts
← Previous Page1 … Page307 Page308 Page309 … 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