Skip to main content

Questions tagged [terminal]

A terminal is a hardware device used for entering data into and displaying information from a computer. Terminals were frequently used in the days of mainframe computers. Today, most operating systems offer text-based "terminal emulators", which replicate the functionality of a classical terminal, also referred to as a "system console".

Filter by
Sorted by
Tagged with
1 vote
1 answer
23 views

Terminal Powershell differences

When I type dir /A into terminal I get desirable output, but when I type the same to Powershell i get dir : Cannot find path 'C:\A' because it does not exist. + CategoryInfo : ObjectNotFound: ...
konto's user avatar
  • 33
0 votes
0 answers
18 views

Terminal keywords highlighting [closed]

I saw on a tutorial that when you write keywords on the terminal it automatically highlights them: In my case it shows conda in same color (white) Already try to change the theme, but didn't worked. ...
Mateo Buenahora's user avatar
0 votes
0 answers
18 views

Four pole headphones into a three pole television three pole connector? [closed]

Can I plug a four pole or pin from my headphones into a television headphone jack that's a three pole?
T S's user avatar
  • 1
0 votes
1 answer
22 views

Tmux prefix doesn't work unless ~/.tmux.conf is forced

I'm currently including tmux into my work flow but I've not been able to use its prefix like it is set up natively C-b on start. My work around to this problem is to set another key bind on the ...
Juan Jáuregui's user avatar
0 votes
0 answers
33 views

Is there a name for the text that shows up after executing each command line in a CLI?

for example in linux terminal I have jurek@debian:~$ man help No manual entry for help I want to know how the second line is called bc I want to ask an other question "How to copy this term (I'm ...
konto's user avatar
  • 33
0 votes
0 answers
22 views

tmux ctrl-b + [arrow key] for navigation not working

I am pressing Ctrl+B, releasing both keys, and then pressing arrow keys, but it is not navigating (instead it is going through past commands as if Ctrl+B was not pressed). I'm using tmux in a SSH ...
Joe C.'s user avatar
  • 101
0 votes
0 answers
35 views

How to remove escape sequence from VSC terminal?

Just recently these escape sequences have been showing up on my PowerShell terminal inside VS Code. I've attached a picture of what this looks like: However, inside the PowerShell terminal itself, it ...
user avatar
1 vote
0 answers
77 views

How could I have VScode on Windows 10 with the default terminal changed to WSL2 Ubuntu-24.04 like a native linux distro?

I'm trying to have inside VScode for Windows 10 (Microsoft Windows [versão 10.0.19045.4474]) options to change the terminal from default to another one such WSL2 Ubuntu 24.04. I have installed ...
Marlon's user avatar
  • 379
0 votes
1 answer
80 views

How to disable row highlighting on iterm and oh-my-zsh?

I just setup the new Macbook today and start to have the weird highlighting with the blue frame on the row when i use my mouse to select a particular row on the terminal. The other row will be faded a ...
Thai Tran's user avatar
  • 131
0 votes
0 answers
20 views

iTerm2 - run a command in every new pane

I'm using iTerm2 and oh-my-zsh. Whenever I start a session — a new iTerm2 window — it reads my .zshrc file and runs a few commands — e.g. getting the right Node version from .nvmrc. But when I open a ...
Angelo Dias's user avatar
0 votes
1 answer
43 views

How to run a program with a specific version of Python from the terminal on Windows?

I have several versions of Python installed on my system, and a software I use requires using Python3.11, the problem is that the most recent version of Python is the one Windows defaults to, i.e. if ...
Sergio's user avatar
  • 1
0 votes
0 answers
27 views

Grep’s result coloring, and right-to-left scripts

