sh tag

193 questions


1 answers
127 views
0
When I checked the ssh connection to GitLab, I found that Permission denied (publickey).

Problems you are havingI get an error when I try to use ssh to connect to Gitlab's repository, which should have been connected and pushed before. [vagrant@localhost~]$ ssh-T [email protected] ...

1 years ago

1 answers
85 views
0
Does the loop processing in bash work even if it is enclosed in parentheses?

I think the loop processing in Bash will be sandwiched between do and don as shown below.#!/bin/bashfor fin./*do echo$fdoneAs a trial, {} also worked as intended.#!/bin/bashfor fin./*{ echo$f}executio...

1 years ago

1 answers
74 views
0
Is there a way to view the X client of wsl2 on Chromebook?

I am looking for a way to transfer the wsl2 GUI to Chromebook (Lenovo Ideapad duet).Please give me some advice.Also, is there anyone who is trying something similar?Pre-tried: US>From Chromebook's Lin...

1 years ago

1 answers
89 views
0
In ssh port forwarding, when forwarding to local, I want to forward it to the specified path in local.

Looking at this page, I understand about ssh port forwarding roughly.

ssh
1 years ago

1 answers
96 views
0
bash —How to view your own standard errors

I'm looking for a way to see what the process has printed in its own standard error later.It's the background.There are commands mycmd, mycheck, and mysendmail.The command mycmd executes the command m...

1 years ago

3 answers
65 views
0
Bash refers to keywords in a file and extracts parts common to the string.

[Contents] In bash, I would like to refer to the list with keywords (with Japanese, spaces, separated by new lines) file, compare the given string (with Japanese, space hyphen, etc.) with the list, an...

1 years ago

1 answers
107 views
0
Issue with tr-d '\n' Unable to Delete Line Break

Hello, this is Nanopore.This is my first time asking a question.I'm trying to delete a new line from the txt file, but I'm having a hard time because I can't delete the new line even if I run the foll...

1 years ago

1 answers
83 views
0
Error running pg_dump on git bash: too many command-line arguments

I did the following on the git bash I installed on Windows 10.There will be no response.pg_dump-c-Uxxxx-h xxxx.rds.amazonaws.com-f C:\Users\xxxx.sqlWhen I ran the same command at the command prompt, t...

1 years ago

1 answers
107 views
0
I want to change sides of the pipe.

Is there a way to write upside down on both sides of the pipe (|)?If you accidentally write from the Call the Standard Input recipient's command, you want to continue without going back to the beginni...

1 years ago

1 answers
109 views
0
How to select mysql from bash (shell) and output it in JSON

I would like to know how to select mysql on bash and output it on JSON.Specifically, echo SELECT* from testtable; | mysql --defaults-extra-file=./my.conf testdbI would like to print the results in JSO...

1 years ago
« - 9 - »

© 2024 OneMinuteCode. All rights reserved.