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

```

Reply to this note

Please Login to reply.

Discussion

No replies yet.