Skip to main content
John Smith's user avatar
John Smith's user avatar
John Smith's user avatar
John Smith
  • Member for 5 years, 3 months
  • Last seen more than a week ago
6 votes
1 answer
1k views

What is the minimum amount of memory required for starting a process on a Linux-based system?

6 votes
3 answers
588 views

How do I whitelist drives / partitions that can be mounted to only those that have entries in /etc/fstab?

4 votes
2 answers
1k views

Can it possibly work if I assign two shells to SHELL in cron?

4 votes
2 answers
1k views

How do I reliably capture the output of `ls` in this script?

3 votes
4 answers
2k views

How do I select an array to loop through from an array of arrays?

3 votes
1 answer
2k views

Why does escaping double quotes from Python's run (with shell=True) is different than in Bash?

3 votes
2 answers
408 views

How might one except hidden '.' files and directories from a script that renames them?

3 votes
1 answer
3k views

Could setting the permission on these files to 600 render my OS unusable? .bash_logout, .bashrc, .profile

3 votes
1 answer
912 views

Why is it so that when tar is executed from the script I get "command not found", (it runs without giving me such output from the terminal)?

3 votes
2 answers
112 views

How do I verify ssl / tls connection with openssl non-interactively (from a script)?

2 votes
1 answer
45 views

Why does setting `umask` to `0077` (and then downloading public key) makes a gpg public key unavailable for apt?

2 votes
3 answers
914 views

app.asar --nod ? What programme is it (in my netstat statistics?

2 votes
1 answer
238 views

Why doesn't this script succeed from crontab as it does when manually run?

2 votes
0 answers
314 views

Why is it possible to run files with permissions 600 from Python's subprocess.run()? [closed]

1 vote
0 answers
76 views

Why doesn't doas wget -qO- archive.tar.gz|doas tar -xz work as with sudo?

1 vote
1 answer
148 views

Is 'cmd1 [newline] cmd2' as concurrent as 'cmd1 & cmd2' in a Bash script?

1 vote
2 answers
1k views

How might I execute this nested for loop in parallel?

1 vote
1 answer
251 views

Why is this script treating the files with the same names as the same files?

1 vote
5 answers
126 views

How might I swap the remaining parts of lines (with the exception of first characters) with sed?

1 vote
1 answer
1k views

Using cgroups and nice with respect to the same process - does the order matter? What is the correct syntax?

1 vote
2 answers
120 views

How do I use a nonstandard file descriptor for reading a file into an array with mapfile?

0 votes
1 answer
97 views

Having downloaded keyring and imported public key, why is the public key still unavailable for apt?

0 votes
1 answer
52 views

Cannot automate with cron the changing of the configuration with dconf on Debian (it worked on Ubuntu)?

0 votes
1 answer
60 views

How do I get all MAC addresses of all devices on my LAN that have an IP address (equivalent of doas nmap -sn but for IPv6)?

0 votes
1 answer
78 views

SSH's -t option - how do I remotely execute a complex command that includes pipes and variable expansion?

0 votes
2 answers
74 views

How do I declare and use a variable in crontab that will hold the name of the admin user account?

0 votes
1 answer
49 views

Why isn't this command from this script run by the user specified by doas -u when this script is copied and run by an ansible playbook?

0 votes
1 answer
59 views

Why do I get different browser behaviour when attempting to reach bitcoin.stackexchange.com and the alias of its IP in /etc/hosts?

0 votes
2 answers
720 views

How might I diagnose whether I have a working ethernet interface?

0 votes
0 answers
375 views

Why this script doesn't work from cron while it works when invoke from my shell?