Category "terminal"

powershell script to select directory

I would like to create a powershell function or cmdlet that would allow me to quickly navigate to files and function like the example below. Could someone enlig

.zshrc:3: parse error near `>' when i open terminal on mac

i have error when i open my macOS Monterey 12.3.1 terminal after installing flutter like this : Last login: Sat May 14 10:49:04 on console /Users/malela/.zshrc

issues with spawn id <idx> not open when executing script from iTerm2

I am trying to write a script and execute under iTerm2 profile. However whenever I open the new tab i run into this error. but I execute the same script on Term

How do I use gshuf or python in the terminal to randomly shuffle files in a folder on mac os?

I am trying to randomly shuffle the files in a folder on my mac. I came across a suggestion to use gshuf (part of coreutils), but I don't know exactly what comm

Error when opening up my python file to my browser in my terminal

I keep getting this error when trying to open my python in the browser in my terminal.the code reads... (auth_book_demo-xzfPnOIq) C:\Users\thego\Desktop\CodingD

npx hardhat doesnt creates a new project

I tried creating a new hardhat project. I tried the following commands in terminal. npm init --yes npm install --save-dev hardhat But when I use the following

How to create a file in the terminal of VSC?

I know how to create a folder in the terminal of vsc mkdir NameOfFolder, but how to create a file in the terminal?

How do you execute terminal commands from Golang?

I'm creating a CLI tool in Golang, and I'm new to both Golang and making tools for the terminal. I need to execute terminal commands right from my program (spec

Sorry, name can only contain URL-friendly characters. Error - for NPM Install Jest

Hello I am not sure what is wrong with installing Jest. https://jestjs.io/docs/getting-started But here is my issue with my terminal. Please help. I am new to t

Complex keyboard input to child process in C, Linux

Ive been trying to solve this one for some time but im unable to come up with a solution. I need a child process to understand complex WASD keyboard input (with

Python Upgrading leads to terminal... not opening

I just upgraded python in ubuntu to python 3.10 to use the match/case statements, but now, my terminal won't open. Anywhere. I tired opening it on Visual Studio

Can I add something to these commands so they delete original files?

I'm modifying hundreds of pictures with two command lines and I have to manually delete the original files before executing the second command, then delete one

How to make whole line same color in coloredlogs output in Python

I have just started using the coloredlogs package in Python. I am using the version 15.0. I can see that my message changes color depending on its log level (in

Issues Running react project, SEVERAL module not found errors

so I'm trying to run this one react project (one that I've run SEVERAL times & has worked SEVERAL TIMES before), but for some reason, it just doesn't work a

Error when installing ng add @ng-bootstrap/ng-bootstrap

There comes an error when installing ng-bootstrap to my Angular-CLI(11.0.4). When ng add @ng-bootstrap/ng-bootstrap And my log file [error] Error: npm ERR! co

Set multiple PATH Variables in MacOS Big Sur (zsh)

I want to add multiple Path Variables: Dart & Pub (Doesn't work) sdkman (works) homebrew and its installations (Doesn't work) Deno (Doesn't work) Cargo &

Print to a specific point in the terminal

I have a method that prints an upload progress like this: 36% [=================> ] 210,81 KB/s To rewrite the line,

Terminal Git Status showing different than Visual Studio status

I've been at this for a couple of days and I can't figure this out. When I run git status on my terminal, it's giving me a different result than what my visual

What does "fatal: bad numeric config value 'ward' for 'core.safecrlf': invalid unit" mean?

When I type git init (or git help tutorial) in terminal (MacOS), I get this message: fatal: bad numeric config value 'ward' for 'core.safecrlf': invalid unit

Is there a way to get the mouse position within the terminal?

I am currently coding a node.js program relating to mouse coordinates. Is there a way to see the mouse position in the terminal in Node.JS? I've tried the ways