0

how to make “bash < (curl -s”??

7th Apr 2025, 12:04 PM
Kalstore real
Kalstore real - avatar
1 Odpowiedź
+ 2
No idea about bash and shell, but here's what ChatGPT said: The command executes a shell script from the internet using Bash. How it works: bash <(curl -s https://example.com/script.sh) Here, curl -s URL — downloads the script silently (-s = silent mode). <(...) — process substitution, creates a temporary file-like reference to the output of the command inside. bash <(...) — runs that downloaded script using Bash.
7th Apr 2025, 12:32 PM
Afnan Irtesum Chowdhury
Afnan Irtesum Chowdhury - avatar