All Questions
5 questions
0
votes
1
answer
368
views
Creating & debug of a bash script menu
I've tried a first time with sh like I refer to in my other post here.
I'm trying to run a bash script menu to run from terminal only.
#!/bin/bash
HEIGHT=800
WIDTH=600
CHOICE_HEIGHT=8
BACKTITLE="...
0
votes
1
answer
9k
views
How to count number of files in a directory that are over a certain file size [duplicate]
Is there a way to count how many files in a specific directory are over some file size? Say, 100 MB?
3
votes
1
answer
1k
views
deepin-terminal: Failed to execute child process
I have written a simple script as below to run deepin-terminal and pass it a simple command but when I execute this script I get error.
Script:
#!/bin/bash
deepin-terminal -m fullscreen -e "cmatrix ...
0
votes
1
answer
1k
views
How can I run the same command multiple times in series and capture all exit codes?
I am running an end-to-end test suite that's quite flakey, and I'd like a way to determine which tests are the flakiest. The easiest approach it seems would be to run tests 100s of times and return a ...
0
votes
4
answers
63
views
How can I do subdirectory manipulation in shell?
For example, running a command on n-number of sorted subdirectories, where n is an input.
Or
how can I run a for loop on a range of subdirectories where I can give that range as an input? Like the ...