mich0w0h
Posted on January 3, 2024
What I want to achieve
- print file types such as
ASCII text
ordirectory
in the shell - print all file types in a directory
Solution
Use the file
command.
For example, to display the file types in the sample
directory, enter this command;
$ file sample/*
References
๐ ๐ช ๐
๐ฉ
mich0w0h
Posted on January 3, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.