The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
88 views

Sudo keeps asking for password on / mounted over NFS

I have a diskless server booting Ubuntu 14.04 with / taken from NFS. I use nfs-kernel-server. I have some strange behaviour of sudo and locate. sudo keeps asking for passwords despite the Defaults ...
0
votes
1answer
61 views

updatedb within chroot

I'm running a Debian wheezy under chroot and I notice that updatedb doesn't work ! I think it's because of missing entries inside fstab. Am I wrong ? Any advice to fix this ?
2
votes
3answers
1k views

where is the updatedb database located?

I would like to remove with purge all entries of locate and its database. I tried apt-get purge locate and rm /etc/updatedb* But is the database gone also? Where is the updatedb database ...
4
votes
4answers
966 views

How can I view updatedb database content, and then exclude certain files/paths?

The updatedb database on my debian (squeeze) server is quite slow. where is the database located how can I view its content and find out if there are some paths with useless stuff, that I could add ...
1
vote
1answer
56 views

Command-line tool to search for file names on offline backup drives [closed]

I am looking for an open-source (command-line) tool to register and search all my (backup) drives on a file name level. I want to search for file and folder names preferably written as regular ...
2
votes
4answers
210 views

Using locate to only find directories containing the string “foo”

Is is it possible to use the locate command to only find directories? To rephrase, I want to search for a directory, and exclude any result that is not a directory, such as files or symlinks to files. ...
7
votes
4answers
3k views

How do I use the locate command within a specified directory?

I am using the locate command on Linux. My current usage of it searches through the entire filesystem. I only want it to search within a specific directory. How can I do this?
1
vote
3answers
143 views

Linux “locate” option not finding things

I am looking at a file in my current directory (I'm root) called jungledisk..... When I do a locate *jungle*.* or *jungle* it produces no results.... what am I missing?
2
votes
1answer
21k views

How to search in centos or linux

I have found that sometime i can find files using locate but sometimes it dont find. Which directories it find the file using locate or find Suppose i want to find the files or directories having ...