Category "command-line"

Run command in tmux and update the status bar

I wrote a simple shell script that will show IP every 15 sec (it checks for VPN basically )... I wanted to add that in my status bar and I did it with #() but i

Firestore-algolia-search command not found

So I had a question I'm working on a Algolia extension for Firebase but when I try Step 3(see image 2 below) to excute the commands I get a "bash: firestore-al

How to exit telnet session via command line using azure devops

I am trying to test connectivity from source to a FTP server on port 22 using azure devops commandline tool in pipelines Command for testing: telnet TestSFTP02

SSL error only in python command window with apify request

I am trying to use endpoint from apify.com. When I run my request in web browser with token everything is fine but if I run my request via requests library from

Pyinstaller Is Not Recognized

I know this question has been asked before and I have researched and used the following steps to no avail, each one of them: Pyinstaller is not recognized as in

Jupyter Lab not opening on Ubuntu

Im using Ubuntu as my OS. I have been able to download and open anaconda-navigator through command line. but I can't open up Jupyter lab or jupyter notebook. it

How do you enter command line arguments in SPIM

I am trying to make programs using argc and argv in MIPS simulator SPIM. This is my code: .data nl: .asciiz "\n" .globl main .text main: # print argv[0] lw

How To Check If Node EsModule Was Imported Or Ran Directly

Node.js 13 recently rolled out an experimental ESModule loader, starting to take the switch away from CommonJS. However, code ran in an ESModule in Node.js isn'

How to fix command injection issue on Checkmarx for parse_args

I have python code that parses input parameters: parser=OptionParser() parser.add_option("-o", dest="out", default=os.getenv('Path',None), help="file path") par

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