Skip to content

Magenaut

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

Unix & Linux

find exclude directory

August 10, 2022 by Magenaut

I am on Linux (Ubuntu) and I am would like to exclude certain directories (like .hg) when I am doing a

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

Is using rsync while source is being updated safe?

August 10, 2022 by Magenaut

Is it safe to use rsync when the source filesystem is mounted and writeable, assuming that it may very well be modified while rsync is running? I presume that under race conditions I may not get the latest modifications, but is there any risk of corruption?

Categories Q&A, Unix & Linux Tags backup, concurrency, rsync Leave a comment

Given a git commit hash, how to find out which kernel release contains it?

August 10, 2022 by Magenaut

Assume I have some issue that was fixed by a recent patch to the official Linux git repository. I have a work around, but I’d like to undo it when a release happens that contains my the fix. I know the exact git commit hash, e.g. f3a1ef9cee4812e2d08c855eb373f0d83433e34c.

Categories Q&A, Unix & Linux Tags git, linux, linux-kernel, source Leave a comment

Large zone file for bind9 : ad-blocking

August 10, 2022 by Magenaut

I was successfully using a small (20,000 entries) zone file with bind9 server, but today my data provider sent an update which caused the zone file to become 300,000+ entries large (30Mb+).

Categories Q&A, Unix & Linux Tags bind, configuration, dns Leave a comment

Replacing pattern after nth match is found on each line?

August 10, 2022 by Magenaut

The s command can be followed by zero or more of the following flags:

Categories Q&A, Unix & Linux Tags awk, sed, shell, shell-script Leave a comment

Common multiple SSH connections file handling issue

August 10, 2022 by Magenaut

often I have to download a file that isn’t directly accessable via the first SSH connection. For example I’m on a Windows machine and I want to access another machine that is only accessable from lan. That means that I must first connect to a intermediate machine and SSH to the next one.

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

Is GNOME Terminal a type of non-login shell?

August 10, 2022 by Magenaut

According to the answer to What are login and non-login shells? on Ask Ubuntu, GNOME Terminal is a type of non-login shell.
As pointed out in the excellent book, A Practical Guide to Fedora and Red Hat Enterprise Linux, 6th Edition:

Categories Q&A, Unix & Linux Tags bash, environment-variables, login, shell Leave a comment

Giving group permissions to other user’s files

August 10, 2022 by Magenaut

I’m using Debian 7 and have created a new user (website) with an htdocs directory like this:

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

Why does a gunzip to dd pipeline slow down at the end?

August 10, 2022 by Magenaut

my command:

Categories Q&A, Unix & Linux Tags dd, gzip, iotop, linux, sd-card Leave a comment

bash 4.3 “multiple dot” commands fails silently on Fedora

August 10, 2022 by Magenaut

I just noted this on bash 4.3; exact version number is 4.3.42(1)-release (x86-redhat-linux-gnu).

Categories Q&A, Unix & Linux Tags bash, fedora Leave a comment
Older posts
Newer posts
← Previous Page1 … Page111 Page112 Page113 … 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