Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Verzeichnis unsichtbar
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
rubbish
n00b
n00b


Joined: 29 Jan 2005
Posts: 26

PostPosted: Thu Feb 02, 2006 1:35 pm    Post subject: Verzeichnis unsichtbar Reply with quote

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
View user's profile Send private message
Anarcho
Advocate
Advocate


Joined: 06 Jun 2004
Posts: 2970
Location: Germany

PostPosted: Thu Feb 02, 2006 2:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
rubbish
n00b
n00b


Joined: 29 Jan 2005
Posts: 26

PostPosted: Thu Feb 02, 2006 2:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
Lenz
Veteran
Veteran


Joined: 17 Jul 2003
Posts: 1439
Location: Marburg [HE, D, EU]

PostPosted: Thu Feb 02, 2006 2:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
rubbish
n00b
n00b


Joined: 29 Jan 2005
Posts: 26

PostPosted: Thu Feb 02, 2006 2:39 pm    Post subject: Reply with quote

Lenz wrote:

Bei ls -la zeigt er den Inhalt des Verzeichnisses an, nicht das Verzeichnis selber!


Sorry, natürlich im übergeordnetem Directory :)
Back to top
View user's profile Send private message
Lenz
Veteran
Veteran


Joined: 17 Jul 2003
Posts: 1439
Location: Marburg [HE, D, EU]

PostPosted: Thu Feb 02, 2006 2:47 pm    Post subject: Reply with quote

rubbish wrote:
Lenz wrote:

Bei ls -la zeigt er den Inhalt des Verzeichnisses an, nicht das Verzeichnis selber!


Sorry, natürlich im übergeordnetem Directory :)


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
View user's profile Send private message
rubbish
n00b
n00b


Joined: 29 Jan 2005
Posts: 26

PostPosted: Thu Feb 02, 2006 2:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Anarcho
Advocate
Advocate


Joined: 06 Jun 2004
Posts: 2970
Location: Germany

PostPosted: Thu Feb 02, 2006 3:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum