bash tag

84 questions


1 answers
84 views
0
Error substituting bash for special variable

When you use bash to move sample.sh below, an error is generated with a special variable that substitutes the variable.Probably because it is treated as a string, I don't think I can pull the argument...

2 years ago

1 answers
86 views
0
How to Run a String in a Variable as a Shell Command

for multiple endpoints curl https://endpoint-dparam1=correct-o/dev/null-w%{http_code}curl https://endpoint-dparam1 = wrong-o/dev/null-w% {http_code}curl https://endpoint-dparam1=-o/dev/null-w% {http_c...

2 years ago

2 answers
93 views
0
Why does the error not appear when there is space before and after "=" in the Bash script?

inadvertently when replacing with a Bash scriptfoo=barI wrote = with spaces before and after oo, but the foo was not replaced and the error did not occur.Using the same description on an interactive b...

2 years ago

2 answers
94 views
0
Windows Command Results Are garbled in Git Bash

When you type Windows standard commands on Git Bash (MinGW), the results are displayed in a literal format.route/? for exampleExample typing Locale settings in Terminal Options do not work.Is there a ...

2 years ago

1 answers
95 views
0
I get an error when I do a $sudo apt update on the Debian10 bash shell.

Thank you for your help.If you run $sudo apt update on the Debian10 bash shell, you will get an error and I want to resolve it.Below is the terminal message.$sudo apt updateGet:1 http://security.debia...

2 years ago

1 answers
76 views
0
I want to automatically start rails when I log in to windows

I installed Bash on Ubuntu on Windows 10 and I use rails.After starting Windows, I changed the directory every time and started rails.I'd like to start rails automatically when I log in to windows, is...

2 years ago

1 answers
104 views
0
terminal operation in git vscode, how to do after eval

I'm very sorry to those who are kindly commenting on my series of messes, but I'll start over once, around 24:23 (https://www.youtube.com/watch?v=RGOj5yH7evk&t=1511s)Now I don't understand it agai...

2 years ago

3 answers
124 views
0
Understanding the Behavior of Cat Running on Bash (Linux)

If you use Bash on Cloud9 and type cat as shown in the attached image, proceed to the next line without any response.So even if you type -a, it's just a new line.When I pressed Enter, a blank line app...

2 years ago

1 answers
181 views
0
I want to automatically output the commit ID to the file when I commit.

We are currently using VSCode for Git management.During management, the commit ID is printed as shown in the attached image, but I would like to automatically output the commit ID to a text file at th...

2 years ago

2 answers
162 views
0
Ubuntu's terminal no longer starts, xterm doesn't start either (Could not exec/bin/sh There are no such files or directories)

When I was building the environment, I accidentally deleted /bin/ and had no choice but to obtain the same coreutils as the installed version, and copied the bin folder and below to /bin/.Until now, t...

2 years ago
« - 7 - »

© 2024 OneMinuteCode. All rights reserved.