Search Files in Linux (console based)
It is the mose recurring task in any Operating system , to locate files
as far linux is more over Console based rather a GUI here i am describing cosole based search.
mainly two type of search commands are there
- locate
- find
former one is based on a prepared database of files with in the system which have to be updated periodically for accureate results
before using locate for the first time you must use updatedb for initialize the search DB
now syntax
locate passwd
FIND
unlike locate find is making a real time search from the File structure, and so forth accuracy is high and speed is bit low
for seaching with name
find /etc -name samba
for search based on permission
find /etc/ -perm 755
find /etc/ -size  +10M
search for a file less than 10M
find /etc -size -10M
search for a file excactly as 10.5 MB
find /etc -size 10.5M
Linux, Linux Shell
2011, 2012, 5m, abhilash, accuracy, accureate, Console, cosole, database, excactly, file, file structure, Files, FIND, GUI, initialize, Linux, mose, name, operating, operating system, passwd, perm, permission, real time, samba, search, search commands, search files, size, Speed, structure, syntax, task, time, time search, type, updatedb

Meet Author
S.Abhilash, started this blog in the later half of 2009 as a self hosting site for all his previous blogging attempts. , My way of writing and frequency of publishing may not be uniform as my resources are my projects nd issues i came across. For the last few years this blog is reacing 100 s of unique visitors each day, thanks wordpress and google for such a perfection in their software and services.
Submit Your Email For Free Updates on New Articles