COURSES ••• COMPANY ••• ASPE EXPERIENCE ••• ENTERPRISE SOLUTIONS ••• CONTACT US ••• HOME

For real-time information or assistance with classes, call us toll-free at
877-800-5221 or email us at customerservice@aspeonline.com.



Course HomeCourse DatesCourse DetailsCourse OutlineCourse FacultyCourse Pricing
 

COURSE 010 | 2-DAY SESSION
Hands-On UNIX Level 1: Fundamentals for Power Users

Course Outline

I. Getting Started - Logon, Commands, and Help

Begin your journey to UNIX power-user status by understanding the basics. Learn how UNIX started to understand why it works the way it does. Detail the login and password administration process, practice logging in and out, and end using“Getting help.” UNIX has an abundance of commands to work with, each with multiple parameters. Use the on-line documentation available to discover the purpose and meaning of any command you choose.

  1. UNIX/Linux origins
  2. Passwords
  3. Password administration
  4. Logging and out
  5. Typical UNIX commands
  6. Getting help


Hands-on Lab #1

Getting and Gathering Information

In this hands-on lab you will login to your Linux system, use the on-line documentation to get information on several commands (ones you will use throughout the course), and use password administration to change your password and finish by logging out.

II. Files and Directories - Moving Around in Unix

A big step in understanding UNIX is getting a proper understanding of how to move around within the operating system. Learn the commands to list directories, view directories, and move between directories. Get a solid understanding of file types, how file names are generated and the conventions used. Examine the relationship between the directory and file structure, and learn about absolute and relative paths.

  1. File types
    • Displaying detailed file information
    • Distinguish files by content
  2. B. File tree structure
    • Directories and subdirectories
    • System and user directories
    • The HOME directory
  3. C. Navigating, listing, and making directories
    • i. Commands (cd and pwd)
    • ii. Using ls, mkdir, and rmdir
  4. File naming conventions
  5. Absolute and relative paths
  6. File name generation
    • Using *,?, [ ], and ~ to generate a list of file names
    • Productivity uses for FNG
  7. Hidden files

Hands-on Lab #2

Moving Around in UNIX

Use common UNIX commands to navigate through the UNIX directory structure. Learn to comfortably do this so it becomes natural. Then, using commands you've learned in the interactive lecture, practice listing files names.

III. File Manipulation – A Critical Skill

Once you can move around, the next step is to move things around. In this section learn how to find, copy, rename, move and remove files, get hands-on with the commands!

  1. Finding files
  2. Viewing the contents of a file
  3. Copy, rename, move and remove files
    • Moving or copying multiple files to a directory
    • Removing files using rm
    • Copying and Removing a subtree
  4. Understand links
    • i. Hard Links and Symbolic/soft links


Hands-on Lab #3

Working with Files

Using the UNIX command line interface, properly view contents in files and use the proper commands to create, find, copy, rename, move and delete files. Do this for multiple files and get accustomed to file manipulation in UNIX.

IV. Text Manipulation - Using a Crucial Power-User Tool

The editor in UNIX is your key power user tool. In this section you will learn the details of the“vi” editor and get hands-on experience using it to edit files. Additionally, you will get a snapshot view of "sed" and "akw" and will use these commands hands-on based on your needs as a power user.

  1. A. Types of editors
  2. B. The “vi” editor
    • Starting and quitting a vi session
    • Saving the modified edit buffer to a file
    • Copying, cutting and pasting Test
  3. Customizing your “vi” session
  4. Text processing utilities
    • “sed”-stream editing and“awk” field processing

Hands-on Lab #4

Links

Learn how to create a file that refers or points to an object, called links. Create hard links and symbolic/soft links and verify the results.


V. File Security - Valuable Protection Strategies

Protecting files and providing file level access is one of the most common operations in any operating system. UNIX file level security is an important aspect of its capabilities. You will learn all aspects of UNIX file permission structure and how to work within that structure.

  1. A. File permissions
    • Changing file permissions
  2. B. Default permissions
  3. C. Ownership and groups

Hands-on Lab #5

Using Editors and Text Processing Utilities

Use the “vi” editor to create and modify multiple files. Use “awk” and“sed” to reformat the contents of a file.

VI. Input and Output to Files and Commands

Execute “stdin,” “stdout,” and“stderr” and learn how to modify the output of several commands.

  1. File descriptors
  2. File redirection
  3. The “Bit Bucket”
  4. Using Pipes to connect processes via I/O


Hands-on Lab #6

Redirections and Pipes

Use and execute a combination of redirection and pipes to modify the output of several commands. Use the /dev/null file for unwanted output.

VII. The Shell - Interfaces that Work

UNIX uses the concept of a shell to provide both a command and a programming language that provides an interface to the UNIX operating system. Learn about different Shells available and their capabilities. Also see how shell programs combine the operating system's small commands to accomplish larger tasks.

  1. sh, csh, and ksh
  2. Shell variables
  3. Built-in commands
  4. Aliases
  5. Start-up files
  6. Customizing your log-in


Hands-on Lab #7

Login Customization

Using the“vi” editor, customize your login and test to ensure you did the work correctly.


VIII. Shell Scripting - For Accurate Functionality

The whole UNIX system is built on scripts, with the system initiation scripts being the most important aspects of that function. In the class, you will read and identify what the scripts are doing and how to troubleshoot basic problems

  1. A. Execution
  2. B. Syntax
  3. C. Troubleshooting


Hands-on Lab #8

Shell Scripting

Write, test, and run simple shell scripts. Learn how to get processes and services running by building the proper initiation scripts.

IX. Processing and Multitasking - Running Multiple Tasks

You will learn the Unix system architecture and why this architecture is so much more dependable than others. Foreground and background processing provides the basis for multitasking which you will utilize to run concurrent tasks. You also will learn how to view all the jobs currently running on your system.

  1. Child/parent relationship
  2. Foreground and background processes
    • Running concurrent tasks
  3. Default signal and signal handling

Hands-on Lab #9

Multitasking

Run concurrent tasks using foreground and background processing. Demonstrate the child/parent relationship of processes and their effects.

X. Using the Networking - Remote Connectivity Capabilites

There are numerous advantages of accessing systems remotely; UNIX provides powerful remote system connectivity. You will use “telnet,” “ftp,” and “ssh” to move files and “rlogin,” “rcp,” and“rsh” to multiple files on a remote system.

  1. A. Telnet and FTP
  2. B. The Berkley “r” commands
    • i. “rlogin,” “rcp,” and “rsh”
  3. C. Secure Shell “ssh”


Hands-on Lab #10

Remote Login Using Multiple Commands

Login to another system using “telnet,” “rlogin,” and “ssh” then do some simple file manipulation using the Berkley“r” commands.

XI. The System Administrator - From a Power-User Perspective

There is a lot more to learn before you get to this step, but there are some simple tricks and tips you can use now that will make you a stronger power user. Understand the responsibilities of a Unix Sys Admin and get an overview of“su” command function and capability.

  1. Job responsibility
  2. The “su” and “sudo” commands
  3. The UNIX automatic scheduler


Hands-on Lab #11

Use the “su” Command

Use the“su” comment to switch users, edit a file, then return to the original login.





ASPE logo