Skip to content

Magenaut

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

Unix & Linux

Why is I/O uninterruptible?

August 8, 2022 by Magenaut

What is the rationale behind making I/O uninterruptible? What would be the negative consequences if a process handling I/O were allowed to handle a signal?

Categories Q&A, Unix & Linux Tags io, process Leave a comment

Why doesn’t grep using pipe work here?

August 8, 2022 by Magenaut

I have the following command:

Categories Q&A, Unix & Linux Tags grep, pipe, shell Leave a comment

How to determine callee function name in a script

August 8, 2022 by Magenaut

To make it short, doing something like:

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

How to escape a single quote?

August 8, 2022 by Magenaut

end the single-quoted string, add escaped (either by backslash or double quotes) single quote, and immediately start the following part of your string:

Categories Q&A, Unix & Linux Tags escape-characters, quoting, scripting, sed, shell Leave a comment

Why is $ the default symbol for a user shell and # the default symbol for a root shell?

August 8, 2022 by Magenaut

Operating a standard bash shell on a server, the PS1 prompt defaults to ending in a $ for non-root users, and # for root.

Categories Q&A, Unix & Linux Tags history, prompt, shell Leave a comment

Why isn’t there any shell command to create files?

August 8, 2022 by Magenaut

Attention please: I am not asking how to make a file from the command line! I have been using touch for making files for years without paying attention that its main purpose is something else. If one wants to create a file from command line there are so many possibilities: touch foo.bar > foo.bar cat … Read more

Categories Q&A, Unix & Linux Tags bash, command-line, files, shell Leave a comment

Why is the ‘if [ $1=”1″ ]’ branch always selected even if $1 is not 1?

August 8, 2022 by Magenaut

I have a shell script named ‘teleport.sh’ like this:

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

ss – linux socket statistics utility output format

August 8, 2022 by Magenaut

When using ss with -p option, user/pid/fd column jumps underneath the particular line. For instance this is it what I’m actually seeing:

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

What is the difference between JAVA_HOME and update-alternatives?

August 8, 2022 by Magenaut

I have been trying to figure out the best way to run OpenJDK Java Runtime as default Java for my Fedora box and use Oracle JDK 6 for Android development namely for running Android SDK Manager, Android Studio and Eclipse from Android Bundle.

Categories Q&A, Unix & Linux Tags alternatives, java Leave a comment

Is there a way to use curl interactively? Or is there an interactive curl/wget shell?

August 8, 2022 by Magenaut

Imagine something like this:

Categories Q&A, Unix & Linux Tags curl, wget Leave a comment
Older posts
Newer posts
← Previous Page1 … Page190 Page191 Page192 … 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