Skip to content

Magenaut

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

Unix & Linux

Is there any way to undo a bash history modification?

August 8, 2022 by Magenaut

By pressing up, I can go through previously entered commands. I’ve noticed though that if I modify one of them, that alters the history. For instance, if I type:

Categories Q&A, Unix & Linux Tags bash, command-history Leave a comment

sshd failed due to network not yet available

August 8, 2022 by Magenaut

I’m running Arch Linux. After I reboot, the sshd.service fails to start due to the network not yet being up. I have to manually run:

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

Linux – IPC with init

August 8, 2022 by Magenaut

The init process exists as an ancestor of all of processes on a linux system. Does this process have any kind of IPC entry point ? Do other processes ever do IPC with init for any reason ?

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

Remote for-loop over SSH

August 8, 2022 by Magenaut

I have the following in a script

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

Why xargs can’t work with tail -f?

August 8, 2022 by Magenaut

I want tail -f /var/log/syslog | grep it with pattern “arpwatch” and send every line to myself via jabber: xmpp [email protected] using xargs

Categories Q&A, Unix & Linux Tags tail, xargs Leave a comment

Is there a way to know when a systemd timer will run next?

August 8, 2022 by Magenaut

I am testing a systemd timer and trying to override its default timeout, but without success. I’m wondering whether there is a way to ask systemd to tell us when the service is going to be run next.

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

Full text search for man pages

August 8, 2022 by Magenaut

apropos works great for searching manual page names and descriptions. Is there a similar command for searching the entire contents of the manual pages?

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

How do I enable auto-login in Mint 18?

August 8, 2022 by Magenaut

Mint 18.2 64b Cinnamon 3.4.3 This is running in a VM on my machine so I’m not worried about login security. I’ve been looking around on the Mint forums and only found a lot of threads about troubleshooting problems with autologin. The setting is not in the Login Window settings screen. The setting is not … Read more

Categories Q&A, Unix & Linux Tags linux-mint, login, users Leave a comment

What is the right way to consistently mangle bash terminal?

August 8, 2022 by Magenaut

I’m on OSX 10.11.1 and occasionally my bash terminal gets mangled. It often happens when I accidentally cat a binary file. The result can be seen on the image below. The output becomes weird, and I can’t type ascii characters anymore.

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

How is the C library able to access environment variables?

August 8, 2022 by Magenaut

How do functions like getenv(3) access the environment when my program doesn’t have any references to the environment?

Categories Q&A, Unix & Linux Tags c#, environment-variables Leave a comment
Older posts
Newer posts
← Previous Page1 … Page210 Page211 Page212 … 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