Category "command-line"

How to pass command line arguments into gauge tests?

I want pass a command line argument is_triggered=true as part of running Jenkins gauge tests run. How can I pass the argument when I am doing gauge run specs --

How to use an environment variable in PowerShell console?

I have an environment variable named GOPATH. In old style command shell I could run the command %GOPATH%\bin\hello like this: Is there an equivalently simple c

Missing destination file operand?

I am simply trying to move a directory with subdirectories to another directory using CMDER. λ mv "c:\Program Files\ANOTHERTESTDIR\" c:\proj mv: missing

Check if file is locked inside a batch file for loop

I have a script that runs through some files and copies them to another location. But the script needs to wait until the file is no longer being written to. I t

How to delete Node_modules folder in command line on Windows?

So, I should delete all node_modules in my project(I want that the node_modules folder become completely empty). Just removing folder manually does not suit me.

Stop all docker containers at once on Windows

How can I stop all docker containers running on Windows? docker stop is for 1 container only. Any command/script to make it stop all containers?

How to send JSON file as part of request body in CURL POST command

I am using CURL command line to send HTTP POST to a web service. I want to include a file's contents as a PART of the body of the POST command. Is this possible

How to close Microsoft Edge browser's current tab from command prompt?

>start microsoft-edge:http://google.com Its opened google.com in edge browser new tab. Now I want to close. Here I am using stop but its not working. >

What does percent sign with tilde syntax(%~a) mean in command line [closed]

for %a in (*.txt) do ren "%~a" "%~na version 1%~xa" This command line script can rename files in a directory by adding text ( version 1) to th

Running .dtsx file via command line programmatically from a winform c#

I am new to programming. I was hoping for some help to correct the below code. I have a WinForms application using an Azure SQL database. overall I am trying to

Binary file edit in Win CMD

How to split or edit binary file in Win CMD? I'm on Win 10 x64, and there's no DEBUG utility eg. to replace all 0a with 0d0a or change a byte value at some byt

How do I set a variable to the output of a command in Bash?

I have a pretty simple script that is something like the following: #!/bin/bash VAR1="$1" MOREF='sudo run command against $VAR1 | grep name | cut -c7-' echo

Passing values to command line from a function-C language

I am trying to find out how to pass output value of a function into command line in a C file. The name of the variable is "Cext", "Cabs". The default behavior o

How can i exit the python shell to the terminal in Pycharm?

For example, I wrote the code; SyntaxError: invalid syntax >>> python manage.py command File "<console>", line 1 python manage.py command* t

'eslint' is not recognized as an internal or external command

I'm trying to install eslint & run it in vs code. I ran this command: npm i -g eslint and it seemed to work, but I keep getting an error when I try to run

How to install JQ on Mac on the command line?

I need to know the most efficient way of installing JQ on Mac (El Capitan). The code is downloaded to my Mac but I would like to know how I can install and oper

How to pass environment variables to the gradle wrapper build using only command line?

I am trying to pass env variables locally with strictly a command line command. At deploy, these variables get passed into the docker container, but when runnin

Command to download latest version of nvm?

I am trying to install the latest version of nvm so (per this article) I ran: nvm install 4.0 It worked. But I want to make sure I install the latest version

how do i create an azure function app using dotnet-isolation?

I am trying to create an azure function app using .net5 isolation, however the azure portal doesn't have an option for .net 5 only .net3.1 and .net6(preview), a

tf.exe "you are not authorized to access", is not accepting my login parameter

I'm trying to solve this problem since a long time, every execution I perform on TF.exe command, is throwing TF30063 exception, when i'm the admin and the only