query: Can I use an if statement to detect if bash and dash are being run interactively?
positive_passages.docid: 155682
positive_passages.text: How to check if a shell is login/interactive/batch
negative_passages.docid: 157168
negative_passages.text: How do I use a file grep comparison inside a bash if/else statement?
negative_passages.docid: 157559
negative_passages.text: In a Bash if condition, how to check whether any files matching a simple wildcard expression exist?
negative_passages.docid: 37703
negative_passages.text: How can I check if a directory exists in a Bash shell script?
negative_passages.docid: 138961
negative_passages.text: In Bash, how can I check if a string begins with some value?
negative_passages.docid: 132792
negative_passages.text: Can shell variable name include a hyphen or dash (-)?
negative_passages.docid: 120068
negative_passages.text: what does the dash `-` before `bash` on 'command not found' errors mean?
negative_passages.docid: 8269
negative_passages.text: bash if not multiple conditions without subshell?
negative_passages.docid: 73650
negative_passages.text: Execute bash commands over SSH while staying in interactive mode afterwards
negative_passages.docid: 52106
negative_passages.text: bash if -a vs -e option
negative_passages.docid: 65962
negative_passages.text: How to compare a program's version in a shell script?
negative_passages.docid: 18978
negative_passages.text: Why is this bash prompt acting strangely/disappearing, and how do I fix it (OS X)?
negative_passages.docid: 106832
negative_passages.text: Bash Script on Startup? (Linux)
negative_passages.docid: 132364
negative_passages.text: How to compare strings in Bash
negative_passages.docid: 158565
negative_passages.text: Determine if a function exists in bash
negative_passages.docid: 91024
negative_passages.text: Are there any options of bash with which it is invoked?
negative_passages.docid: 49480
negative_passages.text: How can I get bash to perform tab-completion for my aliases?