Skip to Content
Working with Linux ??? Quick Hacks for the Command Line
book

Working with Linux ??? Quick Hacks for the Command Line

by Petru I»ôfan, Bogdan Vaida
May 2017
Beginner
222 pages
3h 50m
English
Packt Publishing
Content preview from Working with Linux ??? Quick Hacks for the Command Line

Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "Open the terminator and type sudo apt install zsh to install zsh, as shown in."

A block of code is set as follows:

case ${CMD} in
    publicip)
        print_public_ip
        ;;
    ip)
        IFACE=$(getarg iface $@)
        print_ip $IFACE
        ;;
    *)
        echo "invalid command"
esac

Any command-line input or output is written as follows:

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
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

Basic Linux Terminal Tips and Tricks: Learn to Work Quickly on the Command Line

Basic Linux Terminal Tips and Tricks: Learn to Work Quickly on the Command Line

Philip Kirkbride
Windows Registry Troubleshooting

Windows Registry Troubleshooting

MVP Mike Halsey, MVP Andrew Bettany

Publisher Resources

ISBN: 9781787129184