Category "terminal"

zsh: permission denied: /Users/ryanshumway/.ssh

New to programming, and my employer had setup my SSH with Gitlab for me. Now that I'm learning more programming I thought, hey, I'll setup another SSH for my pe

Bash - check if repository exists

I am trying to create if statement which will check if repository with name X exists, if it doesn't => create it. Made following code. It works, but when rep

How to create laravel storage symbolic link for production or sub domain system?

When I worked on laravel local development server php artisan storage:link works fine for me. But when I transfer my site to production server then I saw my pub

How to find the location of a bash file?

I've made an executable .jar file for a terminal game I've been working on. So far, I opened it by typing java -jar name.jar in the Terminal. This worked, but w

Can't Run Go Bin In Terminal

I have been executing my Golang code on Visual Studio in the terminal for the past few weeks. All of a sudden I am trying to run a program I made, and it does n

Can't Run Go Bin In Terminal

I have been executing my Golang code on Visual Studio in the terminal for the past few weeks. All of a sudden I am trying to run a program I made, and it does n

ng : The term 'ng' is not recognized as the name of a cmdlet, function Visual Studio Code Terminal

In VS Code when I am running command ng build, getting error PS D:\Dashboard\Test1> ng build ng : The term 'ng' is not recognized as the name of a cmdlet, fu

Finding a specific element in a matrix with set parameters

I created a code for financial options and there is one last thing missing to finish it. I want my code to find the implied volatility for a specific option. My

How to capture prompt from terminal using Tcl or how can I match prompt with color code?

I want to capture prompt of a remote device. -regexp {[\$\#]\s*$} { # capture the prompt } "[\$#]\s*$" does not work for prompt with color codes.

How do I make my code write messages to the terminal?

For an assignment I need to make a chat client in the terminals, but my code won't write to the terminals. I believe it might have something to do .write not wo

VS Code terminal unable to privide UTF-8 input

I'm hopeful that this question is a duplicate, but I have searched a lot at this point, and I've not come across anything helpful, so I am dubious. The followin

Opening project in VSCode using batch file

Disclaimer: I read this and this before, but it doesn't work as I want. Description: I decided to create set of batch files for convenient way to run different

Search a text on terminal output on Mac (not using Terminator)

I installed something via Terminal (iterm2) on Mac and it showed a whole bunch of commands while installing. I need to look for a specific word to decide my nex

How do I print colored text to the terminal in Rust?

How do I output colored text to the terminal using Rust? I've tried using the special escape characters that I found in this python answer, but they just print

Problem with virtual env: can't import installed packages in the virtualenv

I am doing some tests with virtualenv to see how it works and I think I ran into some trouble. First I created a folder and changed my path to it: $ mkdir n

VSCode won't open console in an external window

I am a beginner in C# just recently learning it soon. Whenever I run my Project.cs file, it does not open in an external terminal despite the launch.json file h

How to detect if running in the new Windows Terminal?

An upcoming feature of the Windows Terminal preview is that it has full emoji support: Compared to: In Node.js, how do I detect if I'm running in a termin

After installing Homebrew I get `zsh: command not found: brew`

➜ ~ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" -e:77: warning: Insecure world writable dir /usr/

Linux - How to count occurrences of character 'i' in a word (not a file)

How can I print the number of occurrences of "i" in Pneumonoultramicroscopicsilicovolcanoconiosis? How can I approach this with the commands grep and wc?

When I try to run "xcrun usdz_convert" I get an error

I updated to macOS Catalina 10.15 and Xcode 11.0. Now this command is not running now: xcrun usdz_convert I get this error even though I've updated both $PAT