Skip to content

Magenaut

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

Unix & Linux

generic methodology to debug ordering cycles in systemd

August 10, 2022 by Magenaut

I am aware of following thread and supposedly an answer to it. Except an answer is not an answer in generic sense. It tells what the problem was in one particular case, but not in general.

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

How can I communicate with a Unix domain socket via the shell on Debian Squeeze?

August 10, 2022 by Magenaut

I’m running a Debian Squeeze web server. I’ve installed memcached on it, and configured memcached to listen on a Unix domain socket (at /tmp/memcached.sock), as it only needs to receive messages from the website, which lives on the same server.

Categories Q&A, Unix & Linux Tags debian, shell, socket, telnet Leave a comment

Clone whole partition or hard drive to a sparse file

August 10, 2022 by Magenaut

I like to clone a whole partition or a whole hard drive onto a larger external disk but like to create a sparse file. I often use dd for cloning, but it doesn’t support sparse files. As a workaround I used something like:

Categories Q&A, Unix & Linux Tags cloning, dd, sparse-files Leave a comment

How can I find the package that contains a program in Debian?

August 10, 2022 by Magenaut

I am using a minimal Debian system which does not have the top program installed. I tried to install top with sudo apt-get install top, but top is not a package name. It seems that top is a part of some other package. How can I find out which package I should install to get … Read more

Categories Q&A, Unix & Linux Tags apt, debian, package-management Leave a comment

How can I use DD to migrate data from an old drive to a new drive?

August 10, 2022 by Magenaut

I am upgrading the internal SATA hard drive on my laptop from a 40G drive to a 160G drive. I have a Linux/Ubuntu desktop which has a SATA card. I would actually like to do the same thing for a couple CentOS & FreeBSD boxes at work, and it seems this would have the same solution.

Categories Q&A, Unix & Linux Tags cloning, freebsd, linux, partition, storage Leave a comment

What is a tainted Linux kernel?

August 10, 2022 by Magenaut

Under certain conditions, the Linux kernel may become tainted. For example, loading a proprietary video driver into the kernel taints the kernel. This condition may be visible in system logs, kernel error messages (oops and panics), and through tools such as lsmod, and remains until the system is rebooted.

Categories Q&A, Unix & Linux Tags kernel-modules, linux, linux-kernel, proprietary-drivers, troubleshooting Leave a comment

Tell SSH to use a graphical prompt for key passphrase

August 10, 2022 by Magenaut

How can I force SSH to request passphrases using a graphical prompt (GTK, for example) instead of the standard one that uses the terminal?

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

How to restrict a user to one folder and not allow them to move out his folder

August 10, 2022 by Magenaut

I have ubuntu server on digitalocean and I want to give someone a folder for their domain on my server, my problem is, I don’t want that user to see my folders or files or to be able to move out their folder.

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

How can I add man page entries for my own power tools?

August 10, 2022 by Magenaut

I have no idea about how I can make my home-grown specialist scripts (written mostly in Bash and Perl) available through the man pages.

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

Why doesn’t “sudo su” in a shell script run the rest of the script as root?

August 10, 2022 by Magenaut

A sample script can be as below:

Categories Q&A, Unix & Linux Tags root, shell, shell-script, su, sudo Leave a comment
Older posts
Newer posts
← Previous Page1 … Page73 Page74 Page75 … 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