shell tag

84 questions


1 answers
328 views
0
Cannot expand variable in backquote

A shell script that moves a file containing the string ice into the ice folder.There are two ice creams in the cord.I'd like to do this only in one place, but I don't know how to write it.I would appr...

1 years ago

1 answers
420 views
0
VSCode's PowerShell formatter is no longer working.

Windows 10 ProVSCode 1.74.1 SymptomsI remember it used to work, but before I knew it, the VSCode PowerShell formatter stopped working.I am requesting a format with Shift+Alt+F, but the following messa...

1 years ago

1 answers
422 views
0
I want to import files under the directory in bulk in mysql.

I can't think of a way to import all the files under the db directory into mysql at once, so please let me know.For my part, I was wondering if I could get the file name list with ls-1db and do well, ...

1 years ago

1 answers
499 views
0
When you start powerhell from the batch, it opens for a moment and closes immediately.

1.Periodic execution of bat file@powershell-NoProfile-ExecutionPolicy unlimited-Command Start-Process PowerShell.exe-Verb runas C:\********\****.ps12.ps1 starts and performs actions with administrator...


1 answers
481 views
0
Why do I miss certain characters when I paste them into the PowerShell console via the clipboard?

environment:Windows 10 + PowerShell 5.1/7.2 (either) Suppose you created a folder called D:\work\■test that contains a black square.Copy (Ctl+C) the string from this folder to the clipboard and paste ...

1 years ago

1 answers
327 views
0
PowerShell associative array cannot be returned as function return value

I'm creating a GUI that does a lot of things with PowerShell.Because there are a number of processes that require associative arrays, the function for creating associative arrays is once sandwiched an...

1 years ago

1 answers
385 views
0
No Labels or Text Boxes Appear in GroupBox on PowerShell

I'd like to have some groups in the subform and create text, labels, etc. in those boxes.This is an image that creates an input form.Below is the code for the part that is in question#Subforms$optionf...

2 years ago

1 answers
386 views
0
I want to create new HashTable repeatedly in PowerShell

This is an additional question for This questionHere is the code you answered:#Associative Array CreationFunction makeHashTable{ Param( param1, param2 ) for ($i by index number) { $value=@() forea...

2 years ago

1 answers
403 views
0
If a command such as mysql command remains in the shell in the code of lambda, the authentication information remains in the log.

If you type a command that leaves authentication information, such as the mysql command, in the shell in the lambda code, the authentication information will remain in the log.What should I do to avoi...

2 years ago

1 answers
341 views
0
If a command such as mysql command remains in the shell in the code of lambda, the authentication information remains in the log.

If you type a command that leaves authentication information, such as the mysql command, in the shell in the lambda code, the authentication information will remain in the log.What should I do to avoi...

2 years ago
« - 2 - »

© 2024 OneMinuteCode. All rights reserved.