☰
Debian Codegraph
@
0.12.0-1
0.10.0-1
/
/
tests
/
fixtures
/
nohup
/
is_a_tty.sh
☽
☼
tests/fixtures/nohup/is_a_tty.sh
code
plain
raw
MIT
2018-2021 uutils developers
debian/copyright
1
#!/bin/bash
2
3
[ -t 0 ] && echo "stdin is a tty" || echo "stdin is not a tty"
4
[ -t 1 ] && echo "stdout is a tty" || echo "stdout is not a tty"
5
[ -t 2 ] && echo "stderr is a tty" || echo "stderr is not a tty"
6
: