Skip to main content

All Questions

Tagged with
3 votes
1 answer
103 views

Why does tab autocomplete sometimes not work?

In bash (Ubuntu 24.10, but I guess this would apply to other versions/distributions) when you type in a console a command you can use TAB to autocomplete the filenames of the current directory. ...
Mark's user avatar
  • 795
0 votes
2 answers
60 views

Why are some terminal control characters shadowed by readline

stty -a shows cchars: stop = ^S, reprint = ^R. Ctrl-r is shadowed by readline's reverse-search-history, so when I press it I get the readline function Ctrl-s is not shadowed by readline's forward-...
user615536's user avatar
0 votes
2 answers
24 views

create unique folder on startup with rpi cam

I have a pi cam on a pi zero that needs to run for the whole duration of being on. this pi camera module is being used in stratospheric launch and during our last one we were able to get videos back, ...
purfi's user avatar
  • 1
0 votes
2 answers
43 views

How do I remap Ctrl + X in the terminal [closed]

stty -a shows ^Z and ^C but not ^X. Is it not a signal like sigint for ^C and that's why it's not included?
Deoxal's user avatar
  • 113
0 votes
1 answer
18 views

How to show the actual changes for rpl dry-run?

From the manual of rpl the -s option enable the dry-run mode, that is it simulates the substitutions without changing the real files. If I try it I get the following output: $ rpl --dry-run 'JLCPCB ...
Mark's user avatar
  • 795
0 votes
1 answer
84 views

What are the steps from the moment you start the terminal to the moment the shell starts listening for keyboard input?

What exactly are the steps from the moment I start the pseudo-terminal (CTRL+ALT+T) to the moment the shell starts listening for keyboard input? I know that it roughly goes in the way that the ...
Yakog's user avatar
  • 517
1 vote
2 answers
90 views

Why does the kill command not work for SIGTSTP, but works for some other signals (SIGSTOP/SIGINT etc.)?

I have the following two simple programs. Parent: package main import ( "fmt" "syscall" ) func main() { attr := &syscall.ProcAttr{ Files: []uintptr{0, 1, ...
Yakog's user avatar
  • 517
0 votes
1 answer
85 views

Why does a SIGTSTP signal not handled by the parent move the entire group to the background (contrary to written in TTY demystified)?

I started learning about linux tty(s) and signals and ran into some trouble. I am reading and using The TTY demystified as a reference. I made two simple golang programs. Parent: package main import (...
Yakog's user avatar
  • 517
0 votes
1 answer
91 views

Where is the tty line discipline exactly "logically" located?

I recently started learning about Operating Systems and the linux kernel. I was interested in terminals, so I started there, however, I quickly ran into a problem. I wrote a slightly longer question, ...
Yakog's user avatar
  • 517
3 votes
0 answers
45 views

Colored output from fd piped into column not aligned correctly

When I run the command fd --color always --max-depth=1 | column the output is not properly aligned, but it is when --color is set to --color never For reference, fd --color never --max-depth=1 | ...
Joel Singh's user avatar
0 votes
1 answer
52 views

Is there a file similar to X11's rgb.txt for the 256 colors used in most terminal apps?

We know X11 has rgb.txt file that defines over 700 colors. Is there a similar file that defines the 256 colors (ie., hex code plus name) used in most terminal apps ? sample lines: 255 250 250 ...
belamy's user avatar
  • 9
0 votes
0 answers
28 views

how to change error (std-err) color [duplicate]

Because standard error is a separate device in UNIX-like environments, and programs or shell scripts can redirect their errors to it, it would be logical to configure terminals (any displayer) to ...
Sm D's user avatar
  • 1
1 vote
2 answers
161 views

Copy to clipboard some previous lines of bash terminal with keyboard only

Let's say you do ls -al in a Bash shell in Debian or Ubuntu and get: drwxrwxrwt 95 root root 12288 Sep 28 2024 tmp drwxr-xr-x 14 root root 4096 Sep 28 2024 usr <-- how to copy this to ...
Basj's user avatar
  • 2,651
0 votes
2 answers
58 views

Difference in bash output redirections behavior

I am trying to understand the reason behind the difference in redirections of bash output. Here are two approaches: Redirection of the output to named pipe: /bin/bash -i 2>&1 1>/tmp/fifo ...
Pauloss's user avatar
2 votes
2 answers
365 views

How to prevent a bash script from running repeatedly at the start of the terminal

I am physically connected to the machine an I use Arch linux. I use Arabic in the terminal and I use BiCon to add bidirectional support for the terminal (I am using st). I want the program to start ...
N0tus3r's user avatar
  • 43

15 30 50 per page
1
2 3 4 5
53