what -d flag does in linux code example Example: -d flag linux if -d FILE FILE exists and is a directory.