Skip to content

Magenaut

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

Unix & Linux

What is /lib64/ld-linux-x86-64.so.2 and why can it be used to execute file?

August 10, 2022 by Magenaut

Recently, I have learned a trick that if a file lacks executable permissions, we can run that file by using /lib64/ld-linux-x86-64.so.2.

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

Avoiding “BASH-isms” in shell scripts

August 10, 2022 by Magenaut

Does there exist a tool similar to Perl::Critic that will inspect your shell scripts and point out flaws, portability issues, uses of non-standard programs without fallbacks, depreciated program uses, etc?

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

Is there a Bash file that will be always sourced in interactive mode no matter if it is login or non-login?

August 10, 2022 by Magenaut

As far as I know, the interactive shells may be login or not login, and the start up files for them are different.

Categories Q&A, Unix & Linux Tags bash, bashrc, login Leave a comment

bash: whitespace-safe procedural use of find into select

August 10, 2022 by Magenaut

Given these file names:

Categories Q&A, Unix & Linux Tags bash, select, text-processing, whitespace Leave a comment

Set environment variables for gnome on wayland and bash on virtual terminals (or ssh)

August 10, 2022 by Magenaut

Gnome 3.22 uses wayland by default. Gnome on wayland does not read ~/.profile (or ~/.bash_profile or /etc/profile). See https://bugzilla.gnome.org/show_bug.cgi?id=736660.

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

How do I replace the last occurrence of a character in a string using sed?

August 10, 2022 by Magenaut

How do I replace only the last occurrence of “-” in a string with a space using sed?

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

How do I recover from the Heartbleed bug in OpenSSL?

August 10, 2022 by Magenaut

CVE-2014-0160 a.k.a. Heartbleed is a vulnerability in OpenSSL. It looks scary.

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

Is the shell ksh93 dead?

August 10, 2022 by Magenaut

On 2013-01-10 Glenn Fowler posted this to the ast-users mailing list:

Categories Q&A, Unix & Linux Tags development, history, ksh Leave a comment

How to control systemd service using screen?

August 10, 2022 by Magenaut

I’ve set up a systemd service to run my Minecraft server. Now, I need it to repeat the start script when the server crashes.
Here’s my code so far:

Categories Q&A, Unix & Linux Tags bash, gnu-screen Leave a comment

What is raw keyboard mode?

August 10, 2022 by Magenaut

In the magic sysrq key combinations, there is the combination alt+sysrq+r which, according to wikipedia, does the following:

Categories Q&A, Unix & Linux Tags console, keyboard, linux, magic-sysrq Leave a comment
Older posts
Newer posts
← Previous Page1 … Page95 Page96 Page97 … 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