Answer by Raffa for locate command and globbing of shell
FirstlyThe locate command matches the provided pattern to its database. This is how it works. This means two things:Whatever you are trying to find has to be in its database and it is not enough that...
View ArticleAnswer by steeldriver for locate command and globbing of shell
If you see my present working directory have no file/directory whosefull path name begins with /bin/bash. Hence, we should not bereceiving any output from locate /bin/bash*No, that's not how shell...
View Articlelocate command and globbing of shell
From locate man page:If --regex is not specified, PATTERNs can contain globbing characters. If any PATTERN contains no globbing characters, locate behaves as if the pattern were *PATTERN*.Now, see the...
View Article
More Pages to Explore .....