Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I'm trying to display the text TRUE to the screen if a file is tested to have the readable bit set using the if then statement.
if [[ -r /path/to/your/file ]]; then
Required, but never shown
3 years, 2 months ago
10 months ago