Skip to main content

All Questions

Tagged with or
1 vote
1 answer
36 views

Copy stderr of previous command without rerunning it

(I am using the kitty terminal emulator, though I would appreciate answers for other terminal emulators as well.) I run a command, and get some error message, like this: ~ » somecommand ❌️ Some Error ...
Amulya Mohan's user avatar
-2 votes
0 answers
36 views

How can I list git tags that are present locally but not on a remote [duplicate]

I would like to get a list of git tags that are in my current checkout, but do not come from a specific remote. Is there a simple way to do this?
Jonas Due Vesterheden's user avatar
3 votes
5 answers
160 views

Using a function to format any list of PATHs

I have this alias to format $PATH into one line per path: alias path='sed ''s/:/\\n/g'' <<< "$PATH"' I tried to specify the env var to list, like path $MANPATH but still with a ...
vulcan_'s user avatar
  • 169
1 vote
0 answers
36 views

VSCode debugpy launcher command not executing automatically in terminal after shell initialization commands

Problem When launching a Python debug session in VSCode using debugpy, I see three commands spawned in the integrated terminal: devbox shell - executes automatically ✓ source /path/to/project/.venv/...
kennysliding's user avatar
  • 3,005
0 votes
2 answers
70 views

How can I break a loop condition into multiple lines in a shell script?

Right now, this is working: while read attribute_one attribute_two; do read -r -d '' json_payload << EOF { "attribute_one": "${attribute_one}", ...
Zhao Li's user avatar
  • 5,846
0 votes
0 answers
37 views

.NET MAUI Android: TabBar overlaps with Navigation Bar

I'm building a .NET MAUI app and facing an issue on Android — the TabBar (Shell tabs) overlaps with the system navigation bar at the bottom of the screen. Here’s what happens: The tabs are partially ...
Sweta Aadatiya's user avatar
2 votes
3 answers
148 views

How to pipe a data file with multiples read values to a bash script with a delay between them? It is possible to display the info read from file

This is my main script: #!/bin/bash read -p "Name: " NAME read -p "Age: " AGE read -p "Country: " COUNTRY echo "Your name is $NAME. You are $AGE years old. You ...
Benedix's user avatar
  • 31
1 vote
2 answers
72 views

How to conditionally add elements to an array in shell script

In the below shell script, I'm trying to conditionally add elements to an array which is syntactically incorrect when checked in shellcheck. #!/bin/bash echo "Hello World"; HH=1 ARR=( &...
Harry's user avatar
  • 4,006
-2 votes
0 answers
18 views

Why does `bind -x` with Ctrl+O stop working after dropping to shell from `vifm` in Kitty terminal? [migrated]

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
  • 7
0 votes
2 answers
105 views

Running chain of commands through Python script [closed]

I am running the following command though a Python script: tcsh -c 'cmd1 && cmd2 && cmd3 && cmd4' Only the first command is getting executed or the first two commands are ...
K.K.'s user avatar
  • 17
0 votes
0 answers
64 views

AHK2 overlay only stays visible above taskbar when a file write triggers a refresh — any better alternatives?

I'm trying to keep a transparent always-on-top overlay (made in AHK v2) above the taskbar in Windows 10/11. The Problem: Everything works except when the Aero Peek / Show Desktop event fires (e.g. via ...
Black Mamba's user avatar
1 vote
2 answers
75 views

Ignore patterns not found in ex substitute command

POSIX.1-2017 specifies two line-oriented file editing utilities: ed(1) and ex(1). ex is more efficient for noninteractive batch-editing because POSIX requires it to accept one or more file operands, ...
edcsnt's user avatar
  • 38
0 votes
0 answers
18 views

macOS Automator Quick Action (Zsh script) using cpdf completes with success message but creates no output files

I am trying to create a macOS Quick Action that allows a user to select multiple chapters from a PDF's bookmarks and extract each one into a separate file. The script uses the cpdf command-line tool ...
Shappo's user avatar
  • 1
0 votes
0 answers
39 views

"Nothing provides <recipe>" when running commands into a shell script [closed]

I am running these commands into an interactive shell: export IS_OFFICIAL_RELEASE=0 export BB_ENV_PASSTHROUGH_ADDITIONS="$BB_ENV_PASSTHROUGH_ADDITIONS IS_OFFICIAL_RELEASE" cd /home/yoctodev/...
tail's user avatar
  • 481
0 votes
0 answers
43 views

Need help My script is throwing ERROR - Failed to load kubeclient or get node_list

I have a script where it checks for the cluster status and posts it to SREConsole by doing this we will be knowing about the cluster status. but i am seeing "ERROR - Failed to load kubeclient or ...
Shahid Afrid's user avatar

15 30 50 per page
1
2 3 4 5
6203