View previous topic :: View next topic |
Author |
Message |
rubbish n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Jan 2005 Posts: 26
|
Posted: Thu Feb 02, 2006 1:35 pm Post subject: Verzeichnis unsichtbar |
|
|
Hallo Leuts
Wie kann es sein, dass ein Verzeichnis in der Shell (Bash) bei einem ls -la nicht sichbar ist?
Es wird nicht aufgelistet, aber beim cd xpl (so heisst das Verzeichnis) kommt man rein und kann auch den Ihnalt anzeigen.
Wie kann ich solche Verzeichnisse finden?
Danke für die Info!
rubbish
Last edited by rubbish on Thu Feb 02, 2006 2:12 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Anarcho Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1030393113423afb9086043.jpg)
Joined: 06 Jun 2004 Posts: 2970 Location: Germany
|
Posted: Thu Feb 02, 2006 2:08 pm Post subject: |
|
|
Das sollte eigentlich nicht sein.
Bist du dir ganz sicher das es nicht angezeigt wird?
ls -l | grep xpl
schon probiert?
Ansonsten check mal die FileAttribute:
lsattr xpl _________________ ...it's only Rock'n'Roll, but I like it! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rubbish n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Jan 2005 Posts: 26
|
Posted: Thu Feb 02, 2006 2:19 pm Post subject: |
|
|
Oke, danke für die Antwort.
Hab leider das Verzeichnis schon gelöscht...
Mitm ls -la wurden nur ein Paar Dateien angezeigt, das Verzeichnis wirklich nicht.
Hättest du ne Idee, wie man solche Verzeichnisse finden könnte?
thx
rubbish |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Lenz Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/129311434645eb6965ba5be.jpg)
Joined: 17 Jul 2003 Posts: 1439 Location: Marburg [HE, D, EU]
|
Posted: Thu Feb 02, 2006 2:37 pm Post subject: |
|
|
rubbish wrote: | Mitm ls -la wurden nur ein Paar Dateien angezeigt, das Verzeichnis wirklich nicht. |
Bei ls -la zeigt er den Inhalt des Verzeichnisses an, nicht das Verzeichnis selber! _________________ .:: Lenz' Signature 1.7b ::.
| Gentoo Linux since v1.4 (08-2003) [Screenshot]
| NetHack Highscore: 5.476.380 Pts., Val-Dwa-Fem-Law, ~ ascended to demigoddess-hood ~ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rubbish n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Jan 2005 Posts: 26
|
Posted: Thu Feb 02, 2006 2:39 pm Post subject: |
|
|
Lenz wrote: |
Bei ls -la zeigt er den Inhalt des Verzeichnisses an, nicht das Verzeichnis selber!
|
Sorry, natürlich im übergeordnetem Directory ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Lenz Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/129311434645eb6965ba5be.jpg)
Joined: 17 Jul 2003 Posts: 1439 Location: Marburg [HE, D, EU]
|
Posted: Thu Feb 02, 2006 2:47 pm Post subject: |
|
|
rubbish wrote: | Lenz wrote: |
Bei ls -la zeigt er den Inhalt des Verzeichnisses an, nicht das Verzeichnis selber!
|
Sorry, natürlich im übergeordnetem Directory ![Smile :)](images/smiles/icon_smile.gif) |
Vom übergeordneten Verzeichnis rede ich ja!
Beispiel (la == ls -la):
Code: | lenz@sulphur / $ la
insgesamt 20K
drwxr-xr-x 19 root root 432 31. Jan 12:52 .
drwxr-xr-x 19 root root 432 31. Jan 12:52 ..
drwxr-xr-x 2 root root 3,6K 27. Jan 01:10 bin
drwxr-xr-x 2 root root 72 27. Jan 01:10 boot
drwxr-xr-x 20 root root 4,3K 2. Feb 15:30 dev
drwxr-xr-x 82 root root 5,7K 2. Feb 15:44 etc
drwxr-xr-x 4 root root 96 21. Jan 23:25 home
drwxr-xr-x 10 root root 4,8K 21. Jan 02:12 lib
drwxr-xr-x 6 root root 144 21. Jan 17:11 media
drwxr-xr-x 6 root root 144 21. Jan 17:11 mnt
drwxr-xr-x 12 root root 368 8. Jan 20:09 opt
dr-xr-xr-x 126 root root 0 2. Feb 15:29 proc
drwx------ 28 root root 1,8K 2. Feb 15:44 root
drwxr-xr-x 2 root root 4,4K 27. Jan 01:10 sbin
drwxr-xr-x 10 root root 0 2. Feb 15:29 sys
drwxrwxrwt 13 root root 944 2. Feb 15:31 tmp
drwxr-xr-x 17 root root 568 21. Jan 17:16 usr
drwxr-xr-x 14 root root 384 21. Jan 17:12 var
lenz@sulphur / $ la home
insgesamt 2,5K
drwxr-xr-x 4 root root 96 21. Jan 23:25 .
drwxr-xr-x 19 root root 432 31. Jan 12:52 ..
-rw-r--r-- 1 root root 0 13. Sep 12:03 .keep
drwxr-xr-x 59 lenz users 2,8K 2. Feb 15:38 lenz
lenz@sulphur / $ |
Das heißt, wenn du "ls -la xpl" eingibst, zeigt er dir nicht das Verzeichnis an, sondern dessen Inhalt! _________________ .:: Lenz' Signature 1.7b ::.
| Gentoo Linux since v1.4 (08-2003) [Screenshot]
| NetHack Highscore: 5.476.380 Pts., Val-Dwa-Fem-Law, ~ ascended to demigoddess-hood ~ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rubbish n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Jan 2005 Posts: 26
|
Posted: Thu Feb 02, 2006 2:53 pm Post subject: |
|
|
Ja klar, hast recht. Aber es geht mir ja eigentlich gar nicht darum.
Ich will wissen, wieso das Verzeichnis nicht sichtbar is (oder jetzt halt war... ). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Anarcho Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1030393113423afb9086043.jpg)
Joined: 06 Jun 2004 Posts: 2970 Location: Germany
|
Posted: Thu Feb 02, 2006 3:10 pm Post subject: |
|
|
Lenz wrote: | rubbish wrote: | Mitm ls -la wurden nur ein Paar Dateien angezeigt, das Verzeichnis wirklich nicht. |
Bei ls -la zeigt er den Inhalt des Verzeichnisses an, nicht das Verzeichnis selber! |
Für diesen Fall gibt es den Parameter "-d" _________________ ...it's only Rock'n'Roll, but I like it! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|