Skip to content

Magenaut

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

bash

debian : read order of bash session configuration files inconsistent

August 6, 2022 by Magenaut

The three files are read in this order?

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

Avoiding busy waiting in bash, without the sleep command

August 6, 2022 by Magenaut

I know I can wait on a condition to become true in bash by doing:

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

How variables inside braces are evaluated

August 6, 2022 by Magenaut

I’m new to shell scripting and I came across these expressions

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

.bashrc overwritten but still sourced — how can it be recovered?

August 6, 2022 by Magenaut

Usually when I find a command I want to alias, I echo it to my .bashrc like so:

Categories Q&A, Unix & Linux Tags bash, bashrc, data-recovery Leave a comment

Why does bash variable expansion retain quotes?

August 6, 2022 by Magenaut

> echo "hi" hi > VAR='echo "hi"' > $VAR "hi" Why is the output of the above commands different? A similar thing occurs with single quotes: > VAR="echo 'hi'" > $VAR > 'hi' Answers: Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the … Read more

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

How can I delete a file named “>”?

August 6, 2022 by Magenaut

I was running a Python script that malfunctioned and used sudo to create a file named >.

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

Batch delete exif info

August 6, 2022 by Magenaut

How can I recursively remove the EXIF info from several thousand JPG files?

Categories Q&A, Unix & Linux Tags bash, exif, image-manipulation, linux Leave a comment

Reading character by character with bash read

August 6, 2022 by Magenaut

I’ve been trying to use bash to read a file character by character.

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

How does ‘find -exec’ pass file names with spaces?

August 6, 2022 by Magenaut

If I have a directory containing some files whose names have spaces, e.g.

Categories Q&A, Unix & Linux Tags arguments, bash, find, quoting, shell Leave a comment

spawn – command not found!

August 6, 2022 by Magenaut

I am using Mac OS X 10.9.4, following is my script to copy files from local machine to different host

Categories Q&A, Unix & Linux Tags bash, expect, shell-script Leave a comment
Older posts
Newer posts
← Previous Page1 … Page60 Page61 Page62 … Page65 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