I have a text file with a single line that contains the single Yiddish word azoy, in Hebrew script: אַזױ. Then I grep for occurrences of the oy character, ױ. (This is highly simplified of course, in ...
Ruud Harmsen's user avatar
0 votes
1 answer
39 views

Fairly new computer, windows 10 pro, not able to open cmd in a specific path by typing cmd in the address bar of file explorer

I used to be able to do this on my laptop. But now I have a desktop and when I try this, it just shows C:\> instead of being in the path I want it to be in. I have no idea how to fix this or where ...
Starship's user avatar
1 vote
1 answer
54 views

Why I can't change the prompt in VSCode's terminal?

I am trying to change the prompt in my VSCode's terminal. My OS is MacOS Monterey 12.6. I use the zsh and I change the PS1 in .zprofile,such like this. Then I use echo to test.The others can work ...
Luxury's user avatar
  • 11
0 votes
0 answers
11 views

Color handling and "dim" on ConEmu with git-for-windows bash

Under git-for-windows "Git bash" (so, MinTTY), standard unix color codes are handled and I may use the "dim" option, so echo -e "\033[1mHello\033[0mHello\033[2mHello\033[0m&...
sayanel's user avatar
  • 145
1 vote
0 answers
43 views

Remove all key bindings in Windows Terminal

I'm running WSL2 in the Windows Terminal (v. 1.19, Windows 11). I don't need any of the key bindings (I want to reserve them for tmux, vim etc). I can remove a single key binding by writing in the ...
galapah's user avatar
  • 131
0 votes
1 answer
42 views

My git history all of my commits have no message

this happened today last few hours, have not updated git, but all of my git commits have no message I do a commit git commit -m "fixed the headline level" and when I do git log I see ...
user254694's user avatar
  • 1,165
0 votes
0 answers
31 views

Install SF-Mono-Powerline on LMDE 6 for zsh in linux terminal

I am trying to install SF-Mono-Powerline to change fonts for my terminal for the use of zsh. But however the installation of the fonts is succesful (checked it), but I am not able to choose the fonts ...
antonym's user avatar
0 votes
1 answer
112 views

ls -ltr on the terminal lists the files but says "No such file or directory" in a shell script

I am new to Bash and am practicing some shell scripts. I wanted to write a script to list all the folders and their file count, if a root path is passed as a parameter value from the terminal. The ...
MNIA's user avatar
  • 1
0 votes
0 answers
285 views

How to fix Ollama 403 installation Error?

Hi I need to run Ollama on my Mac OS X but I can't install it using Ollama run llama3 I get the 403 error. I am using v2ray on the Clash Verge client. But it seems my client cannot fully change my ...
nohode1999's user avatar
0 votes
1 answer
68 views

How to do a Proximity text search, 2 + words?

What is a Linux terminal command to do a Proximity text search? Search a directory, recursively, for files that contain : 2 words or more within 99 characters of each other any order of above words. ...
joseph22's user avatar
  • 367
0 votes
0 answers
50 views

Display new prompt after tty redirect on second terminal

I'll try to explain the title better :) I have two terminals tty1 and tty2, let's call them that. From tty1 I redirect the output from echo to the tty2 terminal with: echo hello > $(tty2) This ...
Daniel's user avatar
  • 1
0 votes
0 answers
36 views

How to have HTML syntax color and indent in terminal?

I would like to have an experience on working HTML output on terminal as close to what an HTML viewer would provide: indent, syntax color. My closest result is: curl -L https://example.com | tidy -i 4 ...
Ooker's user avatar
  • 2,131
-2 votes
1 answer
66 views

How to disable the prompt "do you want to stop this program (y/N)" when killing program in powershell

I run my program, I enter Ctrl+C, obviously I want to stop the program. But powershell always asks "do you want to stop the program ? (y/N)". How can I disable this ? I just want the program ...
Genku's user avatar
  • 1
0 votes
2 answers
157 views

Run GUI terminal from crontab

I have been trying to open a terminal in GUI via crontab. This question describes it can't be done as desktop and crontab runs separately. Is there a way where I can trigger script from crontab but ...
ap14's user avatar
  • 101
0 votes
0 answers
97 views

MAC How to make Midnight Commander look like it does unde VS Code?

I am on Mac OS, using Midnight Commander and I'm loving it. I really like that I can even use it under VS Code. Look at this beauty: MC in VS Code terminal But when I use it directly in the terminal ...
Beto's user avatar
  • 3
1 vote
1 answer
207 views

Kitty terminal: How can I attach to a zellij session upon starting up Kitty

I want zellij attach -c to run once Kitty is loaded up. I tried adding startup_session launch.conf to my config file, and writing kitty @ send-text "zellij attach -c" in launch.conf as well ...
Oneechan69's user avatar
0 votes
1 answer
129 views

Linux Bash Wait Command Not Working

I am trying to use and bash file .sh to start other bash files in seperate terminals. I want them to run one after the other as I use them to copy large numbers of files to the same Hard Drive. ...
Dave's user avatar
  • 1
2 votes
0 answers
92 views

Why is `~/.zlogout` not sourced when non-interactive ZSH shell runs `exit`?

My ~/.zlogout contains the following: echo '~/.zlogout!' Let's run the following script: su user -ls /bin/zsh -c 'echo kaasbier; exit' Nothing is echoed (besides the kaasbier). I am testing this in ...
Silas's user avatar
  • 39
1 vote
1 answer
59 views

Install Builder - Linux - Prevent confirmation message in Terminal

I created an installer using Install Builder. When installing from Terminal on Debian it shows this message, Welcome to the Application Setup Wizard. --------------------------------------------------...
Codename K's user avatar
1 vote
1 answer
37 views

terminal automatically shows user@dhcp instead of user@fedora

my system (fedora 40) automatically shows user@dhcpf196 instead of the usual user@fedora in the terminal whenever I connect to the internet. I think this is my university dhcp server but the machine I'...
Gio Bur's user avatar
  • 15
0 votes
0 answers
32 views

Unknown terminal: "/tmpERM"

On my Linux headless distro, i have a recurring error where when running some commands ("clear", "nvim", etc.), instead of the expected behaviour of running the command i get an ...
lo9ud's user avatar
  • 1
0 votes
3 answers
179 views

How do I jump to the beginning of a command in Windows Terminal?

In Linux, I can skip to the beginning of a command by pressing Ctrl-A , and Ctrl-E for jumping to the end of that. However, it is not compatible with Windows Termianl. How am I going to do that? ...
mohamadi_arch's user avatar
0 votes
0 answers
76 views

vim "rendering" issue, possible terminal issue?

Recently I've started having a strange issue with the "rendering" of Vim. I say rendering because it only seems to affect what's show on the screen and not the output to the actual file. I'm ...
Minuzed's user avatar
0 votes
0 answers
30 views

Is there any way to create a new window terminal (pseudo-terminal) using a command without setting env $DISPLAY?

I am currently building an open-source utility (plugin), which requires a new terminal window (pseudo-terminal) to become more effective whenever it gets executed. I was using gnome-terminal to ...
zenitsu's user avatar
2 votes
1 answer
108 views

tmux doesn't instantly update pane's title

I'd like to have tmux "instantly" update the pane's title to match what is currently being executed in the terminal. For an instance: If the pane contains the shell then its title should be ...
pic810's user avatar
  • 21
0 votes
0 answers
47 views

Flushing output on interrupt on the Linux cmdline

On a local terminal, the stty -noflsh option allows to discard buffered output on Ctrl-C and thus prevents from long scrolling delays if one did accidentally output large amounts of text to the ...
Juergen's user avatar
  • 586
0 votes
1 answer
145 views

Shell prompt colored outside of tmux, but not in tmux; how can I get colored prompt in tmux?

I am a new user of tmux and wondering how I can highlight machine name and working directory? What I mean is below. In default Ubuntu terminal: While in tmux: I know this is a minor, but having ...
Darren Christopher's user avatar
0 votes
1 answer
163 views

Terminal in on a MacBook Pro (M2) is not working after setting a path. How can I fix it?

I tried to set Python path in .zshrc and save it. But after saving it, the terminal is not working anymore. For all commands giving command not found and every time, I can see the path file in the ...
user2771427's user avatar
0 votes
0 answers
41 views

How to match PDF okular colors with Terminal colors?

OS: Kubuntu 22.04.4 LTS x86_64 okular 21.12.3 konsole 21.12.3 to display above: neofetch --stdout |grep 'OS:' okular -version konsole -version outputs: ok match color Blue in Terminal with ...
joseph22's user avatar
  • 367
1 vote
1 answer
243 views

TO close Tmux along with terminal (if terminal is closed)

I have configured my Tmux to open with i open terminal by modifying the .zshrc file. [[ -z "$TMUX" ]] && tmux -u It worked fine, now I want to close the tmux session when I close ...
shohel hossain's user avatar
0 votes
0 answers
90 views

no colors in vi (vim(1)) when ssh from Windows to Linux. How to fix?

Windows Terminal 1.19.10573.0 When I ssh from Windows into a linux machine, I got colored output on the shell just fine. Directories and files are colored when using ls(1). Same with grep(1); results ...
I grok it's user avatar
0 votes
0 answers
58 views

Failure to use `/dev/pty` for one outside msys2 `bash` when calling it in `vim` installed inherently by git-bash

Env: Windows 11 pro. I want to call msys2 bash in git-bash's vim where both shares the same version of vim and bash (although this context seems to be weird). I asked one origin question in Vi/Vim SE ...
An5Drama's user avatar
  • 151
0 votes
1 answer
155 views

Keep a Mac working on a terminal task

I would like to keep a process going on a Mac. I'm starting the process in a terminal (doesn't matter using TMUX or not), locking the screen and walking away. Several hours later I see the process ...
Back2Basics's user avatar
0 votes
0 answers
170 views

