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.

3 votes
1 answer
201 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
  • 407
2 votes
1 answer
173 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
76 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
136 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
111 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
93 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
91 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
Centaro's user avatar
  • 19
3 votes
1 answer
290 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
360 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
92 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
322 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
66 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
0 votes
1 answer
73 views

In a shell script: source ENV echo $ENV_HOST echo $ENV_GRPID ... in ENV file: ENV_GRPID=mygroupid ENV_APPID=myappid ENV_LOGID=a_log_id ENV_H0ST=myhost ENV_PORT=9091 however, using bash -x ...
Tiina's user avatar
  • 3,451
0 votes
0 answers
145 views

I want to better-understand how such software is structured, when deployed to a device. I own a LINX1010 with an included-by-default EFI shell. It persists when no OS is installed on the internal ...
RokeJulianLockhart's user avatar

15 30 50 per page
1
2 3 4 5
275