Skip to content

Magenaut

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

Unix & Linux

Preventing tar from using too much CPU and disk (old laptop crashes if 100%)

August 9, 2022 by Magenaut

I want to backup 1 terabyte of data to an external disk.

Categories Q&A, Unix & Linux Tags limit, tar Leave a comment

tmux: shared session, one user in a pane, another in another pane, two different cursors

August 9, 2022 by Magenaut

I’ve decided to try tmux: have been reading the docs and googling around, trying to find a way to have two users sharing a session, each with a different cursor.

Categories Q&A, Unix & Linux Tags console, ssh, terminal, terminal-multiplexer, tmux Leave a comment

Efficient in-place header removing for large files using sed?

August 9, 2022 by Magenaut

The commands below may takes minutes depends on the file size. Is there any more effient method?

Categories Q&A, Unix & Linux Tags sed, text-processing Leave a comment

Why does a software package run just fine even when it is being upgraded?

August 9, 2022 by Magenaut

Say I am running a software, and then I run package manager to upgrade the software, I notice that Linux does not bring down the running process for package upgrade – it is still running fine. How does Linux do this?

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

Why does the ‘bin’ user need a login shell?

August 9, 2022 by Magenaut

During an audit of /var/log/auth.log on one of my public webservers, I found this:

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

How to recursively remove execute permissions from files without touching folders?

August 9, 2022 by Magenaut

I made a backup to an NTFS drive, and well, this backup really proved necessary. However, the NTFS drive messed up permissions. I’d like to restore them to normal w/o manually fixing each and every file.

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

How to check if any IP address is present in a file using shell scripting?

August 9, 2022 by Magenaut

I have a script that generates some output. I want to check that output for any IP address like

Categories Q&A, Unix & Linux Tags grep, ip, shell-script Leave a comment

Simple sed replacement of tabs mysteriously failing

August 9, 2022 by Magenaut

This ought to be really simple, but for some reason it is not working:

Categories Q&A, Unix & Linux Tags osx, regular-expression, sed Leave a comment

What is the proper way to manage multiple python versions?

August 9, 2022 by Magenaut

I have a machine with Python 2.6 installed as the default Python. Then, I installed Python 2.7, and manually created /usr/bin/python as a symlink to the new installation.

Categories Q&A, Unix & Linux Tags command-not-found, python, ubuntu Leave a comment

How to manipulate a CSV file with sed or awk?

August 9, 2022 by Magenaut

How can I do the following to a CSV file using sed or awk?

Categories Q&A, Unix & Linux Tags awk, csv, sed Leave a comment
Older posts
Newer posts
← Previous Page1 … Page164 Page165 Page166 … 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