Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 188792

Questions about shell scripts, executable files that are interpreted by a shell (bash, zsh, etc.). Check scripts with https://shellcheck.net before posting.

0 votes
1 answer
7k views

Determine TLS versions supported by curl

How can I check from a Bash script if the curl executable in PATH supports tlsv1.0 or tlsv1.1 or newer? Basically I would like to inform the user if its curl does not support TLS v1.2 and take the nec …
virtualdj's user avatar
  • 177
2 votes
2 answers
2k views

Removing single quotes from double-quoted variable element in array and run a command [duplicate]

I have a script where I dinamically change the arguments which must be passed to a command (mkvpropedit in this case). Consider the example script below: #!/bin/bash LANG_NAME="eng lish" MYSETTINGS …
virtualdj's user avatar
  • 177
2 votes
2 answers
2k views

tar to stdout: missing input files without affecting PIPESTATUS

I have a folder with this content (the subfolders and file names are fixed and cannot change): # ls data/ config/ myfile I need to create a tar archive to stdout to process it with dd in a Bash s …
virtualdj's user avatar
  • 177