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

  1. Review the following commands and write down what each does:

    1. pwd
    2. cd Desktop
    3. cd ~
    4. cd
    5. echo
    6. echo Hi there > greetings.txt
    7. cat greetings.txt
    8. mkdir /var/website
    9. !!
  2. Explain the difference between cat, more, and less. Use the man command to explore the more and less commands. When would you use one command over another?

  3. The history command will show you the recent commands you typed. Create a log for your notes of the commands by saving the result of the history command to a text file called history.txt.

  4. The cal and ncal commands give you a small calendar right in your terminal. Explore both of these commands and then use each to display a calendar for two years in the future.

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