Skip to content

Magenaut

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

Unix & Linux

Special File that causes I/O error

August 7, 2022 by Magenaut

I want to automatically test if a piece of software reacts as expected if an essential SQLite DB file fails to be read (causing an I/O error). Exactly that happened some days ago at a client. We manually fixed it but now I want to create automatic code to fix it and need access to a broken file to test that.

Categories Q&A, Unix & Linux Tags devices, io, linux, testing Leave a comment

How to cleanup SSH reverse tunnel socket after connection closed?

August 7, 2022 by Magenaut

If I run something like this:

Categories Q&A, Unix & Linux Tags openssh, ssh, ssh-tunneling, sshd Leave a comment

Is there a way to install and remove packages in a single yum command?

August 7, 2022 by Magenaut

Is there a way to add and remove packages at the same time with a single yum command? For example, installing postfix and removing sendmail without running two separate commands/transactions.

Categories Q&A, Unix & Linux Tags fedora, rhel, yum Leave a comment

Connect with D-Bus in a network namespace

August 7, 2022 by Magenaut

I am using network namespaces such that I can capture network traffic of a single process. The namespace is connected through the “host” via a veth pair and has network connectivity through NAT. So far this works for IP traffic and named Unix domain sockets.

Categories Q&A, Unix & Linux Tags d-bus, network-namespaces, unix-sockets Leave a comment

remove blank lines in awk display

August 7, 2022 by Magenaut

I was trying to figure out a solution for this question. I wanted to use awk for the solution.

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

Your kernel headers for kernel 3.10.0-229.el7.x86_64 cannot be found

August 7, 2022 by Magenaut

When I type the command service vboxdrv setup in my CentOS 7 terminal, I get the following error:

Categories Q&A, Unix & Linux Tags centos, kernel, linux-kernel, terminal, virtualbox Leave a comment

How can I run a specific line as a command in a text file?

August 7, 2022 by Magenaut

Sometimes I need to exec a single command which is in a shell script.

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

file descriptor vs. file name

August 7, 2022 by Magenaut

I was wondering what differences and relations are between file descriptors and file names. Are they all used to access files? If yes, in the same way?

Categories Q&A, Unix & Linux Tags file-descriptors, filenames Leave a comment

Expand KDE activities concept to the shell

August 7, 2022 by Magenaut

Sometimes, I use KDE, and one of the things that I like the most in KDE 4 is the activity concept. At work, it is very useful because I often work on several different projects during one day. Switching to another activity enables me to change the widgets, so that I can have access to folders related to the current project, for instance.

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

How do I route traffic through specific interface for a specific process

August 7, 2022 by Magenaut

I have a script that runs from cron every 15 minutes. The script is meant to ping my DNS server to update a dynamically changing IP. I want this script to ping through the wlan interface and not the eth0.

Categories Q&A, Unix & Linux Tags route, routing Leave a comment
Older posts
Newer posts
← Previous Page1 … Page328 Page329 Page330 … 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