Skip to content

Magenaut

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

Unix & Linux

Why the “-” in the “#! /bin/sh -” shebang?

August 10, 2022 by Magenaut

#! /bin/sh – Is (or at least was) often the recommended shebang to have a script interpreted by /bin/sh. Why not just #! /bin/sh or #!/bin/sh? What’s that – for? Answers: Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So … Read more

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

What are the minimum root filesystem applications that are required to fully boot linux?

August 10, 2022 by Magenaut

It’s a question about user space applications, but hear me out!

Categories Q&A, Unix & Linux Tags architecture, embedded, linux, root-filesystem, startup Leave a comment

reason for exec in wrapper scripts

August 10, 2022 by Magenaut

I have seen wrapper script examples which in a nutshell are following:

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

What is the icon between settings and lock-screen in Gnome3?

August 10, 2022 by Magenaut

I can’t figure out what the icon between my settings and lock-screen icon in Gnome3 is supposed to do.

Categories Q&A, Unix & Linux Tags gnome-shell, gnome3, gui Leave a comment

Keep NumLock always on

August 10, 2022 by Magenaut

I have a standard keyboard with numerical keys on the right side (I guess it’s called 104-key keyboard). I want to use the numerical keys only as numerical keys. That means I don’t want the NumLock to switch on and off the numerical keys.

Categories Q&A, Unix & Linux Tags keyboard, numlock Leave a comment

Make a computer act as a virtual USB device for other equipments

August 10, 2022 by Magenaut

Some applications simulate a virtual USB or CD Rom drive as if a USB drive is attached to the computer.

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

How do I add X days to date and get new date?

August 10, 2022 by Magenaut

I have Linux ( RH 5.3) machine

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

Is there an easy way to log all commands executed, including command line arguments?

August 10, 2022 by Magenaut

I am trying to find how to log a specific instantiation of rrdtool to see whether the path it is receiving is incorrect.

Categories Q&A, Unix & Linux Tags arguments, audit, logs, proc Leave a comment

How to safely insert USB stick/device to Linux computer?

August 10, 2022 by Magenaut

When inserting a USB stick or device to computer, there is always the risk that the device is malicious, will act as an HID and potentially do some damage on the computer. How can I prevent this problem? Is disabling HID on specific USB port sufficient? How do I do that?

Categories Q&A, Unix & Linux Tags hid, security, usb, usb-device Leave a comment

bash multi line command with comments after the continuation character

August 10, 2022 by Magenaut

Consider

Categories Q&A, Unix & Linux Tags bash, shell Leave a comment
Older posts
Newer posts
← Previous Page1 … Page90 Page91 Page92 … 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