sh tag

193 questions


1 answers
75 views
0
harden with a git push

After cloning, when I try to edit the file and commit add and push, the process stops without asking for the username or password in push.There is no error message or output.What should I do?By the wa...

2 years ago

1 answers
124 views
0
Debian10's bash shell now says 'command not found'...

All commands now appear command not found on the Debian 10 bash shell...How can we solve this problem?Is there only a reinstallation?Please let me know.

2 years ago

1 answers
116 views
0
I want the environment variable set in Terminal to be permanent.

I changed JAVA_HOME to terminal, but the terminal on another tab returns to the original setting.What should I do if I want to permanently reflect the environment variables that I set in Terminal?Writ...

2 years ago

1 answers
89 views
0
To what extent does the variable expansion in a double quote work correctly?

For example, suppose you created a pseudo cp in a shell script in the following format:#!/bin/shcontent=$(cat$1)printf'%s\n'$content>$2In most cases, the difference between the contents of the file...

2 years ago

4 answers
80 views
0
I want to combine the second column of the same row with the first column into one row for text processing in bash.

What should I do if I want to use bash to combine the second row of the same row in the first row into one row?Illustrated a1a2a3b4c5c6d7d8e9Text a 1 2 3b4c56d78e9That's how I want to deal with it.Ple...

2 years ago

2 answers
86 views
0
What's the status of PHP PATH now?

If you follow the instructions on the Internet to get through the PHP PATH, $whichphp/Applications/MAMP/bin/php/php 5.4.10/bin/php$ php-vPHP 5.4.10(cli)(build:...tec.I succeeded, but when I checked it...


1 answers
97 views
0
How do I prompt expansion of Zsh in the same order as Bash?

When does Zsh prompt expansion take place, especially in what order compared to other regular expansionFor example, in Bash 3.2.57, if you pass an escape for the prompt to a length function that looks...

2 years ago

1 answers
59 views
0
Information About File Transfer Between 3 Servers

There are three Linux servers, and I would like to transfer files from the source server to the destination server with one server in between.ネットワーク Due to network configuration, the server must be pl...

2 years ago

3 answers
117 views
0
I want to extract something close to the list in a shell script.

There is a list like this.This list is entered from standard input.-062656-072654-082755-1001-1101-1201-130152-1452Then use the date command to get the time and store it in the variable.Then search fo...

2 years ago

1 answers
84 views
0
I want shell scripts to be able to generate easy-rsa client certificates

I'm a beginner in shellscript.When creating a client certificate with easy-rsa for OpenVPN, I wrote the following code so that it could be executed in shellscript:#!/bin/bashexpect-cset timeout5spawn ...

2 years ago
« - 10 - »

© 2024 OneMinuteCode. All rights reserved.