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".
4,908
questions
0
votes
0
answers
10
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 ...
0
votes
1
answer
24
views
Clearing the terminal without deleting anything
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.
2
votes
0
answers
39
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 ...
0
votes
2
answers
64
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, ...
-1
votes
0
answers
55
views
notify when terminal output added
It would be helpful to know if there's a way to get notified e.g. a sound, or better a notification popup, when a line is added to the terminal output.
e.g. while true; do; sleep 5; echo "notify&...
0
votes
0
answers
18
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 ...
0
votes
1
answer
12
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 ...
-2
votes
0
answers
24
views
How can i fix terminal process in windows 10 [closed]
:The terminal process "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" terminated with exit code: -1073741819.
0
votes
1
answer
25
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 ...
0
votes
0
answers
19
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 ...
-3
votes
0
answers
23
views
my terminal path changed by my mistake [duplicate]
my linux debian main terminal path has been change by mistake. bcouse i wanna change my laravel drectory path. so if i wanna change my directory path . i should do cd /opt/composer/bin . that ...
-2
votes
0
answers
35
views
I accidently changed my main terminal path
I am new in linux and iam learning php programing for 9 month, now this time i am installing laravel thorough composer
After installing , terminal says laravel command not found thats why i use ...
-1
votes
0
answers
41
views
Change the Font of Windows Terminal Session Using `PowerShell`
Is there a way to change the Font using in a Windows Terminal session (Tab) using PowerShell?
I know how to set a font for a profile in Windows Terminal, yet in this case I'm looking for a way to ...
0
votes
0
answers
3
views
How can I use Emacs under Linux Mint as a proportional font Evil-mode editor and a proportional-font terminal? [migrated]
In OS X or X11 terminal emulator supporting proportional fonts Emacs is recommended for proportional font editing and shell use.
What can / should I put in a .emacs file so it loads Evil mode and ...
0
votes
0
answers
40
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' �����ڲ����ⲿ���Ҳ���...
0
votes
1
answer
127
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....
0
votes
0
answers
15
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 ...
-4
votes
1
answer
162
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 ...
0
votes
1
answer
57
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....
0
votes
1
answer
19
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 ...
0
votes
0
answers
48
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 ...
1
vote
1
answer
71
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/...
0
votes
0
answers
35
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.
...
0
votes
0
answers
36
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 -...
1
vote
1
answer
42
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 ...
1
vote
0
answers
12
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
>&...
1
vote
1
answer
86
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 ...
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 ...
0
votes
1
answer
57
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 ...
0
votes
1
answer
74
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
...
1
vote
0
answers
48
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 ...
0
votes
1
answer
142
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 ...
5
votes
1
answer
58
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 ...
0
votes
0
answers
35
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, ...
0
votes
0
answers
14
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?
0
votes
3
answers
68
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 ...
1
vote
1
answer
61
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.
0
votes
1
answer
96
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 ...
0
votes
1
answer
37
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 ...
0
votes
1
answer
1k
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 ...
0
votes
0
answers
64
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/...
0
votes
0
answers
33
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 ...
0
votes
2
answers
185
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 ...
2
votes
1
answer
51
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'...
-2
votes
3
answers
106
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 ...
0
votes
0
answers
20
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 ...
0
votes
1
answer
190
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?
1
vote
1
answer
43
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 ...
0
votes
0
answers
48
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 ...
2
votes
2
answers
595
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 ...