To determine whether a file is a text file, executable, or some other type of file, use the `file` command under #Linux, #macOS, #FreeBSD, or #Unix machine. For example:
```
file /etc/passwd
file /bin/ls
```
To determine whether a file is a text file, executable, or some other type of file, use the `file` command under #Linux, #macOS, #FreeBSD, or #Unix machine. For example:
```
file /etc/passwd
file /bin/ls
```
No replies yet.