Skip to Main Content
Linux Shell Scripting Essentials
book

Linux Shell Scripting Essentials

by Sinny Kumari
November 2015
Beginner content levelBeginner
282 pages
5h 5m
English
Packt Publishing
Content preview from Linux Shell Scripting Essentials

Command completion

While working on a command line, everyone has to do a common task such as typing, which includes commands, its options, input/output file path, and other arguments. Sometimes, we write a wrong command name because of a spelling error in the command name. Also, typing a long file path will be very difficult to remember. For example, if we want to look recursively into the contents of a directory present at the path /dir1/dir2/dir3/dir4/dir5/dir6, we will have to run the following command:

$ ls -R /dir1/dir2/dir3/dir4/dir5/dir6

We can see that the path of this directory is very long and there is a high chance of making an error while typing the full path. Due to these issues, working on a command line will take a longer time than ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Linux Shell Scripting

Learning Linux Shell Scripting

Ganesh Sanjiv Naik

Publisher Resources

ISBN: 9781785284441Supplemental Content