diff options
author | Aaron Ball <nullspoon@oper.io> | 2017-12-02 14:49:46 -0700 |
---|---|---|
committer | Aaron Ball <nullspoon@oper.io> | 2017-12-02 14:49:46 -0700 |
commit | b37e8eaf0212965873a624e82e3e02cd84785792 (patch) | |
tree | 416a7f68ab2bfe7645d4c009c73b8a7206ac9dd4 /src/Command_Line_Auto-Complete.adoc | |
parent | 3fc03616cc9d4cb7e0fa281c4990ae2b022aa09f (diff) | |
download | oper.io-b37e8eaf0212965873a624e82e3e02cd84785792.tar.gz oper.io-b37e8eaf0212965873a624e82e3e02cd84785792.tar.xz |
Moved all posts under src to new posts directory
This allows the src directory to be used for other things (like cgi
code).
Diffstat (limited to 'src/Command_Line_Auto-Complete.adoc')
-rw-r--r-- | src/Command_Line_Auto-Complete.adoc | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/src/Command_Line_Auto-Complete.adoc b/src/Command_Line_Auto-Complete.adoc deleted file mode 100644 index 49476a3..0000000 --- a/src/Command_Line_Auto-Complete.adoc +++ /dev/null @@ -1,52 +0,0 @@ -Command Line Autocomplete -========================= -:author: Aaron Ball -:email: nullspoon@iohq.net - - -== {doctitle} - -I was working with a fellow aspiring Linux user today on a project with him -(yes, I'm talking about you Eric) and I noticed that when he would 'cd', he -would completely type the folder name, even when it was apache-tomcat-6.0.26. -If you've been using Linux for any amount of time, this might give you a -headache because you know about Bash's autocomplete feature. I mentioned it to -him and after seeing what it did, he exclaimed that he had been looking all -over for that and was never able to find it. - -Note that this little trick works on windows command line as well as linux/unix -command line (most shells support some variant of this - bash, zsh, ksh). While -the two categories behave slightly differently, it still provides a -functionality that is comparable to that of a breath of fresh air in a sewage -treatment plant. - -For those of you who are impatient, **the auto-complete feature of bash is -executed with the <tab> key**. - -How is it used? We'll use linux for this example. - -If you type ... - ----- -cd /usr/li <tab> ----- - -...the shell will fill in /usr/lib. Now, you will notice that there are two -directories in the /usr/ directory that start with lib. If you then proceed to -type... - ----- -cd /usr/libe <tab> ----- - -...the shell will fill in /usr/libexec. - -Neat, huh? - - - -Category:Linux -Category:Bash - - -// vim: set syntax=asciidoc: |