What is the difference between find and locate command in linux?
Answer / Ranjeet Kumar Nikhil
The 'find' command searches for files recursively within a directory hierarchy starting from the current directory. It provides more options to filter results. On the other hand, 'locate' uses a pre-built database to quickly search file names without needing to search directories, but it might not be up-to-date.
| Is This Answer Correct ? | 0 Yes | 0 No |
In /boot/grub/grub.conf file there is a line kernel /vmlinuz-version ro root=/dev/sda2, What is the meaning of "/" before vmlinuz? Pls explain?
How to schedule cron backup to run on 4th saturday of month??
How do I list directories in linux?
what is a command to display top 10 users who are using Huge Space?
Why is linux cpu usage so high?
How will retrieves incoming mails from different web sites
What does && mean in bash?
How many types of dos commands are there?
If we transfer 100 files by ftp to remote server, how to know the files are successfully transfer or some file are not transferred?
What is the difference between diff and cmp command in unix?
What does grep grep do?
What does grep command do?