I gave two commands such as
find / -name "*.txt" -or -type f -print |wc -l
output: 1270
find / -name "*.txt" -or -type d -print |wc -l
output: 1305
why does it so? The output should be same, as I am using an OR operator.
but if 1st condition is true it will not go for the next one, right? so in that case both result will be same because both commands 1st condition is same and true.