As of May 31, 2023, we have updated our Code of Conduct.

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
0 votes
1 answer
19 views

On Linux: How to edit configuration file and Execute ^T

I am in Terminal and I am trying to get Waydroid to work. For VM’s I need to edit the configuration file. In the bottom corner of the terminal it says ^T to execute. If I press ^ on my keyboard (...
Hanybal's user avatar
13 votes
1 answer
3k views

“Terminal is not fully functional” warning with `less` but not with `more` (which is also `less`)

less complains about my value of $TERM, whereas more doesn’t. Which would be fine except for the fact that more is less. Originally I was puzzled by tools suddenly disliking my $TERM value (I thought ...
Anton Strogonoff's user avatar
0 votes
0 answers
41 views

Directly connecting a internal node of a remote server

I was trying to open files like .ipynb via terminal command line (command: code) on the remote server in VSCode. But code is not in PATH, so I used ~/.vscode-server/bin/...
xu chen's user avatar
1 vote
0 answers
30 views

Clear previous command output (not full screen)

Example This is on the terminal screen: user@host ~ % ls dir1 dir2 dir3 user@host ~ % whoami user user@host ~ % date Wed May 24 16:25:26 -03 2023 user@host ~ % [CURSOR IS HERE] I'm trying to ...
ranemirusG's user avatar
0 votes
0 answers
16 views

How do I make less look like a terminal to programs attached to its input?

Questions like "How do I get grep to pipe color output to less?" explain what flag to give to grep so it'll ignore the fact that less isn't a regular terminal. Is there a way to fool an ...
John Baber-Lucero's user avatar
1 vote
1 answer
49 views

Bash terminals launched from windows UI have an invalid `!::=::\` variable set

When I run printenv one of the returned variables is !::=::\. I noticed that the variable exists because docker does not work correctly with it set. $ printenv | grep :: !::=::\ $ docker stack deploy ...
anderio Moga's user avatar
1 vote
0 answers
33 views

What is the difference between different options for 'ls' colored output in zsh?

I want to display colored output for the 'ls' command in the terminal for my MAC but I do not understand the differences between some of the methods. On some articles and reddit posts I saw people ...
Ravi C's user avatar
  • 11
0 votes
0 answers
20 views

How do I change the location of my terminal username in Kali Linux? [duplicate]

When I use terminal in Kali linux, my username is located above the line I enter commands in and is not to the left of the command line as it for most users. I can't find the setting that changes this ...
Jared's user avatar
  • 1
1 vote
0 answers
31 views

Conflicting time-zones being reported at the terminal

I am using Linux Mint, and while inserting times using Org mode in emacs I noticed, the times inserted are in Eastern Standard Time, America. That was confusing since I am based in India. After ...
smilingbuddha's user avatar
1 vote
1 answer
36 views

Ctrl-C not working on MacOS/Zsh

I have a similar problem to Ctrl-C Not working in zsh But it is not the stty setting or the key-bindings. It definitely happened in one terminal, while on others it works. I get: from stty: eol2 = <...
thilo's user avatar
  • 21
-2 votes
1 answer
60 views

Trap signal in Bash Terminal of linux

What it means to trap a signal? How to trap certain signal by its name or ID in bash? This below is the trap code. How to edit it so that it traps certain trap codes like 9, 20, etc. #! /bin/bash ...
Humza Config's user avatar
0 votes
0 answers
32 views

head commands cause typed key output being gone

Why shell tool commands such as head into which data being piped, often make typed key output being invisible, gone on terminal, which will only be fixed by typing reset <enter> ? anyone savvy ...
Nonock's user avatar
  • 1
0 votes
0 answers
35 views

Error opening Visual Studio Code from Cypress on Mac: 'The editor process exited with an error: spawn EACCES'

I am trying to open Visual Studio Code from Cypress on my Mac by clicking on a file in the Cypress Test Runner, but I am encountering the following error message in VSC: "Could not open ...
user17410204's user avatar
0 votes
0 answers
18 views

How to suppress Jupyter's keybindings during the work with terminals?

I would like to use terminal sessions in Jupyter Lab as the staple tool. But the problem is to use specific keybindings, for instance, Ctrl+W for deleting command parts or Ctrl+B for tmux management. ...
Vovin's user avatar
  • 125
0 votes
2 answers
59 views

why is windows 11 terminal with launch size of 256 x 80 is bigger than a command prompt at same launch size

Just updated to Win 11 and am dealing with the default terminal. I'd like to be able to use multiple tabs of command prompts (note: I use a console editor for writing my SAS code that wants a 256 x 80 ...
William Viergever's user avatar
0 votes
2 answers
65 views

Why does terminal colour scheme have two values for each colour?

For example, below is the settings page of a terminal app "Tilix". Why are there two of each colour?
Damn Vegetables's user avatar
0 votes
1 answer
50 views

Extention for scrolling down in linux terminal

I want to scroll down in pages in terminal that are not command running area like in man page or set | less page. I have discovered that through pressing fn key, we can scroll down fast and the right ...
Humza Config's user avatar
1 vote
0 answers
81 views

Speed Up Zsh Loading Time in tmux

Like many users, I'm experiencing slow load up times with my shell on macOS. I've seen many questions about this topic, and I'm using a suggested workaround, which is setting the terminal emulator (...
buldog9800's user avatar
0 votes
0 answers
37 views

How to pass Ctrl+R to the git bash terminal in Visual Studio Code? [duplicate]

Right now while in git bash terminal inside VS Code if I press Ctrl+R nothing happened - VS Code awaits for the second key of chord: Is it possible to instruct VS Code to pass the Ctrl+R key ...
mark's user avatar
  • 856
0 votes
1 answer
23 views

Unusual behoiur in tmux, Tab clears the pane when it's not set to

For some unknown reason in Tmux the 'Tab' key clears the pane I'm in, which is annoying when I use 'Tab' to indent in Neovim and 'Shift Tab' to unindent. Is there a way to fix this (stop 'Tab' ...
arkosno's user avatar
0 votes
2 answers
58 views

How to show the terminal associated with a window in the status line

I tend to have a workflow with many terminal windows on my screen all running tmux with various different things running in them. I often find myself wanting to know "where is this background ...
Chris Dodd's user avatar
0 votes
0 answers
87 views

How to connect to sftp server from MacOS terminal using a SOCKS5 proxy with username and password?

There are similar questions like this around, but I haven't been able find the answer to my question, which is: How to connect to sftp server from a MacOS terminal using a SOCKS5 proxy with username ...
Johan's user avatar
  • 101
1 vote
1 answer
78 views

Open terminal to locally forwarded port

I am using ssh to access a remote server via local port forwarding. This however being the first time I'm using ssh, I'm not quite familiar with it. I am using this command ssh -N -i ~/.ssh/id_rsa -L ...
ptushev's user avatar
  • 13
1 vote
1 answer
53 views

is there a way to convert automatically images files to odt format in linux terminal?

is there a way to convert automatically images files to odt format in linux terminal? I have eg. 100 jpg or 100 png image files. It may take much time to insert them one by one. I have found many ...
Estatistics's user avatar
2 votes
1 answer
60 views

VScode, keybindings for integrated terminal

I've edited the keybindings.json file in vscode to avoid moving the right hand to the arrow keys adding, among the others, the following: { "key": "ctrl+j", "command&...
stew.ita's user avatar
1 vote
1 answer
72 views

Windows Terminal Not Picking up PATH variable

I'm using the latest Windows Terminal + Windows 11 + Powershell 7, and I came accross a very strange problem all of a sudden. I'm getting very weird behavior from windows terminal, after restarts, ...
Yehia A.Salam's user avatar
0 votes
1 answer
27 views

Serial terminal emulator for Ubuntu ( Zorin ) - PuTTY config window is too big for screen

I've installed Zorin on an old netbook with the aim of using it as a serial terminal to read and store data from an Arduino (eg Nano). I cant use PuTTY because it looks like this - the bottom part of ...
user2963760's user avatar
0 votes
1 answer
35 views

Streaming outputs to another window without running the same commands again on iterm2

First of all, I think every command running consumes some resources. So if I'd like to have another window displaying the same output of the same commands being run on another session without running ...
11100100's user avatar
4 votes
3 answers
664 views

Dynamically change terminal window size on Win11

I have an application that expects exact terminal window size. On Win10 I use the following batch script to start the application: @echo off mode 96, 50 py main.py pause When I used the same script ...
Marko Gulin's user avatar
0 votes
1 answer
49 views

How to prevent GNOME terminal from setting `all_proxy` (and friends) environment variables

I'm using Ubuntu 22.04, the GNOME Terminal would set all_proxy and friends as environment variables, automatically from system network settings, as configured for proxy. However, I would like to do ...
Compl Yue's user avatar
0 votes
0 answers
196 views

Google Chrome immediately closes whenever it is opened

I’m on a MacBook Air. I’ve restarted the laptop and reinstalled Google Chrome. Each time I try to open it, it pops up for a second then closes. I’ve tried opening the app through the terminal. The ...
Lukas Ferrell's user avatar
0 votes
1 answer
42 views

I installed grype on my Windows 10 machine, but my WSL2 console does not seem to detect it. What have I done wrong?

I installed Grype through a command I ran in WSL2 and I believe I correctly added it to PATH. When I try and use Grype in my terminal however, nothing happens. I added "C:\grype" to PATH. ...
nowa's user avatar
  • 1
0 votes
1 answer
16 views

conemu64 terminal color changed to reddish color

In Conemu64 I was installing updates and pressed Ctrl + C to cancel the updating of softwares installed suddenly the terminal color is changed to reddish. In order to simulate the above operation we ...
Udesh's user avatar
  • 776
0 votes
1 answer
89 views

how to change the main color of iterm2

I was trying to change the main color of iterm2 using the foreground color, but I discovered that it only affects some text but not all text: same goes if I launch mysql on command line, it takes the ...
abbood's user avatar
  • 1,174
1 vote
1 answer
99 views

Windows 10 WSL2 Ubuntu 22.04 no longer starting with bash colors

I'm using Windows Terminal. Added alias to .bashrc colors disappeared. Actually, I did a dumb thing - overwritten .bashrc with echo 'alias kubectl="minikube kubectl --"' > ~/.bashrc ...
Alex K's user avatar
  • 13
2 votes
1 answer
105 views

Protocol not avaible SSH

Sometimes I can access the server, but most of the time it returns the following error. ssh -vvv gilberto@146.164.6.223 -p 23490 OpenSSH_8.4p1 Ubuntu-6ubuntu2.1, OpenSSL 1.1.1q 5 Jul 2022 debug1: ...
Gilberto Carvalho's user avatar
0 votes
2 answers
76 views

Are linux commands (grep, awk etc) part of the system, or the shell?

I'm a developer, so I know my way around a terminal, but I never really dove into it. I can write bash scripts (albeit on a beginner level, not my area of expertise), but I now need to understand ...
romand's user avatar
  • 3
0 votes
0 answers
14 views

Custom colors on the GNU screen hardstatus bar?

I want to pimp my GNU Screen hardstatus bar with custom colors, however the GNU Screen documentation seems to suggest that the hardstatus bar is limited to 8 colors (in light/dark variants). Is there ...
Fergie's user avatar
  • 301
3 votes
0 answers
43 views

Not able to set lang to CN in zsh macOS, but locale is good. The word “total” is still shown in English

~/.zshrc: export LANG="zh_CN.UTF-8" export LANGUAGE="zh_CN.UTF-8" export LC_COLLATE="zh_CN.UTF-8" export LC_CTYPE="zh_CN.UTF-8" export LC_MESSAGES="zh_CN....
渐入佳境groove's user avatar
0 votes
1 answer
99 views

Guest Kali Linux GUI terminal window hangs in dual monitor layout in VMWare Workstation 17 Pro

I wasn't having this issue a week ago. This has newly developed for me. Here is the actual issue: When I run a command in the terminal while in dual monitor layout, the terminal window stops ...
Dave Hambone's user avatar
1 vote
1 answer
44 views

Why does socat with rich terminal get killed with signal 9 on OSX?

I used the following command from this question to test out using socat to build a terminal with rich signals: socat file:'/dev/tty',raw,echo=0 exec:'bash -li',pty,stderr,setsid,sigint,sane On Linux, ...
merlin2011's user avatar
  • 1,793
0 votes
1 answer
13 views

How do I send the 'setMark' escape code in Windows Terminal or iTerm2?

Windows Terminal now supports setMark which originally came from iTerm2. How do I add a mark (non interactively, ie so I can use this in my $PS1)? The docs have a screenshot of the relevant text ...
mikemaccana's user avatar
1 vote
1 answer
61 views

Set the volume to a specific value on Mac at a specific time using a terminal command

I want to schedule a volume increase on Mac, but can't quite get it to work. What I have right now is this command that I execute in the terminal: echo 'osascript -e "set volume output volume 10&...
Lavender's user avatar
0 votes
1 answer
77 views

why windows terminal looks bad when typing ls

I have a question, in my windows terminal - powershell when it is in the standard size and I try to list the files in a folder does not look good, but when the window is maximized if you manage to see ...
John James's user avatar
-1 votes
1 answer
78 views

Terminal search with output that excludes directories (as opposed to files within a directory)

I'm trying to do a recursive search in Terminal to find all files that are not folders; this is to confirm that a large directory structure has no content in it. Is there a way to do this? Starting ...
Jordan Elpern-Waxman's user avatar
0 votes
0 answers
32 views

Command not found -bash error

I am noticing that after I did something with terminal attempting to install a program that some third party commands stopped working. For example, I tried installing miniconda with these two ...
lumsum2's user avatar
0 votes
1 answer
117 views

Terminal not asking for password while using sudo

well it all started yesterday, while i was trying to install larbs installation on a different user. it did not work and i had to delete the other user. when i cam e back to my admin user i realised ...
Axel Fire's user avatar
1 vote
2 answers
77 views

How to handle triple-nested quotes in Zsh? [duplicate]

I've been setting an alias that running Apple Script on Terminal. As below: alias playda="osascript -e 'tell application "QuickTime Player" activate set thisFile to open POSIX ...
11100100's user avatar
5 votes
6 answers
5k views

Why does Windows 11 PowerShell or terminal lack Linux command line tools?

I am using Windows 11. In the terminal, the usual Linux commands are not available. So commands such as chmod and vim return command line errors like: vim : The term 'vim' is not recognized as the ...
tachyon's user avatar
  • 279
0 votes
0 answers
98 views

How to copy across terminals using text editor vim without clipboard support?

options in my version of vim : vim --version | grep clip -clipboard +jumplist +popupwin +user_commands +ex_extra -mouse_jsbterm -sun_workshop -...
mazda's user avatar
  • 51

1
2 3 4 5
96