Skip to content

Magenaut

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

Unix & Linux

Format external hard drive to linux compatible file system

August 8, 2022 by Magenaut

How do I format my external hard drive to a very Linux compatible file system?

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

Restrict file access to append only

August 8, 2022 by Magenaut

I have a directory with log files and I’m putting
logs from script launched by users into them. Logging with syslog doesn’t seem
possible in this case. (non-daemon rsync)

Categories Q&A, Unix & Linux Tags linux, logs, permissions, rsync, xfs Leave a comment

Debian + USB3 HDD + UAS: I/O errors

August 8, 2022 by Magenaut

I’m running rsync to backup a remote machine to a USB hard drive on an ARM SBC and sometimes rsync just stops with “read error from input device (I/O error)”. I believe the issue is related to UAS + USB 3.0 + rsync causing high I/O load, because of uas_eh_device_reset_handler on /var/log/messages:

Categories Q&A, Unix & Linux Tags debian, modprobe, usb-drive Leave a comment

Can’t get Wireshark to run as user on CentOS

August 8, 2022 by Magenaut

It’s the first time I’m installing and configuring Wireshark in a rpm-based distro. In the past I’ve installed it properly on Ubuntu, Mint or Debian.

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

How to prevent users from deleting a directory?

August 8, 2022 by Magenaut

I tried “chattr +i DIRNAME”, it’s great, but I cannot create files in the DIR after chattr. What else are there to prevent users from deleting a Directory?

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

xdg-open opens a different application to the one specified by xdg-mime query

August 8, 2022 by Magenaut

I run Debian Jessie without a desktop environment (I use the tiling window manager i3) and like to use xdg-open to quickly open files using a preferred application. I have an ongoing problem setting the preferred app for PDF files though. This is my problem in a nutshell:

Categories Q&A, Unix & Linux Tags debian, xdg-open Leave a comment

Problem in secure copying (scp) filenames with spaces

August 8, 2022 by Magenaut

I am trying to copy files using secure copy(scp). I am trying to execute the following command but I get error due to the space in the absolute path of the location of the directory.

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

Is it possible to find out which files are setting/adding to environment variables, and their order of precedence?

August 8, 2022 by Magenaut

Some of my environment variables ($PATH, $MANPATH and friends) are partially set up in different source files.

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

How to invoke a shell built-in explicitly?

August 8, 2022 by Magenaut

I want to customize the functionality of cd command as per my needs.

Categories Q&A, Unix & Linux Tags bash, shell-builtin, shell-script Leave a comment

Is it possible to “protect” an IFS character from field splitting?

August 8, 2022 by Magenaut

In a POSIX sh, or in the Bourne shell (as in Solaris 10’s /bin/sh), is it possible to have something like:

Categories Q&A, Unix & Linux Tags bourne-shell, posix, shell Leave a comment
Older posts
Newer posts
← Previous Page1 … Page206 Page207 Page208 … 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