Category "terminal"

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

VS Code Denied Permission unlink 'usr/local/bin/code'

I can add the "shell command install 'code' command". Testing it works, but if i close out of the VS Code or after a couple of hours of adding the command it do

How to do multiple loops with user inputs in python terminal?

I'm new to phyton and I looked everywhere, but all that I find is the .split() option for multiple inputs but I don't want them together, I want one in each sep

Hyper Terminal: zsh: command not found: hyper

I am using hyper terminal. I wrote the following code to change the theme, but it gave the following error. Command to change theme: hyper i verminal zsh: comm

Python clear terminal without using system calls

I would like to write a python script for use on Windows and Linux that clears the screen. Most of the examples for this are something like: import os os.syste

How to run grep with while loop in shell script?

I'm trying to make shell script that counts 9 letters words consisted of A, G, C, T in B.txt. First, 9bp_cases.txt contains AAAAAAAAA AAAAAAAAG AAAAAAAAC AAAAAA

How do I set up my terminal on Mac to auto open Sublime Text Editor when using git commit command?

I am trying to set up git on my terminal, and need it to open up Sublime text when I use a git commit command, so that I can add a note to my commits. If I type

How to display /proc/meminfo in Megabytes?

I want to thank you for helping me my related issue. I know if I do a cat /proc/meminfo it will only display in kB. How can I display in MB? I really want to us

ConEmuC: Root process was alive less than 10 sec, ExitCode=1

I started the terminal from Laragon and now show this message: Le chemin d’accès spécifié est introuvable. Current directory: C:\lara

Editing Default Commands on Windows Command Prompt

I am creating a Windows virtual machine and would like to edit the default commands for the command prompt like tree so that when that command is typed it will

Pygame/Python/Terminal/Mac related

I'm a beginner, I have really hit a brick wall, and would greatly appreciate any advice someone more advanced can offer. I have been having a number of extreme

saving output of nettop to file ( mac ) [closed]

I'm trying to save the output of nettop from my terminal to a text file ( maybe .csv ) what I want to do is be able to isolate the different v

macOS Terminal: `ls` sorts results with capitalised names first

How can I fix this default sorting behaviour for ls in the macOS Terminal? I want the results to be case-insensitive and alphabetised. Here is an example to il

Terminal window in eclipse is blank. Ruby on Rails

When you install and configure RoR on windows and eclipse(Aptana plugin) you would see the terminal window in the eclipse perspective where you would type in va

C# execute a terminal command in linux

I want my c# application (which I execute on a raspberry pi) to run a bash script whenever it starts.. basically : the script is located in /etc/init.d and is n

How to install cask for homebrew on mac

I have set up git and homebrew, ran brew reset-update, brew update and brew doctor none of these give me errors but when I try to install glew using: brew insta

^U does not kill despite stty claims

problem: ctrl+U will not kill my terminal program. details: Here are my results from ssty --all: speed 38400 baud; rows 24; columns 80; line = 0; intr =

How to clear the entire terminal (PowerShell)

I had an issue. Using the clear or cls command in powershell clears only the visible portion of the terminal,I would like to know how to clear the entire termin