i want to search qdbase (the name of DB). i dont know where this file is lies.i want to use grep at my server. my server name is qa@qaubuntu and for root root@qaubuntu.. i'm searching this file using terminal from client PC(qa@qadesktop)
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
So you're looking for a file with a known name and unknown location? Two options:
The latter is probably slower, but more "thorough", the first command is based on the fact that all file names have been indexed already, so that the search is quicker. Try the first option and if it fails, the second one. You'll probably have to rsh in first. |
||||
|
|
sudo to not restrict the search by what folders your regular user is allowed access to grep to search / for the root of the drive "String to search for" |
|||||||||||||
|