Skip to main content

Questions tagged [terminal]

A terminal is an environment for text input/output. Inside the terminal, one runs command-line and text mode programs (including shells).

Filter by
Sorted by
Tagged with
-1 votes
1 answer
15 views

wezterm > tmux > nvim colors not forwarded through tmux correctly

I'm currently having the problem that the colors are not forwarded correctly from nvim through tmux to wezterm. I think tmux is to blame since the colors work like expected when I invoke nvim from ...
glades's user avatar
  • 99
0 votes
0 answers
41 views

bash completion stopped working out of the blue [closed]

Running Debian unstable here. Two days ago, tab completions in bash stopped working in Konsole. No recent upgrades (except any security upgrades that may have happened in the background). I checked ...
user2751530's user avatar
1 vote
1 answer
53 views

Setting icon for hidden files in LF (file manager)

What I want to achieve is to have a specific emoji appear next to dotfiles inside file manager "LF" (these can be made visible in the file manager with the "zh" shortcut). In my ~/....
Noa's user avatar
  • 31
-1 votes
1 answer
28 views

How to turn Audio Output into Virtual Microphone?

I have an APp that converts Audio input from microphone to a specific Filter I am trying to implement on the audio for a project. It is needed to make the app interpret the audio from the app as a ...
unkp's user avatar
  • 1
-4 votes
2 answers
99 views

How can I find out what the most lightweight terminal emulator is?

I am trying to reduce the disk space by my system, by removing packages I don't or rarely use, as well as the RAM needed for my programs and background tasks. I need the terminal mostly for displaying ...
Nepumuk's user avatar
  • 709
-4 votes
1 answer
86 views

Find actual file by only file name, not literally everything non-related

PuTTY/SSH and logged in as root I simply want to find any instances of the file PEAR.php. I've looked through a dozen different tutorials but they seem to just copy-paste the same instructions. An ...
John's user avatar
  • 194
0 votes
0 answers
17 views

Error installing codelite-plugins

gui@Latitude:~$ sudo apt-get install -y codelite-plugins Reading package lists... Done Building dependency tree... Done Reading state information... Done Some packages could not be installed. This may ...
Guilherme Woolley's user avatar
0 votes
1 answer
34 views

CodeLite install Ubuntu

Can you show me step by step how to install CodeLite on Ubuntu 24.04 LTS via terminal ? Which is the last version ,which version should I install? I have seen there versions 17.0.0 and 17.10.0.. I ...
Guilherme Woolley's user avatar
0 votes
0 answers
25 views

Ghost string in terminal, string doesn't go away when using backspace [duplicate]

Linux shell problem on a server, bash 5.1.4(1)-release. Debian 11.10. I have this on my command line right now after pressing the up arrow: server# ctr plugins listkubeadm init --pod-network-cidr=10....
AttributedTensorField's user avatar
-1 votes
2 answers
180 views

Is it possible to translate bash to another human language like Arabic?

Bash commands are written in the Latin alphabet, is it possible to translate them to another language? In this case, Arabic. Arabic is written rtl and I remember I tried it using alias before when I ...
Abdelaziz Baheg's user avatar
0 votes
0 answers
28 views

Can you help me with playing "Spotify" in terminal?

I'm looking for some help with setting up Spotify on my terminal using a free Spotify account. Previously, there had been some configurations that worked, but it seems like they no longer do for free ...
DarKnightz's user avatar
0 votes
0 answers
23 views

Is there a reverse mapping of key codes or escape sequences to common keyboard keys?

I am using fish for my shell, so I have an easy way the escape sequences or key codes for various key presses using the fish_key_reader builtin. What I'm looking for is the reverse. Is there a way I ...
Hari's user avatar
  • 127
1 vote
0 answers
46 views

Shell: Customizing the "Display all N possibilities? (y or n)" message

I already know that double-pressing the Tab key on Bash terminal will enlist all files and folders in the current working directory or, when appropriate, show Linux executables that I can run. I want ...
groaking's user avatar
0 votes
0 answers
34 views

Node.js recently started emitting all stderr in red text. How to handle this cleanly?

I use ANSI colorized text output in logs and other output that I emit on stderr in some of my programs. Since I've been doing this kind of thing for years, I am pretty familiar with the capabilities. ...
Steven Lu's user avatar
  • 2,312
0 votes
0 answers
41 views

I want to know the redirected URL from current URL

URL = "http://downloads.sourceforge.net/sourceforge/gptfdisk" I can access this URL in my browser, but it is getting redirected to a newer URL. Problem: When I give this command to get ...
Viraj Patel's user avatar
0 votes
1 answer
61 views

How to add categories in `free` command

I can extract the amount of memory used by running the following two commands from terminal: free -h | awk '/^Mem:/ {print $3}' This shows the used memory, e.g. 4.8Gi. free -h | awk '/^Mem:/ {print $5}...
ellat's user avatar
  • 37
0 votes
0 answers
25 views

how to make default CWD not ~/Desktop for new terminal window [duplicate]

