Skip to main content
Filter by
Sorted by
Tagged with
-4 votes
0 answers
76 views

I am developing a shell in C++. After implementing pipes, I have noticed a problem. When running background commands like echo hello | cat &, I get hangs. Why is that? Here is my implementation ...
Indective's user avatar
Advice
0 votes
1 replies
42 views

The docs say that all variables are lists, and I thought that meant they had some special internal structure that was outside the scope of the shell interface. Like, how the , in the python list [1,2,...
honestSalami's user avatar
0 votes
0 answers
76 views

Note: The question is not a duplicate of Getting ssh to execute a command in the background on target machine. The other question relates to background processes that may be sent the hangup signal. ...
brainchild's user avatar
1 vote
1 answer
101 views

On my Raspberry Pi 5 (64 bit) I'm trying to run a command via a python script, using systemd to start it at boot. The chain goes like this: ids.service in /etc/systemd/system/: [Unit] Description=IDs ...
Suntooth's user avatar
1 vote
1 answer
88 views

Running tput cols inside a command substitution, while redirecting stderr always make it fallback to 80. Unless I redirect it to a terminal device file tput cols # Output: actual ...
Cartaya's user avatar
  • 18
2 votes
2 answers
172 views

This is my function #!/usr/bin/env bash function run_aws_ssm_delete_parameters() { local -r enable_logging="$1" local -n parameter_names="$2" shift 2 local -a ...
PirateApp's user avatar
  • 6,423
3 votes
1 answer
113 views

If I declare an associative array in Bash, and then want to reference an element using a subscript which is a variable whose value contains spaces, when and how should I quote the variable name I am ...
Brent Pappas's user avatar
2 votes
0 answers
94 views

I am making a shell orchestrator in C which connects with other devices and controls connected systems using an IP address. I am having difficulty in adding the feature to use arrow keys to navigate ...
Aayush Singh's user avatar
Advice
0 votes
9 replies
57 views

I have a little problem to crack that turns out to be less trivial than I thought - even to formulate as a question for the title of this ticket, in fact! Here's the background: I mount my iPhone via ...
RJVB's user avatar
  • 860
3 votes
1 answer
110 views

When working on a BASH exercise that is about building a simple password and account manager, I am required to add the function that allows users to retrieve an encrypted password. Below are my codes: ...
tzhou022's user avatar
4 votes
1 answer
82 views

According to the Bash manual, The TIMEFORMAT variable may be used to specify the format of the time information. For instance, if I set TIMEFORMAT to %R, then time should only print the elapsed time ...
Brent Pappas's user avatar
1 vote
1 answer
119 views

I am trying to implement a small Shell in C, one of the builtins required by my school project is cd. To do it, I use chdir to get a grip on some basics directory movement. I have read the man of cd ...
Simeon Sutarmin's user avatar
Advice
0 votes
1 replies
49 views

I’m working on a small project to build an inventory management system for hospitals that keeps track of medical equipment and supplies. The goal is to manage different types of equipment, track stock ...
Indiatopbestin reena's user avatar
0 votes
1 answer
50 views

I am investigating a possible handle leak related to Windows COM objects used from a third-party application. The application (Elipse E3 SCADA) runs VBScript code that instantiates Windows COM objects,...
Adriano Pinheiro's user avatar
0 votes
0 answers
52 views

I've searched around about how one can write a shell script (preferably cross-shell, but also in bash) that detects if it is being piped into so that it's operation can be changed accordingly. The ...
Melab's user avatar
  • 3,062

15 30 50 per page
1
2 3 4 5
6197