![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Delete duplicate files from one of two directory structures | procreator | UNIX for Dummies Questions & Answers | 0 | 10-15-2009 11:33 AM |
| Mac OS X 10.5: Duplicate computer name alert when binding to Open Directory | iBot | OS X Support RSS | 0 | 12-15-2008 02:10 PM |
| script that detects duplicate files in directory | trueman82 | Shell Programming and Scripting | 1 | 12-04-2006 11:58 AM |
| remove duplicate files in a directory | asinha63 | Shell Programming and Scripting | 1 | 03-13-2006 03:46 PM |
| understanding logical partition, physical partition | yls177 | UNIX for Dummies Questions & Answers | 3 | 11-15-2002 10:49 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Duplicate directory in same partition help.
Hi,
I have found a directory on my web server that have 2 same directory names in the same location on the same partition. Is there a way to mkdir a name twice and be able to see them both in the same location? Heres an example of the ouput: Code:
[root]# ls access_log.1.bkup access_log.1.bkup.2.gz data public_html access_log.1.bkup.1.gz access_log.1.bkup.3.gz public_html As you can see there are two public_html directories and they both have two different inode numbers but when you cd into public_html which one would you end up in? Is there some way to know which one is the suspicious one? I would like to delete the suspicious public_htm. I believe an unauthorized access has created this duplicate and doing something malicious. I have use the command find . -inum 293843 | xargs cd to try to change directory to the one I thought was suspicious but I get an error message saying directory doesn't exist. And the same error message for the other directories by trying to CD into a directory by specifying the inode instead of the file name. Any help and ideas would be appreciated! I need to cd into a directory by specifying the inode number and not the file name. I would aslo like to know the possibility of creating two same name folders under same directory. Best Regards,[COLOR="#738fbf"] Last edited by maiku09; 10-23-2009 at 02:10 PM.. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|