Check if argument is a file or directory Check if argument is a file or directory unix unix