Skip to content

Magenaut

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

read

How to expand variables inside read?

August 11, 2022 by Magenaut

In a remote CentOS with Bash 5.0.17(1) where I am the only user via SSH I have executed read web_application_root with:

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

Multiple commands during an SSH inside an SSH session

August 8, 2022 by Magenaut

I have a local machine which is supposed to make an SSH session to a remote master machine and then another inner SSH session from the master to each of some remote slaves, and then execute 2 commands i.e. to delete a specific directory and recreate it.

Categories Q&A, Unix & Linux Tags amazon-ec2, bash, read, ssh Leave a comment

read command in zsh throws error

August 8, 2022 by Magenaut

In zsh, running the command read -p 'erasing all directories (y/n) ?' ans, throws the error,

Categories Q&A, Unix & Linux Tags read, zsh Leave a comment

Why bash “read -t 0” does not see input?

August 8, 2022 by Magenaut

My script (should) acts differently, depending on the presence of the data in the input stream. So I can invoke it like this:

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

What is the meaning of read -r?

August 7, 2022 by Magenaut

In order to understand another answer (by glenn jackman):

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

Use bash’s read builtin without a while loop

August 6, 2022 by Magenaut

I’m used to bash‘s builtin read function in while loops, e.g.:

Categories Q&A, Unix & Linux Tags bash, pipe, read, shell-script, subshell Leave a comment
  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