shell tag

84 questions


1 answers
62 views
0
How Do I Enable Quota in File Server Resource Manager on PowerShell?

How do I enable the already created Quota for File Server Resource Manager on PowerShell?The method of deactivation is as follows:Set-FsrmQuota-Path D:\folder-DisableAlso, how to enable it in the comm...

2 years ago

1 answers
64 views
0
Error in PowerShell DataAdapter.Fill

$ConnStr=Server=$Server; port=$Port;uid=$User;pwd=$Pass;database=$Database;Pooling=$Pooling; charset=$CharSet$Conn=New-Object MySql.Data.MySqlClient.MySqlConnection($ConnStr)$Conn.Open$Sql=SELECT* FRO...

2 years ago

1 answers
46 views
0
If you run set var = `catsjis.txt` on tcsh, Missing}. will be printed.

Running set var=`catsjis.txt` on tcsh will print Missing}.tcsh-6.14 was successful, but tcsh-6.18 received the above error·ProcedureCreate test.csh and include:$#!/bin/tcsh-f$ set var = `cat SJIS.txt`...

2 years ago

1 answers
86 views
0
PowerShell Module and Function Creation: Function not recognized and cannot be called.

I'm learning how to batch with PowerShell. I'm having trouble with the following symptoms.The main .ps1 is written as follows.#ImportImport-Module $($PSScriptRoot)\ModuleIn the Module folder, we put M...

2 years ago

1 answers
88 views
0
Powershell Runs Out of Catch When Error Occurs in try-catch Catch

Please forgive me if this is my first question and I am not used to it.There is an event like the one mentioned in the title.If you create and run a program like the one below, the first one will be s...

2 years ago

1 answers
95 views
0
Unable to build project from PowerShell

From PowerShell the specified project in the solutionI would like to build via VisualStudio.DTE.It doesn't work I probably need to go down the hierarchy of solution folders in the solution I don't kno...


1 answers
51 views
0
Can I designate the package inside the JAR file as a class pass?

Build an application with a class called ExampleJob into a JAR fileIt is possible to take this JAR file as a class pass and run the Sample Job class. Like below:#!/bin/bashJAVA_HOME=/usr/local/jdk1.8....

2 years ago

1 answers
84 views
0
This is a question about running Linux automatically.

I'm building a small server on my smartphone using an app called Linux deploy.If you leave tomcat and mysql in the auto-run list, it works fine.However, if you run java application (jar), you can conn...

2 years ago

1 answers
116 views
0
tail -f ... | What if the log is not one line when tracking the log with grep?

tail -f mylog.log | grep some-keywordIt is possible to filter the log by pipe + grep in the same way as aboveThe problem is that this method does not filter the output of many lines, not one line, and...

2 years ago

1 answers
77 views
0
Executing External Commands with Python

How do I run an external command that I write from a unix shell or window command prompt?

« - 8 - »

© 2024 OneMinuteCode. All rights reserved.