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 - 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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
What is the command line?4m 24s
-
(Locked)
Understand how commands are structured5m 32s
-
(Locked)
Write commands in a shell at the prompt4m 17s
-
(Locked)
Finding help for commands6m 15s
-
(Locked)
Helpful keyboard shortcuts in the terminal5m 44s
-
(Locked)
Challenge: Find command information22s
-
(Locked)
Solution: Find command information2m 47s
-
(Locked)
-
-
-
-