Revision 1 as of 2020-05-27 14:03:17

Clear message

Description

This is a reference for bash scripting. For more general instructions take a look here.

Operators

File Test Operators

Operator

Function

-b

check weather a file is a block special file or not. It returns true, if the file is a block special file otherwise false.

-c

check weather a file is a character special file or not. It returns true if it is a character special file otherwise false.

-d