Let's learn some shortcuts for quick navigation around the command line.
Type the following sentence out into your command line for practice.
$ hello I am a testing monkey
We can use the ctrl-key (^) to move our cursor:
We can move through either a character or a word at a time.
Sometimes when we type really fast, we switch letters or words around.
We can fix this with transpose:
Try it with these examples here:
$ java helloWordl $ ls directoryName -l
To convert to lower or uppercase:
To delete (or kill) characters or words, use the following:
If the terminal window seems cluttered and we'd like to clear everything, we type:
Or to be more efficient, just hit
Ever feel achy from sitting crunched up on your computer table? Try lying down with these optical glasses that allow you to work on your laptop while lying flat on your back. This is the perfect solution with those with limited mobility or those who wish to prevent neck cramps and back strains.$ Check price
Command Line Kung Fu is packed with dozens of tips and practical real-world examples. You won't find theoretical examples in this book. The examples demonstrate how to solve actual problems. The tactics are easy to find, too. Each chapter covers a specific topic and groups related tips and examples together.$ Check price