Skip to content

Magenaut

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

bash

What happens if you edit a script during execution?

August 10, 2022 by Magenaut

I have a general question, which might be a result of misunderstanding of how processes are handled in Linux.

Categories Q&A, Unix & Linux Tags bash, linux, process-management, shell Leave a comment

How to implement package install suggestion on Debian?

August 10, 2022 by Magenaut

I have noticed that while on Ubuntu, if I type the following:

Categories Q&A, Unix & Linux Tags autocomplete, bash, command-not-found, debian, ubuntu Leave a comment

Starting with bash: -lt and -gt arguments

August 10, 2022 by Magenaut

I’m starting with bash and I found the following:

Categories Q&A, Unix & Linux Tags bash, shell, test 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

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

${!FOO} and zsh

August 10, 2022 by Magenaut

${!FOO} performs a double substitution in bash, meaning it takes the (string) value of FOO and uses it as a variable name.
zsh doesn’t support this feature.

Categories Q&A, Unix & Linux Tags bash, for, variable-substitution, zsh Leave a comment

How to pipe the list of commands displayed by of “tab complete”?

August 10, 2022 by Magenaut

When using commands in bash I like the double tab option to display the available commands. Some commands have more possible matches than others:

Categories Q&A, Unix & Linux Tags autocomplete, bash, command-line, scripting Leave a comment

parse one field from an JSON array into bash array

August 10, 2022 by Magenaut

I have a JSON output that contains a list of objects stored in a variable. (I may not be phrasing that right)

Categories Q&A, Unix & Linux Tags array, bash, json, shell-script, ubuntu Leave a comment
Older posts
Newer posts
← Previous Page1 … Page18 Page19 Page20 … 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