From: Mk 27 Date: 2009-05-20T01:16:53+09:00 Subject: Re: Beginner question pt.2 Calvin wrote: > On May 19, 6:36�am, Martin DeMello wrote: >> >> Yes, that's correct, as long as ruby1.9 is in your path. >> >> Also you can say cd ~/Desktop/programs rather than three separate cds. >> And don't miss tab completion, if you're using bash. >> >> martin > > Hi Martin, > > I am using bash... what is "tab completion" and how do I do it? Start typing enough of the directory name, and by pressing tab bash will finish it for you -- if what you have is enough to identify it uniquely. For example, if you are in /home/me and you want to get to scripts/ruby/tests, try "cd scr" don't press return, press tab and scr will expand to scripts, then "/ru" and do the same thing, then "/te" tab and you'll have cd scripts/ruby/tests now you can hit return, and all you actually typed was cd scr[TAB]/ru[TAB]/te[TAB] Hopefully that is clear enough...a lot of CLI (and GUI) apps use tab completion (eg, google). -- Posted via http://www.ruby-forum.com/.