29 lines
1.0 KiB
Markdown
29 lines
1.0 KiB
Markdown
# bash: test for an interactive shell (Tek-Tips forum)
|
|||
|
|
|
||
|
|
## Metadata
|
||
|
|
|
||
|
|
| Field | Value |
|
||
|
|
|---|---|
|
||
|
|
| Institute | Molodetz Institute — Research & Retrieval Division |
|
||
|
|
| Subject | shell-multiplexer-auto-attach |
|
||
|
|
| Document type | Source Citation Card |
|
||
|
|
| Tier | 2 |
|
||
|
|
| Source title | bash: test for an interactive shell |
|
||
|
|
| Source URL | https://www.tek-tips.com/threads/bash-test-for-an-interactive-shell.1400118/ |
|
||
|
|
| Source type | forum thread |
|
||
|
|
| Date researched | 2026-10-09 |
|
||
|
|
| Researched by | tai (agent), model: Claude Sonnet 5, on behalf of retoor |
|
||
|
|
| Research method | Search aggregator result listing (not independently opened or quoted) |
|
||
|
|
| Confidence | Not independently verified |
|
||
|
|
| Status | Active |
|
||
|
|
|
||
|
|
## Why it's here
|
||
|
|
|
||
|
|
Surfaced by the interactive-shell-detection query; another forum thread on the same `$-`/`$PS1` question already covered in depth by the nixCraft and Bash Cookbook dossiers, not individually read.
|
||
|
|
|
||
|
|
## Changelog
|
||
|
|
|
||
|
|
| Date | Change |
|
||
|
|
|---|---|
|
||
|
|
| 2026-10-09 | Logged as consulted-but-not-analyzed. |
|