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)
So you're looking for a file with a known name and unknown location?
sudo find / -name qdbase -print
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.
grep is used to find data inside a file, so it's probably not what you want here. The
sudo part is needed for permission reasons.