In RHEL-8.10, the current working directory is ~/Desktop when I open a new terminal window within the gnome3 desktop. How can I make the current working directory just ~ whenever I open a new terminal ...
ron's user avatar
  • 7,239
0 votes
1 answer
38 views

Can I force xdg-open to use a new terminal when opening a terminal app?

I would like xdg-open to open a new terminal when I run it on a file from the terminal and it opens, for example, nvim. My default text editor for text/plain is set to nvim.desktop. When I open a text/...
vosjedev's user avatar
0 votes
0 answers
81 views

Bash terminal lagging one input behind

After a recent update, I've noticed that working on any terminal for more than a few minutes causes a delay between inputting a keypress and seeing it reflected on the screen. Specifically, if I were ...
Nick Reed's user avatar
  • 163
0 votes
0 answers
26 views

Tmux copy-paste with mouse mode on while using the `less` command

Hopefully this is not already answered, given that there are 100s of question specifically about tmux copy-paste on mouse mode. I am specifically trying to copy text using mouse selection while using ...
Ayush Goel's user avatar
1 vote
1 answer
32 views

Relaunch a terminal using a terminal command

Today, to convert from Markdown to PDF using Pandoc, it was necessary to install pdflatex. I did brew install basictex and then it was necessary to relaunch Terminal. For this, I simply closed it and ...
jsx97's user avatar
  • 71
0 votes
1 answer
84 views

Explain the output for "ls -ltr *s*" in ubuntu 22.04

I am new to Ubuntu and was trying to write some commands on my own. I found that ls -ltr * is a wild card, using ls -ltr *.txt will show all files having extension of .txt. Whereas, ls -ltr ex* will ...
kNN's user avatar
  • 11
-1 votes
1 answer
75 views

Kali Linux terminal autocomplete breaks hitting tab, or paste from clipboard and pressing left arrow

If I paste a command from the clipboard and hit left arrow to change the command the command changes it will duplicate the first word of the command, however if you use the cursor to it, it starts at ...
trchosen1's user avatar
1 vote
1 answer
23 views

Maintain position in terminal command history on macOS?

I enter many commands into the terminal. I enter command a, then b, then c, etc. I'm on command g now but I want to execute a, then b, then c, again. I press up (g), up (f), up (e), up (d), up (c), ...
Mario's user avatar
  • 163
0 votes
0 answers
24 views

Cura Continues Crashing on Debian

I am attempting to use Cura as an app on my Chromebook using Debian Linux. I downloaded it from Flathub and have it installed on the computer. However, when I click on it, it brings up the little ...
Luke Hagood's user avatar
0 votes
1 answer
62 views

How do i get the bash command below to stop echoing these bash alias not found errors?

I think these bash commands were created with the intention of increasing htops refresh interval, cant remember where i found them. However I have since figured out all that was needed to do to get it ...
bob king's user avatar
0 votes
0 answers
43 views

"[" displayed as "Ä" and "]" displayed as "Å" in remote terminal from vscode

I did the following things in VSCODE: remote ssh into a remote virtual machine; opened a terminal; typed some characters into the terminal. I then noticed that [ is displayed as Ä and ] is displayed ...
Ziqi Fan's user avatar
  • 237
2 votes
1 answer
116 views

how to change font size locally in xfce-terminal?

Does anyone know if there's a way to change the font-size in xfce-terminal locally (for just one window), preferably on the command line? It's possible to change it globally (for all terminal windows) ...
jyoung's user avatar
  • 111
1 vote
1 answer
74 views

Unix terminal flashes white on autocomplete

When I work with a terminal via ssh and press Tab button my screen is flickering white. Is there a way to disable it? I connect to a Ubuntu server via putty. My shell is Zsh but I have the same ...
SavaLione's user avatar
0 votes
1 answer
53 views

How to specify that an optional argument requires 2 arguments in a zsh competition script?

I am writing a custom competition function for zsh. Currently, I have the following code _arguments \ ... '(-G --glitchpct)'{-G+,--glitchpct=}'[Controls how often the characters on screen glitch]' I ...
Alex.Kh's user avatar
  • 101
1 vote
2 answers
87 views

Find if network supports IPv6

Is there a way to find out if the IPv6 network cable is disconnected from the server through the terminal? Pinging google won't work as it could be an intranet. Any help would be appreciated!
user2384330's user avatar
0 votes
1 answer
30 views

Open app in Terminal. How can I pin its icon to the doc?

I just installed Parsehub on a System 76 Lemur Pro running Pop!_OS 22.04. Question applies to other apps though When I run Parsehub via the command line, the app's icon appears on the dock. How can I ...
runny-tightwad's user avatar
0 votes
1 answer
139 views

E: The repository 'http://archive.debian.org/debian bookworm Release' does not have a Release file. among other errors

When typing the following command, sudo apt update I get the following errors and warnings: Ign:1 http://archive.debian.org/debian bookworm InRelease Hit:2 http://download.virtualbox.org/virtualbox/...
andrea sevincel's user avatar
0 votes
1 answer
116 views

