Skip to main content
Filter by
Sorted by
Tagged with
Advice
0 votes
6 replies
45 views

I'm investigating how Bash parsing works. Let's assume that all lower-case letters here represent scripts that always return a successful exit status - 0. The contents of all scripts are identical. ...
elo2cx's user avatar
  • 33
1 vote
4 answers
105 views

I am using grep to look for strings (sequences) in a fastq-file and extract matching reads (lines). Since grep only finds perfect patterns, I was wondering whether it is possible in bash to generate a ...
Piratepenguin's user avatar
-4 votes
1 answer
73 views

I have hundreds of files on the following format 20100110_test_file.sas7bdat 20100210_test_file.sas7bdat 20100310_test_file.sas7bdat 20100410_test_file.sas7bdat I need to change the format all those ...
SASUSER's user avatar
  • 47
-1 votes
0 answers
29 views

I am implementing a full + incremental restore workflow using mydumper / myloader and MySQL binary logs. Backup step I take a snapshot-consistent backup using mydumper: mydumper \ -u Admin \ -h ...
Yash Khokhar's user avatar
-2 votes
0 answers
97 views

I am having an issue with the github runner for arm64 which stated to break for my previously fine DOCKER build. The issue is the following : #37 ERROR: process "/dev/.buildkit_qemu_emulator /bin/...
Kaki Master Of Time's user avatar
-5 votes
0 answers
104 views

This question is regarding a basic bash script copying files. I have the source folder structure as below. folder1/folder2/folder3/folder4/folder5/text.txt The destination folder structure is ...
Newbie 's user avatar
-3 votes
0 answers
109 views

I have a script that does three things in a loop: Do one thing when started Wait one day (sleep 1d) and then do this thing again Repeat while the processname is active A quick example based on a ...
Verity Freedom's user avatar
3 votes
1 answer
158 views

I am writing a simple bash script for computing time and date by adding seconds onto a random date that I give. It worked fine so far but going from 2016-03-13 00:00:00 to 2016-03-13 03:00:00 skips ...
Redshoe's user avatar
  • 389
0 votes
0 answers
91 views

Environment: Ubuntu 24 I'm trying to create a bash script to turn on/off the backlight after a period of time keyboard if no key is pressed. It's working when I run it by hand, but when I try to run ...
sz3bbyLA's user avatar
0 votes
0 answers
100 views

Given: #!/bin/bash set -x cat <<EOF | while IFS= read -r LINE; do "${LINE}"; done /usr/bin/bash pstree -u "${USER}" EOF It outputs: $ ./cat_while_bash.sh + cat + IFS= + read ...
Etienne M's user avatar
  • 733
3 votes
3 answers
146 views

Running Ubuntu 24.04lts. NOTE: I am trying to read the notification sent by he Discord app to my personal desktop notifications. When I notification from a specific sender, with a specific message, I ...
Joshua Besneatte's user avatar
0 votes
1 answer
68 views

I have a python script that runs as a service on raspi, the script executes a bash script which then connects to a windows pc via SSH using a key. I have successfully use the same code to connect to ...
zorodluffy's user avatar
2 votes
1 answer
59 views

I am trying to implement a CIS hardening rule on Ubuntu that requires every GRUB linux entry to include: apparmor=1 security=apparmor Audit script #!/bin/bash if grep "^\s*linux" /boot/grub/...
ÇAĞRI KARAKUŞ's user avatar
Best practices
3 votes
2 replies
97 views

I want do download certain search results from the internet archive. I would like that the names of the resulted files and directories to be the title of the work -- idealy YYYY_<author>_<...
alex's user avatar
  • 1,145
-1 votes
1 answer
121 views

I am trying to run a bash command through Java.Runtime.exec(), specifically coredumpctl. I am only able to run the command on a bash terminal when I login as a root user, and this doesn't seem to be ...
user23282541's user avatar

15 30 50 per page
1
2 3 4 5
10457