Skip to content

Magenaut

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

Unix & Linux

Is it safe to take the drive image of the current working drive?

August 6, 2022 by Magenaut

I have to backup my hard disk. I want to use dd and put the image on an external hdd.

Categories Q&A, Unix & Linux Tags backup, dd, disk-image Leave a comment

My basic assumption about system “iowait” does not hold

August 6, 2022 by Magenaut

My basic assumption is that when a process’ only limiting factors are disk and CPU, then total system “iowait” + CPU usage should equal at least 100% of one logical CPU. (In other cases this will not hold. E.g. when downloading a file using wget, the network is often the limiting factor).

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

How do I encrypt git on my server?

August 6, 2022 by Magenaut

Heres the closest I’ve gotten: I installed gitolite in the /Private folder using ecryptfs-utils (sudo apt-get install ecryptfs-utils adduser git ecryptfs-setup-private then the rest was configuring gitolite using a root install).

Categories Q&A, Unix & Linux Tags git, security Leave a comment

Cloning a bootable USB stick to a different-sized stick

August 6, 2022 by Magenaut

HARDWARE: 2 8GB USB flash drives
DISTRO: Mint 9 Xfce persistent Live Cd

Categories Q&A, Unix & Linux Tags bootable, cloning, live-usb Leave a comment

Is there a difference of stability between Linux distros?

August 6, 2022 by Magenaut

I’ve using Debian since 2010 for some home purposes and it has been stable. Is Debian still a good option if I need a server for heavy network, cpu, disk and memory usage?

Categories Q&A, Unix & Linux Tags centos, debian, rhel, suse Leave a comment

Invert boolean variable

August 6, 2022 by Magenaut

I want to try simple script

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

How to prevent random console output from breaking the terminal?

August 6, 2022 by Magenaut

There are many questions on SE that show how to recover from terminal broken by cat /dev/urandom. For those that are unfamiliar with this issue – here what it is about:

Categories Q&A, Unix & Linux Tags escape-characters, output, terminal Leave a comment

Convert linux sysuptime to well format date

August 6, 2022 by Magenaut

I want to display /proc/uptime in well format as:

Categories Q&A, Unix & Linux Tags shell, time, uptime Leave a comment

disable apt-listchanges (and other interactive stuff) during upgrades (reliably)

August 6, 2022 by Magenaut

I have to admit, I really really hate apt-listchanges. If I’m going to do a huge dist-upgrade, I want to just leave the computer there for a few hours. The asker of this serverfault question had a similar goal in mind, bu after implementing all of the suggestions in that post, I was still hit by apt-listchanges.

Categories Q&A, Unix & Linux Tags apt, upgrade Leave a comment

Iptables: matching outgoing traffic with conntrack and owner. Works with strange drops

August 6, 2022 by Magenaut

In my iptables script I have been experimenting with writing as finely grained rules as possible. I limit which users are allowed to use which services, partly for security and partly as a learning exercise.

Categories Q&A, Unix & Linux Tags iptables, linux, security Leave a comment
Older posts
Newer posts
← Previous Page1 … Page369 Page370 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