From the course: Learning Linux Command Line

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Helpful keyboard shortcuts in the terminal

Helpful keyboard shortcuts in the terminal - Linux Tutorial

From the course: Learning Linux Command Line

Helpful keyboard shortcuts in the terminal

- [Instructor] Before we move on to more specific commands, there's a few other helpful things to know about working with commands at the command line. The first is tab completion. Tab completion is a feature of the bash shell and of many other shells too, and it lets us skip typing out a whole file name or directory name when we're working at the command line. It looks at all the information available to it and it makes a guess about what we mean. I'll switch back to my terminal here and clear my screen. I'll type ls -l De, and then I'll press tab. And it completes the line with desktop, because desktop is a directory in the current working directory, which is my home directory. I'll press control C to cancel this command. We saw this before. Control C will cancel out of a line that we've written, and it will also immediately end most command line tasks if we need to do that. Now I'll type ls -l dash, Do, and press tab, and this time I get nothing. That's because tab doesn't have one…

Contents