Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-19-2007, 10:34 PM   #1
Registered: Jan 2005
Location: US
Distribution: Centos, Ubuntu, Solaris, Redhat
Posts: 396

Rep: Reputation: 31
How do people complete commands or dirs with just a few letters?

I've seen people type just the start of commands and then press something and get the full command or a directory! What are they pressing, this is an incredibly useful part of linux in my opinion and theres not a lot of info on how they do it, I'm sick of typing whole commands when just a few letters and whatever magic button there pressing fills in the rest.

I'll give a quick example of this in case people dont understand...

the people i've seen do this have typed for example: cd /real (then whichever magic button their using) and got to cd /reallylongdirectorylocationhere.

Any ideas?
Old 05-19-2007, 10:35 PM   #2
Senior Member
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
It's called "Tab completion" Does that give you a clue to what key they're pressing.
Old 05-20-2007, 05:55 PM   #3
Registered: Jan 2005
Location: US
Distribution: Centos, Ubuntu, Solaris, Redhat
Posts: 396

Original Poster
Rep: Reputation: 31
tabcompletion?! No idea what that means at all, just kiddin hey this is a newbie forum you know, don't need to get angry quite so quickly!

Never the less thanks for telling me, this should be the first thing in all linux books in my opinion!


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
How can I get people to use Linux? I'm bad at converting people over. Mr. Hill Linux - Newbie 31 10-19-2008 09:16 AM
complete linux commands list kalyanofb Programming 2 02-11-2007 10:15 AM
Symlink two dirs into one? neocookie Linux - General 7 05-27-2005 08:50 AM
How to see just dirs with ls? d1s4st3r Linux - Newbie 3 06-04-2004 10:45 AM
ls, dirs first, files later TroelsSmit Linux - Newbie 4 05-31-2004 11:47 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:50 AM.

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