Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-20-2005, 03:25 PM   #1
LQ Newbie
Registered: Jan 2005
Posts: 4

Rep: Reputation: 0
Deleted files?

Im very new to linux. I have searched around. But I couldnt find anything regarding my question.

Basicaly what I did was install HLDS steam in ssh on one of the user directories, hlduser1, who I have created using Direct Admin. I then deleted the user in Direct Admin, and it deleted all his files and info.

BUT there is some sort of files being trace linking back to the user?......

My problem is when I logged in ssh as root and enter:

$ locate hlds

goes on for awhile and shows everything that it found.

When I enter:
$cd /home/hldsuser1

I get this....
-bash: cd: /home/hldsuser1: No such file or directory

I figured everything was deleted but why are those files still showing up with the locate command. And why cant I switch into that /home/hldsuser1 directory? Are these files using diskspace?

hldsuser1 is not listed when I use the ls command in root, but it does list other users.

Last edited by tilt32; 01-20-2005 at 03:28 PM.
Old 01-20-2005, 03:43 PM   #2
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,269

Rep: Reputation: 530Reputation: 530Reputation: 530Reputation: 530Reputation: 530Reputation: 530
"I figured everything was deleted but why are those files still showing up with the locate command."

The locate command builds its own file showing everything in the system. The results of a locate will be out of date until the next time locate builds its location file. You probably have a cron job which rebuilds the location file once a day.

Steve Stites
Old 01-20-2005, 05:06 PM   #3
Registered: Nov 2004
Posts: 40

Rep: Reputation: 15
Or you could just go (as root) #updatedb


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help - Deleted Files fpdesignco Linux - Enterprise 3 11-05-2005 09:21 AM
Deleted Files wardialer Linux - Newbie 2 02-28-2005 03:12 AM
deleted files - where do they go?? thegreatgatsby Linux - Software 7 10-15-2003 08:01 PM
How to delete the destination files while the source files deleted in cp -u ? myunicom Linux - General 4 09-26-2003 01:13 PM
Deleted files!!! davez530 Linux - Newbie 3 05-18-2003 08:24 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:09 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration