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
2 votes
0 answers
154 views

Every terminal is crashing in Windows 10 [closed]

Very weird thing happening: every terminal in my system is crashing after few seconds of opening [cmd, PowerShell, etc.]. I tried with a stand-alone terminal like cmder, that is crashing too. It's ...
Akash's user avatar
  • 29
1 vote
1 answer
280 views

How to execute three terminal scripts in three new tabs from Applescript?

I have the following apple script top execute three commands in different terminals. Is it possible to (1) combine this script to make it more efficient and (2) open in different terminal tabs instead ...
Brigadeiro's user avatar
0 votes
0 answers
61 views

Tmux does not respond to alt+click as Mac Terminal?

I am very used to using alt+click to move the cursor in Terminal on macOS. I recently switched from screen to tmux and this no longer works despite having mouse-mode set to on in my config (and it is ...
donkey's user avatar
  • 113
0 votes
0 answers
34 views

Teracopy 3.1 flashes terminal window after finishing file transfers

I am using Teracopy 3.1 on a pc running Windows 10 x64. After finishing any file transfers, Teracopy flashes a terminal window. How do I make it stop doing this?
hobachit's user avatar
1 vote
0 answers
145 views

Tmux sending wrong keycodes for "ctrl + arrowkey" and "ctrl + shift + arrowkey"

The problem I upgraded to MacOS 13.5 today and immediately noticed this issue. Inside of tmux (running in iterm2) when I perform ctrl + arrow-key or ctrl + shift + arrow-key the wrong keycodes are ...
JDN's user avatar
  • 301
0 votes
1 answer
4k views

MobaXterm file browser not following terminal after multiple SSH hops

I'm new to MobaXterm and I have a question about the SSH browser side panel. For my work, I need to connect via ssh to a Server A (login server) and from there ssh again to a Server B (processing ...
odisp's user avatar
  • 3
0 votes
1 answer
1k views

How to get kube-ps1 working in the Warp terminal on MacOSX?

I'm trying to move from iterm2 to warp, but one thing that I can't get working, which is quite crucial for me, is the kube-ps1 project. What it does is to make the current Kubernetes context visible ...
Johan's user avatar
  • 103
0 votes
2 answers
1k views

How to write a Terminal command to unrar a file in specific location?

On my Mac, I want to decompress a .rar in Downloads. I have hombrew and an unrar script already installed from GitHub; unfortunately, when I prompt the Terminal to unrar the file, I constantly get: ~ %...
Jerzy Przezdziecki's user avatar
1 vote
1 answer
1k views

Tmux tile layout arranges 8 panes into 3x3 instead of 4x2

When I split the window into 8 panes in tmux and cycle to the tile layout, the panes are arranged in a 3x3 fasion, with the 8th pane taking up 2 tiled spaces: Is there a way to make it arrange 8 ...
OutwardThinking's user avatar
1 vote
1 answer
812 views

Run Java JAR file in background

I have a .jar file that acts weird with hdpi screens. When I run it directly by double-clicking on it, the text is very small and blurry, as if it wasn't hdpi-aware. But if I open my terminal and run ...
404 Name Not Found's user avatar
1 vote
1 answer
66 views

Can I modify the exit key for the less command in ubuntu?

Is there any way to customize the less command to exit using a key other than 'q'? EDIT I have tried creating a file called lesskey under $HOME/.config with the following contents: #command \b quit ...
Dan's user avatar
  • 113
1 vote
1 answer
88 views

How do I end screen -x?

I am using screen -x to monitor the process of a rsync. Now I am scared I will end the rsync process in the terminal. Is it safe to end screen -x with CTRL-C or CTRL-D? Thank you
der-mali's user avatar
-2 votes
2 answers
287 views

How to use CD command in Windows Terminal with custom environment variables?

If I create a environment variable, I can use it with Win+R and enter %MyVariable%. The directory opens in Windows Explorer. However, if I try to do the following using Windows Terminal cd %MyVariable%...
iamveryfriendly's user avatar
0 votes
1 answer
362 views

Why doesn't zuluCrypt let me unmount my device from the terminal when the GUI works?

No matter what path I provide, it gives the same nonsensical error. The manual doesn't explain anything. sudo zuluCrypt-cli -q /run/media/private/a/sde1 ERROR: Required option( device path ) is ...
Stan's user avatar
  • 105
0 votes
0 answers
34 views

KMV Switch, monitor not turning on

I have a terminal and a pc connected to my monitor through a 2 port usb displayport cable kvm switch (model cs22dp). My problem is when I click the button to switch to the pc with internet it turns ...
Johnny B's user avatar
0 votes
1 answer
132 views

veracrypt misidentifies disk size

I tried creating a hidden partition on a 4TiB disk with veracrypt and it reports that only 416MiB are available. How can I create a hidden partition of (almost) the whole disk with the veracrypt cli? ...
HardcorEViruS's user avatar
0 votes
1 answer
31 views

Cannot read error in console nor via redirect

What I have done: Installed Ubuntu Server 20.04.6LTS to SSD (/sda), extra drives HDD (/sdb). There is an extra HDD (call it /sdc for now) that was RAID1. RAID1: I followed the ideas outlined here, ...
Tommy Gibbons's user avatar
0 votes
2 answers
600 views

How to configure the user's terminal history in Synology DSM?

The history is limited by 100 entries. In other Linux distros I can configure that in the ~/.bashrc of my user. But in DSM I found no such a file. So, how to set the $HISTSIZE and the $HISTFILESIZE (...
automatix's user avatar
  • 1,425
0 votes
1 answer
158 views

How can I make my terminal experience more visually pleasing on Fedora 37 for reading manpages?

I currently use the basic GNOME Terminal on Fedora and I've had to do a lot of reading of manpages in it lately and would prefer a more visually appealing experience beyond simply changing background/...
the_endian's user avatar
0 votes
0 answers
853 views

"zsh: command not found: ssh -Y" on mac terminal

I am trying to connect to a remote server using ssh, it used to work with no problem when I started the terminal and did ssh -Y <user@address> However, now I keep getting the following error: ...
ValientProcess's user avatar
0 votes
0 answers
65 views

How can I get iTerm2 to colour-code remote tmux sessions?

Currently I have a script called et.sh, which ssh's into a server, and integrates with iTerm2's native tmux integration to display the tmux session in native windows; until ssh $1 -t "tmux -CC a -...
Shadowjonathan's user avatar
0 votes
0 answers
19 views

Unable to type letter 't' in Webstorm terminal

I am facing a very weird issue with Webstorm. I am unable to enter letter 't' inside the terminal within Webstorm. There is no issue if I type within the code editor or elsewhere. But I have no clue ...
Shravani's user avatar
  • 101
0 votes
1 answer
85 views

How to yank text from a kill-ing and instert it at the cursor location in another terminal window?

How to copy, if it is possible at all, a text from one terminal and paste/input it into another without selecting it? More precisely, within the same terminal window, I can kill the text line by CTRL-...
utobi's user avatar
  • 129
0 votes
1 answer
141 views

ls ignoring extensions when colorizing with LS_COLORS

I'm trying to set LS_COLORS to colorize my ls output, but for some reason it is ignoring any file match patterns. It is correctly coloring executables, directories, etc., but it seems to be ...
mrjake2's user avatar
  • 121
0 votes
1 answer
276 views

ANSI codes in /etc/issue file

I have an /etc/issue file that contains some ANSI color codes on a Linux development board. When I connect from serial terminal, everything shows up perfectly. However, when I connect from SSH, the ...
avishorp's user avatar
  • 101
0 votes
0 answers
26 views

pipe text stream to eval in terminal

So I have a bunch of environment variables I am getting from netlify where I store them and I pipe them into an .env.local file, and then when I start my process it reads that .env.local file, but ...
user254694's user avatar
  • 1,165
0 votes
0 answers
106 views

How to spawn a perfectly silent daemon in ZSH which would last only for the session?

This question is quite similar to this one, although it's a bit more constrained. I would like to start a background job, but: I don't want any [1] 769021 to be printed. I don't want only this ...
radrow's user avatar
  • 143
0 votes
1 answer
217 views

Does rsync link to exact files or just files with the same name?

I wrote a little rsync backup script for my recently replaced computer (internal HD to external HD). When I got the new computer, I copied the files over (old internal HD to new internal HD). Same ...
curieux's user avatar
  • 103
1 vote
2 answers
252 views

How do you output the ACTUAL filesystem type on a Linux terminal, based on the mountpoint?

I thought that I had the right command: findmnt -no FSTYPE -T /media/a/abc123 Sadly, it does not output "NTFS" as expected and desired, but instead just returns fuseblk What filesystem type ...
Bunyon D's user avatar
0 votes
0 answers
454 views

Tab key working as prefix key in tmux

I've remapped my prefix key to Control-I(C-i). It works, but my Tab key now also works as a prefix key, I can't use it for things like autocomplete anymore. I don't know what is causing this, this is ...
mal1213's user avatar
1 vote
1 answer
40 views

What does ".//" represent while checking path?

In Mac terminal, I see that for current directory we see files as ./ which represents files/folders in current directory. but for the same sometimes we get .// , why is this needed? is there ...
NikhilP's user avatar
  • 113
0 votes
1 answer
25 views

Can I send an Ampersand late?

I regularly type something like open . or nautilus /examples/ and then kick myself because I really wanted to write: open . & or nautilus /examples/ & Is there some key combination ...
Joe's user avatar
  • 3,470
0 votes
1 answer
440 views

How can I prevent iTerm2 from printing environment information on startup?

I recently started using iTerm2 + Oh My Zsh to see what the hype was all about. While it's cool, I had some issues getting it to work properly. Specifically, it wasn't recognizing standard commands ...
Mike Ciffone's user avatar
0 votes
0 answers
268 views

Can't automatically kill session on terminal close

I'm using st terminal from suckless.org. By default there is no scrollback buffer so I would like to use tmux for this. The problem is when I use a keybinding to close the terminal the tmux sessions ...
Arthur's user avatar
  • 1
1 vote
0 answers
513 views

No Protocol Specified. Error: Can't open display. How do I resolve this?

I have installed Chrome OS Flex on my PC, which runs great, and I have turned on and installed Linux via the Developer menu in Settings. The problem is that I cannot run installed Linux applications. ...
Anchor's user avatar
  • 11
0 votes
0 answers
102 views

How do Linux terminal programs set up the environment for the shell program

I am writing a terminal emulator in Rust. The source is here. It forks itself and the child process (eventually) becomes the shell program which it reads output from and passes input to. On macOS, ...
deeBo's user avatar
  • 143
-1 votes
1 answer
355 views

Can I get things like nvm to persist on my WSL installation? Anything installed on WSL disappears when I kill the terminal session

From my day job I'm used to using mac when doing local web app development, using javascript, react, node, next.js, etc. I'm on my home windows machine and have WSL installed to get a more mac like ...
intA's user avatar
  • 403
0 votes
0 answers
54 views

How to automatically set up a series of reminders whenever a new file is created in a folder?

I want to do that on a Win11 machine. Let's say folder A has sub-folders B, C... Whenever a new file of a .xyz extension is created in any of them (but not when modified), a series of 6 reminders is ...
longtry's user avatar
  • 101
0 votes
0 answers
449 views

tmux status bar showing the terminal's available width and height in pixels

It would be nice if tmux could display the width and height of a current window within its status bar. I personally use :resize-window -x -y quite a lot, cause I connect from a computer to a second ...
freddie_ventura's user avatar
0 votes
1 answer
310 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
0 votes
1 answer
443 views

TMUX does not print full prompt on the windows terminal

Hello I have the following config for TMUX: set -sg escape-time 50 # https://github.com/microsoft/WSL/issues/5931 set-option -sa terminal-overrides ",xterm-256color:RGB" set -g mouse on ...
Daniel Hornik's user avatar
16 votes
1 answer
4k 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
153 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
2 votes
0 answers
376 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
31 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
65 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
361 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
23 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
40 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
3 votes
1 answer
1k 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
  • 191

1 2 3
4
5
99