LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-19-2007, 10:34 PM   #1
genderbender
Member
 
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
rickh
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
genderbender
Member
 
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!
 
  


Reply



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 50 07-11-2020 10:41 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:20 PM.

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