File Folder Searching Commands

01. Search for all data (System / Personal)
[root@server ~]#locate filename

02. For any data
Syntax - [root@server ~]# find location option parameterAccordingToOption
[root@server ~]# find / -name ‘inittab’

03. To search system files and there manuals
Syntax - [root@server ~] #whereis filename
[root@server ~]# whereis inittab

04. To locate system commands only
[root@server ~]# which cal

------------------------------------------------------------------------------------------

0 comments: