LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-20-2005, 04:25 PM   #1
tilt32
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

/home/hldsuser1/hlds/valve/sound/UI/buttonclick.wav
.
.
.
.
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 04:28 PM.
 
Old 01-20-2005, 04:43 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 272Reputation: 272Reputation: 272
"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, 06:06 PM   #3
Aeoruuk
Member
 
Registered: Nov 2004
Posts: 40

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


Reply


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 10:21 AM
Deleted Files wardialer Linux - Newbie 2 02-28-2005 04:12 AM
deleted files - where do they go?? thegreatgatsby Linux - Software 7 10-15-2003 09:01 PM
How to delete the destination files while the source files deleted in cp -u ? myunicom Linux - General 4 09-26-2003 02:13 PM
Deleted files!!! davez530 Linux - Newbie 3 05-18-2003 09:24 AM


All times are GMT -5. The time now is 08:27 AM.

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