Linux Command Line

Only available on StudyMode
  • Download(s) : 39
  • Published : December 16, 2012
Open Document
Text Preview
1

Linux Command Line

This Course will provide the basic tools, skills and practice to begin the process of learning Linux from the command line.

Written By Mike Weber

Notes:

Copyright by CyberMontana Inc. Cannot be reproduced without written permission. Box 1262 Trout Creek, MT 59874

2 Working Lab Manual This book is designed to be a working manual,  a book you can write notes in, underline and use as a  reference for a long time.  The manual is loaded with Labs to learn and practice skills that you are  developing.   Lab – a short training option to illustrate one aspect of the manual Note: The labs not only contain practical application for information that has already been presented but  they also contain new information.  This means that the labs are an essential part of the learning process.   This symbol suggests extra care be taken on this topic.

Copyright and Trademark Information The product and material in this manual is protected under International Copyright Laws.  All rights are  reserved.  No part of this manual may be reproduced, transmitted or transcribed without the expressed  written permission of Cybermontana Inc. Linux is a registered trademark of Linus Torvalds.  Ubuntu registered trademarks with Canonical.  Windows  is a registered trademark of Microsoft Inc.  All other  brand names and trademarks are properties of their  respective owners.   The information contained in this manual represents our best efforts at accuracy, but we do not assume  liability or responsibility for any errors that may appear in this manual.

August 21, 2008 CyberMontana Inc. Box 1262 Trout Creek, MT 59874

Notes:

Copyright by CyberMontana Inc. Cannot be reproduced without written permission. Box 1262 Trout Creek, MT 59874

3

Table of Contents
Introduction..................................................................1 Getting Started..........................................................1 Lab 1.1 The Linux Prompt ................................................5 Lab 1. 2 Modify The Prompt ............................................6 Finding Help.............................................................8 Lab 1.3 Using man Pages .................................................9 Understanding Users..........................................................11 Normal Users ...........................................................11 Lab 2.1 Users and Groups ...............................................13 The root User...........................................................14 How to Acquire root Privileges .........................................15 Lab 2.2 Acquire root Privileges ........................................17 Passwords ..............................................................19 The history Command ....................................................20 Lab 2.3: history Command ...............................................21 Managing the File System.....................................................23 Pathnames...............................................................23 Lab 3.1: Understanding Relative/Absolute Paths .........................25 Path and Environmental Settings.........................................27 Lab 3.2: Checking the PATH ............................................28 A Linux Standard .......................................................29 Directories vs. Partitions in the File System ..........................31 Lab 3.3: Recognizing Partitions ........................................33 File Types..............................................................34 File Permissions .......................................................36 Lab 3.4: Recognize Permissions..........................................37 Lab 3.5: Change File Permissions - chmod................................39 Link....................................................................41 Diagnostic...
tracking img