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

Access Linux programs of Cygwin from cmd and powershell in windows

I have been using Cygwin for a while. When I need new packages, I open the setup and select the versions I need the the setup handles the rest. I noticed that the programs are all downloaded to C:\...
quantum231's user avatar
1 vote
1 answer
97 views

Keep command line visible while scrolling

Unsure what the best place to tackle this would be .bashrc? Using different shell? Some fancy terminal emulator? Basically, I just want to keep seeing the command line / the last line of the terminal ...
sonofevil's user avatar
  • 127
1 vote
1 answer
57 views

Windows 11 Browser videos are not visible behind transparent CMD window

Hi I am experiencing a strange issue with my recently installed Windows 11, I adjusted transparency of CMD terminal window such that the background contents are visible. It helps to read documentation ...
Zain Ul Abidin's user avatar
-1 votes
1 answer
775 views

Can't use terminal, I keep getting "zsh: command not found: npm" even after an OS re-install

I don't remember what I had done, but every time I attempt to run a command (npm install -g gulp) in terminal, it returns a zsh: command not found: npm. This is a command I previously had no issue ...
Arnold Palmer's user avatar
0 votes
0 answers
29 views

Ubuntu (ZorinOS) boots only into tty1 terminal after delering all default keyrings

I am attempting to boot my computer after utilizing Seahorse to remove all of the default keyrings. Regretfully, the only thing I receive in return is a terminal that appears only on my secondary ...
gerscorpion's user avatar
0 votes
1 answer
105 views

Clearing the terminal without deleting anything [duplicate]

In my case clear actually deletes all onscreen output. What I want is a way to start off with a clear terminal while still having access to all prior output by scrolling up. I use Kitty and Fish btw.
J-Kappes's user avatar
2 votes
0 answers
102 views

Why my terminal throws control characters while using arrows in mysql-client?

I have a situation with remote servers (all Debians) where I get control chars into mysql-client command line when I try to search in history (CTR+R) and try to make the first move: mysql> update ...
wk.'s user avatar
  • 188
0 votes
2 answers
488 views

How to output a bright Green check mark?

OS: Kubuntu 22.04.4 LTS x86_64 to display above: neofetch --stdout |grep 'OS:' Terminal or bash script: printf '\u274c\n' # works fine. Bright red X. ❌ printf '\u2714\n' # outputs a check mark, ...
joseph22's user avatar
  • 367
1 vote
0 answers
29 views

How to make a script to launch different scripts in different workspaces in linux?

I have limited access to a linux machine, meaning I cannot install any external tools. I want to make a script to open terminals with ssh at different workspaces. However, I found that one way to move ...
Yi Qiang Ji's user avatar
0 votes
1 answer
162 views

/usr/local/bin/oh-my-posh error block use of Ubuntu terminal

I installed oh-my-posh in Ubuntu-22.04 LTS. But something went wrong and when I tried to open Ubuntu-22.04 terminal on WSL I am getting errors related to /usr/local/bin/oh-my-posh. I cannot use the ...
whoami's user avatar
  • 141
0 votes
1 answer
71 views

How to bring a job to foreground and then disable job control in bash?

I have a program running in a terminal window. I wish to disable the Ctrl+Z shortcut from suspending the process. After pressing Ctrl+Z, the command fg && set +m unfortunately disables job ...
SeparatedScheme's user avatar
0 votes
0 answers
42 views

Encoding issues over SSH characters shown as ~@~X in vim

I am having issues when viewing a file through SSH I have 2 computers connected to each other myServer 'myHost' , sharing over 'SSH' a session. On myServer I have got a log from wget which originates ...
freddie_ventura's user avatar
0 votes
0 answers
211 views

Git Bash doesn't display characters correctly, using Visual Studio Code's integrated terminal

I use Git Bash as the default terminal profile on Windows. When I execute this command, I get the below output: memlab run --scenario tests/oversized-object/index.js > 'command' �����ڲ����ⲿ���Ҳ���...
Lin Du's user avatar
  • 101
1 vote
0 answers
2k views

How to manually uninstall PGAdmin4 from macOS?

I have tried removing manually by removing PGAdmin4 from my applications folder. I also followed a few steps from this post here. To my surprise some of the files existed and I was able to remove them....
Ahmed's user avatar
  • 111
0 votes
0 answers
64 views

using scp or echo in zsh with alias parameter print 'No such file or directory'

here zsh on MacOSX. I would like to point out that I have tried several ways, with and without quoting, single or double quoting, with and without brackets, with/out $variables. But I receive ever ...
Stefano Monti's user avatar
-4 votes
1 answer
630 views

Issue Decrypting File with OpenSSL: "hex string is too short, padding with zero bytes to length"

I'm encountering an issue while trying to decrypt a file using Open SSL. I have a file named fc382Crypto.bin provided by my instructor, and I need to decrypt it using the blowfish algorithm with CBC ...
BariBx's user avatar
  • 1
0 votes
1 answer
130 views

Windows Terminal: Open cmd.exe then run script

I want to create .bat file to open cmd.exe in Windows Terminal and activate python environment cd D:\pythonApp venv\Scripts\activate this successfully open cmd in Terminal and set the directory wt....
uingtea's user avatar
  • 101
0 votes
1 answer
35 views

How can I run Cygwin Terminal under a current Cygwin installation under Windows 10?

In the past I have used Cygwin Terminal, i.e. a window similar in external appearance and external behavior to the DOS/Windows command line window that runs natively under Windows. Right now, in my ...
Christos Hayward's user avatar
0 votes
0 answers
53 views

Putty history access weird behavior

I'm using PuTTY v0.78 on a Win10 host, connecting to Ubuntu v22.04. After I've pasted any command into the PuTTY terminal, when I scroll though the history using ↑, I can't scroll up to the prompt ...
Daros1001's user avatar
1 vote
1 answer
161 views

How do I create a pty without a shell?

Backstory: I have a CLI Python application. I want to be able to debug it without interfering with the CLI of the main application. The Python debugger allows you to specify an alternative stdin/...
FrederikVds's user avatar
1 vote
0 answers
87 views

Recover Linux Mint HDD

I have an HDD that doesn't work anymore. It was working fine, but the OS was lagged and the user turned off the computer using the power button, after that the bios doesn't recognize the HD anymore. ...
Anderson Silvestre's user avatar
0 votes
0 answers
218 views

Failed to enable unit: Invalid argument systemctl enable .service

I have made a startup_test.sh with the following contents cd /home/xyz/Desktop/ gnome-terminal -e "bash -c ./efg" #desktop folder contains an executable named efg. If I run gnome-terminal -...
Vinod's user avatar
  • 133
1 vote
1 answer
105 views

git is unable to properly determine the terminal width (git-bash, windows)

As you can see in the screenshot, the terminal is currently 100 characters wide, and both methods of detecting such that I'm aware of are returning the correct value. Despite this, unless I explicitly ...
davidmwhynot's user avatar
1 vote
0 answers
25 views

Copy interactive command outputs from Terminal to MacOS clipboard programmatically

Developing this answer, which offers a way to copy a given line from standard output to MacOS clipboard – I wonder if there's a way to do the same for interactive commands? For example: ~ bc -l >&...
Dmitrii Kuznetsov's user avatar
1 vote
1 answer
325 views

Default shell zsh but responding bin/bash

I have no idea what I did! I was installing maven and one of the guides had me do something and now I'm stuck in default zsh. I've tried changing my terminal preferences to be /bin/bash, as well as my ...
beepbeepboop's user avatar
12 votes
3 answers
2k views

Stop scrolling to the bottom automatically in PuTTY

I am using tail -f to monitor a file via PuTTY. But each time new content arrives then it automatically scrolls to the bottom and so I can't read the text. Is there a way to make it stop that ...
Black's user avatar
  • 8,121
0 votes
1 answer
91 views

Linux/Ubuntu/Orange Pi5 retrieve open tabs on Chromium (kiosk mode) via terminal - Powershell

I have a problem as of late where I am developing some PowerShell script to manage and update some digital displays. Please see below for my work in progress (By no means done). I am struggling to be ...
M.Atkinson's user avatar
0 votes
1 answer
173 views

numpad enter remapped in new macOS updates for alacritty

I have been having annoying problems with my terminal Alacritty. In macOS after recent updates my numpad enter is not giving me what I would expect when I press it. Normal Keyboard enter. ❯ whoami ...
nelaaro's user avatar
  • 13.7k
1 vote
0 answers
70 views

Switching from Mac to Linux DE: Strategies for globally swapping <ctrl> modifier with <meta>? [closed]

I'm switching from MacOs to Linux and exploring several popular Desktop Environments like KDE Plasma, Gnome & Pantheon, etc. I find that the MacOS convention of using the meta key (aka the command ...
Todd Ditchendorf's user avatar
0 votes
1 answer
714 views

Resize Tmux status bar size

I'm trying to resize the status bar from tmux and I don't find anywhere where they show how to do it. My main problem is that it's too big for me and kinda distracting. tmux I want to be able to ...
trissaik's user avatar
5 votes
1 answer
67 views

How to reposition window in SSH session? I am logging into a Linux machine from a Mac machine

I am using a Mac with XQuartz to display an X application running on a remote CentOS machine. I'm trying to reposition the window from the remote machine using my keyboard, as it opens in such a way ...
blaughli's user avatar
0 votes
0 answers
88 views

Line wrap not working correctly in Tmux in Tmux in Mosh

I connect via Mosh on some server, and run Tmux there, which runs fine. From there, I sometimes connect via SSH to other servers, and I might run another Tmux inside there. For most other servers, ...
Albert's user avatar
  • 6,681
0 votes
0 answers
26 views

Qemu - bind guest OS to secondary monitor without GUI on host

I am running arch distro with terminal only (without any GUI). I would like to start Qemu guest machine and bind it to a secondary monitor. Is this doable?
ojek's user avatar
  • 111
0 votes
3 answers
71 views

display path to files with same names

with this command in Terminal: ls -R |sort | uniq -d | sort -r I can display a list of files with the same names located in the running directory and subdirectories. But I would like to display also ...
all2alb's user avatar
1 vote
1 answer
80 views

Is there a way to set password entry via curses interface in terminal?

For example when you forget to put sudo before "systemctl ..." insted of gui interface poping out I want a curses prompt in my termial. Something like pinentry but for sudo.
xorgzz's user avatar
  • 11
0 votes
1 answer
476 views

NeoVim sluggish with tmux

NeoVim use 0.5-1 sec to go from insert to normal mode IF in tmux, not otherwise. I use Alacritty with WSL (Debian), and have tested in the following ways. Tested if it was NeoVim plugins NeoVim ...
Lepherd's user avatar
  • 41
0 votes
1 answer
81 views

How can I temporarily prevent a WSL WSLTTY terminal from automatically closing?

I have a shortcut on my taskbar that opens a WSLTTY terminal. When I click on it, it flickers open and immediately closes. I suspect there is an error message being printed but it closes too fast for ...
Daniel Kaplan's user avatar
0 votes
1 answer
3k views

Alacritty: YAML config is deprecated, please migrate to TOML using `alacritty migrate`

Everytime I start alacritty I get the following error messages: [0.000620404s] [WARN ] [alacritty] YAML config "/home/l540/.config/bspwm/alacritty/alacritty.yml" is deprecated, please ...
TechNoob's user avatar
0 votes
0 answers
68 views

Unsure what happening with my terminal but I'm getting a weird response

Whenever I run a python file, (vs code) or even open my terminal on mac I get a warning saying. /Users/ABC/.zshrc:1: command not found: “alias /Users/ABC/.zshrc:2: command not found: “alias /Users/ABC/...
Angus_U22's user avatar
0 votes
0 answers
47 views

How to make the Chromebook's Linux VM terminal run automatically when booting/booting up?

enter image description here How to make the Chromebook's Linux VM terminal run automatically when booting/booting up?. I hope that maybe someone has tried it, maybe there is someone who has ...
ZAB Pro's user avatar
  • 11
0 votes
2 answers
323 views

How can I write my CPU temperature to a file on an Intel Mac?

I'd like to log my Mac CPU temperature to a disk file in the Mac terminal. I've tried: sudo powermetrics --samplers smc | grep -i "CPU die temperature" >> cpu_temps.txt ...and: sudo ...
VikR's user avatar
  • 113
2 votes
1 answer
72 views

What is the text in the frame header of Terminal on startup?

When I start up a Terminal window on macOS, the following text scrolls by in the frame header: I recognize a few of my brew'd packages like pyenv in there, as well as some basic posix packages, but I'...
shea's user avatar
  • 101
-2 votes
3 answers
165 views

Is using SUDO in the terminal of the Mac safe?

I've recently begun programming in Java using VS Code. Recently, I purchased a used 2019 MacBook Touch Bar, and I'm still getting used to using the terminal to troubleshoot issues. Regrettably, I used ...
Tindra's user avatar
  • 1
0 votes
0 answers
40 views

CentOS 7 : TCSH Shell : How to use tab key for autocompletion but without increasing terminal log history

Please forgive if this has addressed before. I couldn't find the solution or I may not be able to phrase the question correctly. This is my first question to the community. I am using CentOS7 and tcsh ...
reasonhome's user avatar
0 votes
1 answer
671 views

MobaXterm Terminal Settings will not get saved in subsequent runs of a session

When I spawn a new ssh session in MobaXterm and Change the font family in terminal settings this setting won't persist in new spawns of the session. How can I fix that?
Mohammad Hosein's user avatar
1 vote
1 answer
95 views

GNU 'Screen' clears some or all of the output history displayed in the terminal when attach to the screen

I use autossh and also screen on my Ubuntu server, because of the poor internet connection I have, I use both to keep my connection alive even when my internet connection is lost... But I experienced ...
TuanHaxor's user avatar
0 votes
0 answers
65 views

Is it possible to use the signalstats YAVG filter in FFMPEG to control the gamma correction in a video?

I don't know if this is even possible, but something tells me it is… You see, I want to dynamically control the gamma correction in FFMPEG/FFPLAY depending on how bright/dark the frame being ...
tuqueque's user avatar
2 votes
2 answers
676 views

What is the command line shortcut to uncomment a previously commented line?

Alt+Shift+3 can only comment out, on subsequent invocations simply adding multiple comment characters (hashes) instead of toggling on / off the comment. How to uncomment a previously commented line or ...
mirekphd's user avatar
  • 157
0 votes
1 answer
82 views

What command to force dd output to a fixed width of 90 characters?

using: neofetch --stdout |grep 'OS:' OS: Kubuntu 22.04.3 LTS x86_64 dd --version dd (coreutils) 8.32 Background: re-purpose a disk = objective some script is being developed some script will delete ...
joseph22's user avatar
  • 367
1 vote
0 answers
165 views

Autologin on debian without deskstop environment

I want to autologin to a specific account upon booting Debian, I do not want a desktop environment for my use case and simply need to bypass the input for the username. The input method I will be ...
mmd's user avatar
  • 13

1
2
3 4 5
99