Forrest logo
back to the test tool

test:ai:5c187

Checks if the file.txt does not exist
$ test ! -f ${filename}
try on your machine

Checks if the file.txt does not exist

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • check if condition is false?
back to the test tool