I cannot Install Brave under on Debian 10

I have been trying to install brave-browser, so far to no avail. I installed it successfully before. But I wanted to upgrade it. In the process I did: sudo apt purge brave-browser and when I tried to ...
Angel Perez 's user avatar
0 votes
3 answers
72 views

How to match a pattern instead of a single letter/number using brackets?

I want exclude MSG, PDF and DOC from my path with shell parameter expension using brackets. When I place MSG between brackets only deletes the M instead of MSG. I looked around on the internet and ...
unixcandles's user avatar
0 votes
2 answers
71 views

How can I connect a bash process to a tty _without_ using getty

I would have two serial usb devices connected to each other, /dev/ttyUSB1 and /dev/ttyUSB2. I would like to run /bin/bash connected to one end, so that I can attach to the other end using picocom and ...
Alex028502's user avatar
3 votes
2 answers
257 views

How to replace both lower and uppercase extensions with Parameter Expansion?

I'm converting doc files to txt using catdoc on Linux. To keep the same file name as output file I'm replacing the .doc extension with .txt using parameter expension. But there are many doc files ...
unixcandles's user avatar
7 votes
3 answers
1k views

Is the difference between physical terminal and Linux virtual terminal the use of serial cable?

In the early days of computing, the setup is usually like this: and we call the VT-100 "physical terminal". But in Linux, we call virtual terminals "virtual" (the ones accessed by ...
JLC's user avatar
  • 317
0 votes
2 answers
179 views

Linux terminal with custom buttons to execute scripts or commands

I'm aiming to improve my terminal usage for software development by creating a dashboard. First of all I want splits, vertical/horizontal, this is already possible with Tilix or Terminator (I don't ...
madprops's user avatar
  • 190
1 vote
0 answers
96 views

How to work with CPU and memory intensive application in Linux?

This is the scenario,- it is a Java Application mainly, Heap Dump & Thread Dump is not helping me. Maybe I am not wise analyzing it. Observation 1) Lots of memory seems to be utilized. [maddipp1@...
Dev Anand Sadasivam's user avatar
0 votes
3 answers
121 views

Remove all lines between two similar patterns if a specific pattern in between is not matched

The title should be: Remove all lines between two similar patterns, including the line of the starting pattern. if another specific pattern in between is not matched. I made it shorter because its ...
pwrsheller's user avatar
0 votes
2 answers
106 views

create folders from a text file

ls -R $pwd > text.txt The above command generates the below txt file: engagement groups solo text.txt ./engagement: VAM01427.JPG _VJR3208.JPG _VJR3244.JPG _VJR3281.JPG ./groups: family ...
vamshi's user avatar
  • 3
0 votes
0 answers
33 views

(Linux, terminal, key mapping) 'Home' & 'End' key are not recognized in neovim built-in terminal-emulator

Previously I used vim editor for python, c++ code. As the code gets longer and complex, it is hard to write code without ide. So I installed neovim and the problem is 'home' and 'end' key doesn't ...
T.H. Kim's user avatar
0 votes
0 answers
31 views

pts abbreviation and old Unix words [duplicate]

I remember tty was the abbreviation of TeleTYpe. Now I don't know what pts (/dev/pts) stands for.
PersianGulf's user avatar
0 votes
1 answer
27 views

Show a title in nano text editor

I'm doing some setup script and I want to open the nano editor. In addition I want to show a title (or a TODO message) on the as a title in the terminal. Something like this: +-------------------------...
powerpete's user avatar
  • 241
0 votes
1 answer
96 views

Tilix - open new tab in the same diretory as current tab

Does anyone know, how I can configure the gnome terminal emulator tilix to open a new tab automatically in a new window? As you can see on the screenshot, I opened a new tab in a vertically tiled ...
nath's user avatar
  • 5,814
0 votes
1 answer
52 views

How to bring disowned command back into current terminal (stdout)

I executed a command which I then disowned so that it can continue to run in the background, even if I closed the terminal. The command is: badblocks -v -s -w /dev/sdb > badblocks_result.txt 2>&...
LogicalDeveloper's user avatar
0 votes
1 answer
35 views

Cannot change the color of variable in dir_colors

I use a fork of the st terminal. When I type anything after a dollar sign, I cannot see the text because it blends in with the background. I use dir_colors to change colors of different file types. ...
Hari Shankar's user avatar
0 votes
0 answers
44 views

How to check how often a file is updated via terminal?

I have a file that is being updated via a script I do not have access. I am trying to see how often it gets updated. One thing that occurred to me was doing a: watch -n 0.1 "ls -la" The ...
Yi Qiang Ji's user avatar
0 votes
1 answer
49 views

Ctrl+left/right on micro via SSH+byobu

Locally when opening micro text editor, Ctrl + left/right works normally (jump 1 word). But when running via SSH + byobu, Ctrl + left/right gives [1;5C] and [1;5D]. Ctrl + S and Ctrl + Q also didn't ...
Kokizzu's user avatar
  • 9,941

1
2 3 4 5
87