How to enable split horizontal/vertical shortcut on WezTerm?

I'm on macOS, and my default terminal app is WezTerm (20240203-110809-5046fc22 installed). Is there a shortcut to do horizontal/vertical split from a right click, so I don't have to access the menu ...
anta40's user avatar
  • 865
0 votes
1 answer
37 views

Extract filepaths of .MP4 files in subfolders of main folder to textfile

I am on Mac. I want to use terminal or something to extract the filepaths of the .MP4 files within a folder with multiple levels of subfolders. I have a main folder that has subfolders. Each subfolder ...
Helppleaseme's user avatar
0 votes
1 answer
86 views

Changed color settings of ble.sh bash terminal are not applied

I installed the ble.sh from this git repository https://github.com/akinomyoga/ble.sh.git, but i want to customize the color settings with ble-face commands. What happens is that, I changed the color ...
Vitor Martins's user avatar
0 votes
0 answers
27 views

Homebrew, NPM and local project directories

I understand that using Homebrew is useful as some packages are necessary to be installed globally, but I don't understand the point in using Homebrew when you still have to install NPM at the local ...
Arnold Palmer's user avatar
0 votes
0 answers
30 views

Tmux session disconnect does not preserve session content when reconnecting

I need to copy a 200gb+ file to multiple servers from one server. I have a sftp transfer running in multiple tmux sessions from the one server. When I press ctrl+b, d to exit the tmux instance and ...
user460178's user avatar
0 votes
2 answers
98 views

Open Cygwin/MinGW/PowerShell/Cmd in current folder open in Windows Explorer

Lets say I have a folder open in Windows Explorer like this: I want that I be able to open a Cygwin terminal directly here by using keyboard shortcut or alteast by doing right click and selecting an ...
quantum231's user avatar

1
2 3 4 5
99