Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

if you actually need bash, /usr/bin/env bash works; but often something could actually be a sh script with a bit of care. Some Linux distributions have been changing /bin/sh to something other than bash, which helps.

if bash is installed; if not, at least it's a fairly clear indication that you should install bash




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: