Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Display all 2271 possibilities? (y or n) ????
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
danscho
Tux's lil' helper
Tux's lil' helper


Joined: 01 Oct 2003
Posts: 142
Location: Munich (Germany)

PostPosted: Sun Feb 29, 2004 2:04 pm    Post subject: Display all 2271 possibilities? (y or n) ???? Reply with quote

wenn ich als root zweimal TAB drücke erscheint "Display all 2271 possibilities? (y or n)".........



was ist das??? is bestimmt ne dumme frage, aber egal
Back to top
View user's profile Send private message
sirro
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1472
Location: aachen.nrw.de.eu

PostPosted: Sun Feb 29, 2004 2:10 pm    Post subject: Re: Display all 2271 possibilities? (y or n) ???? Reply with quote

danscho wrote:
wenn ich als root zweimal TAB drücke erscheint "Display all 2271 possibilities? (y or n)".........
was ist das??? is bestimmt ne dumme frage, aber egal


Das kommt von der Tab-Completition, wenn du z.B. /u und dann TAB eingibst, dann macht er automatisch /usr draus. Wenn das nicht eindeutig ist, dann gibt er dir beim 2. TAB die möglichkeiten aus
z.B. /b TAB TAB ergibt boot und bin

Wenn noch gar nichts in der Kommandozeile steht, dann versucht er im $PATH alle dateien zu überprüfen und das können [sb]sehr[/b] viele mögliche Dateien sein.

Hilft dir das weiter?

EDIT: Dumme Fragen sind nur die, die durch lesen der Doku nicht enstanden wären. Mir ist auf anhieb keine Doku bekannt wo sowas drin stehen würde...


Last edited by sirro on Sun Feb 29, 2004 2:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
RealGeizt
l33t
l33t


Joined: 22 Apr 2003
Posts: 700

PostPosted: Sun Feb 29, 2004 2:11 pm    Post subject: Reply with quote

tab dient zur vervollständigung deiner ausführbaren befehle.
wenn du allerdings 2 mal tab drückst ohne etwas geschrieben haben schlägt dir die console alle ausführbaren befehle vor wo es gibt.
das ist wie beim handy das wörterbuch...autovervollständigung der wörter.
nur hier sind es eben ausführbare befehle :)
drückst du z.b.: "d" dann zeigt er dir nur die ausführbaren befehle die mit d anfangen.
schreibst du z.b.: "start" dann zeigt er dir die auführebaren befehle an die mit start anfangen.
hoffe das ist ne ausführliche erklärung :)
Back to top
View user's profile Send private message
amne
Bodhisattva
Bodhisattva


Joined: 17 Nov 2002
Posts: 6378
Location: Graz / EU

PostPosted: Sun Feb 29, 2004 2:13 pm    Post subject: Reply with quote

Nennt sich Tab-Completion. Wenn du in der Shell (vermutlich bash bei dir) Tab(ulator) drückst, wird der aktuelle Befehl vervollständigt, bei einem 2en Tab werden sofern es uneindeutig war alle potentiellen möglichkeiten angezeigt. Da du nichts getippt hast, sind alle ausführbaren Programme (2271 in deinem Fall) eine potentielle Möglichkeit, daher fragt er, ob er dich wirklich damit zuspammen soll.
Versuch mal:
ls /var/t[TAB] -> ls /var/tmp
ls /usr/s[TAB] -> nix passiert. Nochmal [TAB] und die potentiellen Möglichkeiten (sbin share src) werden angezeigt. Wenn du noch einen Buchstaben angibst und es eindeutig wird, wird wieder mit [TAB] vervollständigt.
Einfach mal ein bisschen damit rumspielen, dann sollte es recht klar werden.

[edit]Bah, ich bin hier ja viel zu langsam mit meiner Antwort. :roll: [/edit]
Back to top
View user's profile Send private message
danscho
Tux's lil' helper
Tux's lil' helper


Joined: 01 Oct 2003
Posts: 142
Location: Munich (Germany)

PostPosted: Sun Feb 29, 2004 2:47 pm    Post subject: Reply with quote

ok, kapiert....

danke für die ganzen antworten
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