Skip to main content

Questions tagged [shell]

A shell is software that lets users interact with the operating system, usually by typing at a command-line.

2 votes
0 answers
55 views

I am trying to perform a test sequence in a container managed through Docker, and have discovered a strange problem concerning the behavior of one particular common utility, less. Based on the ...
brainchild's user avatar
-1 votes
2 answers
144 views

My kitty terminal asks for confirmation when closing terminal windows even though I set it to: confirm_os_window_close -1 My expectation is that there's no confirmation prompt if there are no active ...
derJake's user avatar
3 votes
1 answer
421 views

I was working with a command like this: ssh another_host <<EOF set -x command_a command_b run_framework command_c ... EOF The odd thing was that only commands up to and including run_framework ...
Jeenu's user avatar
  • 413
2 votes
1 answer
192 views

I have a list of files (builddir/foo.s builddir/foo.i builddir/foo.ii) that happens to come from brace expansion of builddir/foo.{s,i{,i}} . I would like to symlink them into the current directory ...
Bulletmagnet's user avatar
2 votes
2 answers
114 views

How can I use Awk to match multiple lines and then concatenate other fields? 1 Gen 1 75 1 Gen 1:1 10 1 Gen 1:1 11 2 Exo 1:1-2 13 2 Exo 1:1-2 14 3 Num 1:1-4 ...
wsteinbr's user avatar
0 votes
1 answer
158 views

The sed command that I use is: sed -i 's,oldvalue,newvalue,g' *.txt When I use the above sed command with each of the below examples (1, 2, and 3), the results contain errors. Example 1 Old value: ...
Renesah's user avatar
  • 119
0 votes
0 answers
126 views

I’ve recently installed VSCode on macOS Ventura 13.7.8 and I’m getting the error message "Unable to install the shell command '/usr/local/bin/code'." when I try to install ‘code’ command in ...
MALAZE's user avatar
  • 1
2 votes
1 answer
105 views

bind -x '"\C-o":vifm' This opens vifm but then when I drop down to the shell by pressing o on my keyboard triggering nnoremap o :shell<CR>, I am not able to use the ctrl + o keyboard ...
wgm's user avatar
  • 21
0 votes
0 answers
104 views

Can fish run aliases input as arguments of sudo and/or doas? What I have read thus far: ✅ Analogous feature for 'bash'. Dziȩki, @Kamil Macorowski Aliases on fish Related NixOS post
Endalma's user avatar
  • 19
3 votes
1 answer
387 views

I have a systemd service like this, where the executable takes multiple arguments (with "-" flags and values). pairman@revyos-lpi4a:~/.config/quasar/quasar-server$ cat ~/.config/systemd/user/...
Pairman's user avatar
  • 31
2 votes
1 answer
398 views

Rationale When working in an EFI shell, I frequently want to reboot directly into the firmware GUI, so that I can modify a preference. Rebooting the machine the regular way, then either mashing a key, ...
RokeJulianLockhart's user avatar
-3 votes
1 answer
99 views

I am trying to convert non-base 10 (non-decimal) numbers to each other by using bc command in Linux, but the answers are different from what I expected. ibase = 3 obase = 7 23 11 Why is the answer 11?...
Sorenyt Mikelyt's user avatar
2 votes
2 answers
340 views

Working with big ASCII files that I keep compressed on disk. (ie, bigfile.json.gz) Clever me thought "Hey, let's use process substitution to work with the uncompressed content of the file." ...
JauneDoe's user avatar
2 votes
0 answers
69 views

I save this shell script as test.sh and then run bash test.sh: python3 When the prompt appears I press Ctrl+\ (in reality I have more complicated Python commands and Ctrl+C/Ctrl+D doesn't work). ...
LastDuckStanding's user avatar
13 votes
1 answer
2k views

In Useless use of cat? it is established that, generally speaking, using cat in a shell pipeline with a single argument at the beginning of a pipeline reduces its performance. Does there exist a ...
user31248584's user avatar

15 30 50 per page
1
2 3 4 5
275