sh tag

193 questions


2 answers
112 views
0
I want to download only the files under the directory specified in wget.

The site you would like to download has the following configuration:https://files.example/works/section_ahttps://files.example/works/section_bhttps://files.example/works/section_c...Among them, you wa...

2 years ago

2 answers
110 views
0
I want to specify a variable in the path of find

Thank you for your hard work.Let's say the following code is the main subject.#!/bin/bashfile_name = test.txtwhile read line;do dir = ${line} while read;do echo Verify operation: ${red} done<<...

2 years ago

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
87 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
94 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
96 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
About SSH Connections from External Networks

I want to access raspberrypi via SSH from the WAN side, but I cannot.The SSH connection from the LAN side was successful.The raspberrypi OS is not raspian but OpenWrt.The SSH client is using term.The ...

2 years ago

1 answers
71 views
0
About github fingerprints

on the serverssh-T [email protected] when you type the command with the .RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.It says, but is it correct to understand that this is a fin...

2 years ago

1 answers
77 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
« - 14 - »

© 2024 OneMinuteCode. All rights reserved.