Skip to Content
Small, Sharp Software Tools
book

Small, Sharp Software Tools

by Brian P. Hogan
June 2019
Intermediate to advanced
328 pages
7h 27m
English
Pragmatic Bookshelf
Content preview from Small, Sharp Software Tools

Your Turn

In this chapter, you explored a few ways to customize your environment. Take a shot at these challenges to stretch your thinking before moving on.

  1. For each of the following variables, identify what the variable is for and whether it’s an environment variable or a shell variable:

    • HOME
    • LANG
    • OLDPWD
    • CDPATH
  2. Create the following aliases:

    • An alias called ep which opens your ~/.bashrc file in nano so you can make changes quickly.

    • An alias called sp which sources your ~/.bashrc file so you can apply those changes.

    • An alias that displays the shell and environment variables, without displaying functions, that displays the results one page at a time.

  3. Modify your showme function to display a calendar. Use the cal or ncal command you explored in the ...

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

The VimL Primer

The VimL Primer

Benjamin Klein
What Employees Want Most in Uncertain Times

What Employees Want Most in Uncertain Times

Kristine W. Powers, Jessica B.B. Diaz

Publisher Resources

ISBN: 9781680507003Errata Page