Questions tagged [shell]
The term 'shell' refers to a general class of text-based interactive command interpreters most often associated with the Unix & Linux operating systems. For questions about shell scripting, please use a more specific tag such as 'bash', 'powershell' or 'ksh'. Without a specific tag, a portable (POSIX-compliant) solution should be assumed, though using 'posix' in addition or 'sh' instead is preferable.
shell
92,880
questions
0
votes
0
answers
16
views
Generate Sonarqube Report In Gitlab
I'm trying to download the result of our scan in gitlab job.
In the documentation, there are no information about this topics.
I need to start any script shell, gradle to do that.
Any help ?
0
votes
0
answers
15
views
Trying to reset an android app to a state with a defined set of app data and settings automatically
I'm developing an automated testing process for an Android app that requires resetting the app to a consistent ground state between test sequences. The workflow is as follows:
Start with the phone in ...
0
votes
0
answers
38
views
How to use Activity Indicator in AppShell.xaml with TabBar?
I am using a logout buttom in Shell.TitleView in AppShell.xaml
Now I want to show an activity indicator in the middle of the screen when clicked on logout, irrespective of which tab I am in.
How to ...
0
votes
1
answer
41
views
sed command is not replacing the files in my directory [duplicate]
When I run my bash script(given below) the files are not changed. The replacement does not happen for some reason. I am running the command as sudo, and the html folder has permssions 775 with the ...
1
vote
0
answers
119
views
Generated empty mock file - (Cuckoo mocking framework)
I have created a project for unit testing I have used Cuckoo mocking framework for generating mocks.
With Cuckoo Version: 2.0.8, Mocks.swift is being generated but is empty.
No Error generated, unable ...
0
votes
0
answers
23
views
zsh case-insensitive completion match not working
Problem
I've recently made some changes to my terminal development tools. Everything has been working as expected, except for case-insensitive match completion, which before it would match completions ...
0
votes
1
answer
44
views
trigger a foreground app by a script runnning in background (in same tty, linux)
tui.c: a simple ncurses hello world tui app:
// gcc -o tui tui.c -lncurses
#include <ncurses.h>
int main() {
initscr(); // start curses mode
printw("Hello, World!&...
0
votes
0
answers
18
views
Zsh shell automatically converts into Docker interactive shell
I pushed some changes from my code into my GitHub repository. Now, after trying to rebuild my docker image, I'm trying to run some commands and my zsh shell automatically converts into a docker image ...
1
vote
1
answer
42
views
run an input/output waiting application in function in background getting output of that function
I have a shell function
func() {
read < /dev/ttyUSB3 &
PID=$!
echo "$PID"
}
do not focus on its exact purpose, the thing is that I need to run some app (in this case read)...
0
votes
1
answer
32
views
Does inline assigned variable followed by shell built-ins accessible by the subsequent commands?
I am trying to understand how posix shell behave when command is in the form,
# variable assignment followed by a shell built-ins.
var=value shell_builtins;
in scenario like this, posix manual says,
...
0
votes
1
answer
28
views
How to create daemon unit for fastapi server with poetry?
I created a shell script for start my fastapi server which located in my-dir. It works properly when I run it with ./script.sh. Server runs.
#!/bin/bash
poetry run python main.py
Now I want to ...
0
votes
0
answers
16
views
Shell Script for Android TV Freezes During URL Rotation with User Interaction
I am working on a shell script that runs on an Android 8.0 TV device. The script is designed to:
Call a different website every 30 seconds from a list of URLs provided by an Azure Function.
Reset the ...
0
votes
0
answers
25
views
Git output into a document while keeping font colors?
I am trying to take the output of git log --graph --online --all --decorate and put it into a Word Document or PDF. I want to keep the font colors, for obvious reasons since a git commit tree looks ...
0
votes
0
answers
17
views
MIT6.828: Why do I get a pagefault when I use pipe the first time in my xv6 operating system?
I am now self-learning mit6.828, this course is about studying operating system xv6. This system boot with initiating memory system, user environment system, trap system ,multiprocessors and a file ...
0
votes
0
answers
38
views
Android Studio Terminal: command not found. It doesn't load .zshrc
In Android Studio (both Giraffe and Koala Feature Drop) I'm facing the error:
zsh: command not found: flutter
I also have this error with other commands such as adb.
It seems it doesn't load the ~/....