Hacking University Senior Edition
Linux
Optimal beginner's guide to precisely learn and conquer the Linux operating system. A complete step-by-step guide in how the Linux command line works
BY ISAAC D. CODY
Table of Contents
Copyright 2016 by Isaac D. Cody - All rights reserved.
This document is geared towards providing exact and reliable information in regards to the topic and issue covered. The publication is sold with the idea that the publisher is not required to render accounting, officially permitted, or otherwise, qualified services. If advice is necessary, legal or professional, a practiced individual in the profession should be ordered.
- From a Declaration of Principles which was accepted and approved equally by a Committee of the American Bar Association and a Committee of Publishers and Associations.
In no way is it legal to reproduce, duplicate, or transmit any part of this document in either electronic means or in printed format. Recording of this publication is strictly prohibited and any storage of this document is not allowed unless with written permission from the publisher. All rights reserved.
The information provided herein is stated to be truthful and consistent, in that any liability, in terms of inattention or otherwise, by any usage or abuse of any policies, processes, or directions contained within is the solitary and utter responsibility of the recipient reader. Under no circumstances will any legal responsibility or blame be held against the publisher for any reparation, damages, or monetary loss due to the information herein, either directly or indirectly.
Respective authors own all copyrights not held by the publisher.
The information herein is offered for informational purposes solely, and is universal as so. The presentation of the information is without contract or any type of guarantee assurance.
The trademarks that are used are without any consent, and the publication of the trademark is without permission or backing by the trademark owner. All trademarks and brands within this book are for clarifying purposes only and are the owned by the owners themselves, not affiliated with this document.
Disclaimer
All rights reserved. No part of this publication may be reproduced, distributed, or transmitted in any form or by any means, including photocopying, recording, or other electronic or mechanical methods, without the prior written permission of the publisher, except in the case of brief quotations embodied in critical reviews and certain other noncommercial uses permitted by copyright law.
Introduction
Computers contain two functional components- software and hardware. The hardware is the physical parts that spin, compute, and use electricity to perform calculations, but software is a more virtual concept. Essentially, software consists of programming code that gives instructions to the hardware- telling the parts what to do. There is high level software such as Internet browsers, word processors, music players, and more. But the often overlooked component is the low level software known as an operating system.
Operating systems are required for our personal computers to work. At an office, or with a relatively inexpensive desktop computer the operating system used is probably Microsofts Windows. Content creators, writers, and graphic artists prefer Apple computers because they come with the creativity-focused OSX operating system. Those two OSs, Windows and OSX, have dominated the consumer market for many years. However, an alternative operating system exists that excels in usability, customization, security, and price. OSs based off of the relatively unknown Linux meet and exceed in all of those areas, but it remains an obscure option that many people have not even heard of.
Linux is not an operating system by itself. It is a kernel, or the core of an OS. Just as Windows NT is the kernel of Windows 7, Linux is the kernel of distributions such as Ubuntu, Debian, Arch, Fedora, and more.
But why would anybody abandon the familiarity of Windows for an unheard of computing environment? Linux is not only monetarily free, but it is also compatible with a huge range of devices. Older computers, and especially ones that no longer work can be rejuvenated with a Linux OS, making it run as though it were new again.
This book will explicate upon the benefits of switching to Linux, as well as serve as a beginners guide to installing, configuring, and using the most popular distribution. Then, the terminal command line will be explained to tell how to take advantage of the OS in ways not possible in other systems. Truly there are many advantages to be gained by switching to Linux, and you just might find a suitable primary OS to use on your computers by reading this book.
History of Linux
In the early 1990s Linus Torvalds was a student in Finland. Computers of the time usually ran on either DOS or UNIX, two operating systems that were both proprietary and difficult to use at the time. Torvalds sought to create his own operating system as a hobby project (based off of UNIX), but the project quickly grew and attracted more developers. The kernel continued to transform until it was portable (usable on a variety of systems) and entirely usable for computing. A kernel is not an OS, though, so Linux was combined with the GNU core utilities to create a computing environment reminiscent of an operating system.
Then, 3 rd party organizations took the base Linux product and added their own high level software and features to it, thereby creating Linux distributions. Linux remains a free hobby project even through today, and thus the kernel is continuously receiving updates and revisions by Torvalds and the community. Throughout the 2000s, many other 3 rd parties saw the usefulness of the Linux environment and they began to incorporate it into their production environments and corporations. Today, Linux is known for being highly used in servers and business settings with a small dedicated desktop following. Working towards the future, the kernel has reached a level of popularity where it will never die out. Large companies revel in Linux because of its advantages and usefulness, and so the kernel and various distributions will always exist as the best alternative operating system.
Benefits of Linux
To compare how great of an option Linux is for a computer, we shall compare it to the more familiar modern operating systems.
First, Linux is free. The background of GNU places Linux into a free and open source mentality where most (if not all) of the software shipping with Linux is free. Free and open source (FOSS) refers to two things- the software is both monetarily free and the source code is also transparent. FOSS differs from proprietary software in that everything is open with FOSS, and there are no hidden spyware, fees, or catches involved with using it. The software is often more secure because anybody can contribute to the readily available source code and make it better. Because Linux and most of the software you can download for it is free, it is a fantastic operating system for small businesses or individual users on a budget. Certainly no quality is sacrificed by not charging a fee, because the Linux project and its various distributions are community-driven and funded through donations. Compare this to the cost of Windows, which is often many hundreds of dollars for the OS alone. Microsoft Office is a popular document writing program suite, but it also prices high. Free alternatives to these programs exist in Linux, and they definitely compare in quality to the big name products.
Probably the largest complaint held by PC owners is viruses. Windows computers are especially susceptible to them, and even anti-virus software companies are always playing catch-up to the newest threats. Simply visiting a malicious website is often enough to infect a computer, and many users choose Mac computers because of the significantly less frequency of incidents relating to malware. Linux-based operating systems are similar to Macs in that viruses are virtually non-existent. This increased security makes switching to Linux a must for anybody concerned about privacy, security, or reliability.
Next page