Use the command below to look for files and directories starting with letters qa. In our computer, we have the qatree.txt and qa.txt files as well as a directory by the name qa.
If we run the command;
find ./ -name "qa*"
It returns the following output
./test/qatree.pdf
./test/qa.txt
./home/qa
The command returns both the files and directories matching the search criteria. To find files or directories only, you need to specify this in the command.
コメント