Just Enough Linux
Free!
Minimum price
$7.99
Minimum paid price

Just Enough Linux

Learning about Linux one command at a time

About the Book

Just Enough Linux...

... to be dangerous.

If you've toyed with Linux and never really caught on to what's happening or have used a graphical interface without really touching the command line this book is for you.

How will it help me?

The idea is to get you started on the process of using some of the commands available in Linux so that you;

  • Feel comfortable running commands
  • You understand a little more about what Linux is about and
  • Most importantly, you start to get Linux.

Is this book for you?

It's not written for experts. It's put together as a guide to get you started if you're unsure about how to make the first move. Although it's examples are centered around using Linux with a Raspberry Pi, the commands you learn here will translate to an industrial server running Linux.

Why is Just Enough Linux being written?

Because in the process of learning things, it's a great way to remember them if you write them down :-).

As a result, writing about how to do cool stuff with Linux means that we're accumulating ways to help ourselves out when the going gets tricky. Making a book out of the information is a no-brainer since that way more people benifit from the process.

So here we are! A collection of Linux commands and (hopefully) helpful information written for people who might consider that they're at the start of a fascinating journey :-).

The awesome that is Leanpub.

I've tried to pitch the book in sections so that if you find something interesting, you can read parts in isolation. I expect there to be additions and corrections to the content over time, so I'm hoping that publishing using Leanpub will allow readers to get easy notification of when updates and improvements are made.

Read the whole book online just to try it out!

I'm making the book content available to read online because I think it's a great way to give something back to the community as a whole, but if you want to download a copy of the PDF, ePub or Mobi version, I'm happy to take a donation to encourage further development of this and other books.

Enjoy.

So I hope you get something out of the book, please excuse the sometimes light-hearted conversational manner in which I've approached the topic and enjoy Linux!

About the Author

Malcolm Maclean
Malcolm Maclean

I have a passion for knowledge and I realise that part of the responsibility of gathering knowledge is being able to advance the state of the human condition in some way.

My aims using the Linux and in writing this book were to play with software and hardware, achieve a personal goal and try something new for fun.

I don't have a formal Linux or coding background so the way I explain things is focussed on trying to impart that understanding in a simple but functional way.

I'm totally in awe of the Open Source community that has made this type of work possible, which is why you can read Just Enough Linux, online for free.

Feel free to follow me on Twitter (@d3noob), I find it a great service to get alerted to what's going on.

Bundles that include this book

Free!
Minimum price
$9.99
Bundle Price

Table of Contents

  • Introduction
    • Welcome!
    • Who is this book for?
    • Other Useful Resources
      • The Linux Information Project (linfo.org)
      • linuxconfig.org
      • raspberrypi.org
      • howtovmlinux.com
      • techmint.com: Linux Howto’s Guide
  • Linux Concepts
    • What is Linux?
    • Executing Commands in Linux
      • The Command
    • Commands
    • Wildcards
      • Examples
    • Regular Expressions
      • Match a defined single character with square brackets ([])
      • Match at the beginning of a string (^)
      • Match at the end of a string ($)
      • Match any single character (.)
      • Match when the preceding character occurs 0 or 1 times only (?)
      • Match when the preceding character occurs 0 or more times (*)
      • Match when the preceding character occurs 1 or more times (+)
      • Group parts of a search expression together (())
      • Find one group of values or another (|)
      • Extended Regular Expressions
    • Pipes (|)
    • Linux Directory Structure
      • /
      • /bin
      • /boot
      • /dev
      • /etc
      • /etc/cron.d
      • /etc/rc?.d
      • /home
      • /lib
      • /lost+found
      • /media
      • /mnt
      • /opt
      • /proc
      • /root
      • /sbin
      • /srv
      • /tmp
      • /usr
      • /usr/bin
      • /usr/lib
      • /usr/local
      • /usr/sbin
      • /var
      • /var/lib
      • /var/log
      • /var/spool
      • /var/tmp
    • Absolute and Relative Path Name Addressing
      • Pathnames
      • Absolute Path Name Addressing
      • Relative Path Name Addressing
      • The ‘home’ short-cut
    • Everything is a file in Linux
      • Traditional Files
      • Directories
      • System Information
      • Devices
    • Linux files and inodes
      • The file name
      • The inode
    • links
      • Soft Links (aka symbolic links, aka symlinks)
      • Hard Links
      • Links Compared
    • File Editing
      • The nano Editor
    • Scripting
      • Writing our Script
      • Make the script executable
      • Place the script somewhere that the shell can find it
  • Linux Commands
    • File Administration
      • cd
      • chgrp
      • chmod
      • chown
      • cp
      • find
      • gzip
      • ln
      • ls
      • mkdir
      • mv
      • pwd
      • rm
      • rmdir
      • tar
    • Accessing File Contents
      • cat
      • cut
      • diff
      • grep
      • head
      • less
      • more
      • tail
    • File Systems
      • fdisk
      • mkfs
      • mount
      • umount
    • System Information
      • date
      • df
      • du
      • free
    • Processes
      • crontab
      • kill
      • killall
      • ps
      • top
    • Network
      • curl
      • host
      • ifconfig
      • ip
      • netstat
      • ping
      • scp
      • sftp
      • ssh
      • traceroute
      • wget
    • Miscellaneous
      • apt-get
      • clear
      • echo
      • groupadd
      • man
      • modprobe
      • passwd
      • shutdown
      • su
      • sudo
      • useradd
      • usermod
      • who
      • whoami
  • Command Cheat Sheet
  • Directory Structure Cheat Sheet
  • Regular Expression Cheat Sheet
  • `find’ Cheat Sheet

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

80% Royalties. Earn $16 on a $20 book.

We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $13 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub