Skip to content

Magenaut

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

bash

Where have I set my bash PATH?

August 10, 2022 by Magenaut

I want to remove ~/bin from my PATH.  I set it up months ago when Linux (Ubuntu) was very new to me, but I don’t know how I added it…

Categories Q&A, Unix & Linux Tags bash, environment-variables, path Leave a comment

How can I print a variable with padded center alignment?

August 10, 2022 by Magenaut

How can I print $myvar padded so that it is in the center of the terminal, and to either side are = to the edge of the screen?

Categories Q&A, Unix & Linux Tags bash, printf, text-formatting, tput Leave a comment

Are the null string and “” the same string?

August 10, 2022 by Magenaut

Bash manual says:

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

What does a “< <(…)" redirection mean?

August 10, 2022 by Magenaut

I’ve seen that rvm (ruby version manager) is installed using the following command:

Categories Q&A, Unix & Linux Tags bash, io-redirection, shell Leave a comment

How do Ubuntu and Debian manage $HOME for users with sudo privileges?

August 10, 2022 by Magenaut

I have a bash script myhome.sh containing only one line:

Categories Q&A, Unix & Linux Tags bash, debian, home, sudo, ubuntu Leave a comment

How to add a unix/linux user in a bash script

August 10, 2022 by Magenaut

Here’s my test bash script. I’m not able to get it to work. I’m seeing two errors:

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

Display file with ANSI colors

August 10, 2022 by Magenaut

I have a file with ANSI colors.

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

Refer to a file under the same directory of a script found in $PATH

August 10, 2022 by Magenaut

I have a bash script file, which is put under some directory added to $PATH so that I can call the script from any directory.

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

Parenthesis works in bash shell itself, but not in bash script

August 10, 2022 by Magenaut

I can run this command from my command line prompt:

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

Joining bash arguments into single string with spaces

August 10, 2022 by Magenaut

I’m trying to join all of the arguments to a Bash function into one single string with spaces separating each argument. I also need to have the string include single quotes around the whole string.

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