Course data sheet

Linux Fundamentals (GL120) U8583S This is a challenging course that focuses on the fundamental tools and concepts of and . Students gain HPE course number U8583S proficiency using the command line. Beginners develop a Course length 5 days solid foundation in Unix, while advanced users discover Delivery mode ILT, vILT patterns and fill in gaps in their knowledge. The course View schedule, local material is designed to provide extensive hands-on View now pricing, and register experience. Topics include basic manipulation; basic and View related courses View now advanced filesystem features; I/O redirection and pipes; text manipulation and regular expressions; managing jobs and processes; , the standard Unix editor; automating tasks with

Why HPE Education Services? shell scripts; managing software; secure remote • IDC MarketScape leader 5 years running for IT education and training* administration; and . • Recognized by IDC for leading with global coverage, unmatched technical Prerequisites Supported distributions expertise, and targeted education consulting services* Students should be comfortable with • Red Hat Enterprise Linux 7 • Key partnerships with industry leaders computers. No familiarity with Linux or other OpenStack®, VMware®, Linux®, Microsoft®, • SUSE Linux Enterprise 12 ITIL, PMI, CSA, and SUSE Unix operating systems is required. • Complete continuum of training delivery • Ubuntu 16.04 LTS options—self-paced eLearning, custom education consulting, traditional classroom, video on-demand instruction, live virtual instructor-led with hands-on lab, dedicated onsite training • Simplified purchase option with HPE Training Credits

*Realize Technology Value with Training, IDC Infographic 2037, Sponsored by HPE, October 2017 Course data sheet Page 2

Detailed Course Outline

Module 1: What is Linux? • Unix and its Design Principles • Slackware • FSF and GNU • SUSE Linux Products • GPL – General Public License • • The Linux Kernel • Ubuntu • Linux Kernel and Versioning • Red Hat Linux Products • Components of a Distribution • Oracle Linux

Module 2: Login and Exploration • Logging In • Switching User Contexts • Running Programs • sudo • Interacting with Command Line • Help from Commands and Documentation • Desktop Environments • whereis • GNOME • Getting Help Within the Graphical Desktop • Starting X • Getting Help with man & info • Gathering Login Session Info • Lab Tasks • Gathering System Info – Login and Discovery • uptime & w – Help with Commands • got root? – Switching Users with su

Module 3: The Linux Filesystem • Filesystem Support • File Creation Permissions with • Unix/Linux Filesystem Features • SUID and SGID on files • Filesystem Hierarchy Standard • SGID and Sticky Bit on Directories • Navigating the Filesystem • Changing File Permissions • Displaying Directory Contents • User Private Group Scheme • Filesystem Structures • Lab Tasks • Determining Disk Usage with and – Navigating Directories and Listing Files • Determining Disk Usage (GUI) – Disk and Filesystem Usage • Disk Usage with Quotas – File and Directory Ownership and Permissions • File Ownership – Introduction to Troubleshooting Labs • Default Group Ownership – Troubleshooting Practice: Filesystem • File and Directory Permissions

Module 4: Manipulating Files • Directory Manipulation • Previewing Files • File Manipulation • Producing File Statistics • Deleting and Creating Files • Displaying Binary Files • Managing Files Graphically • Searching the Filesystem • Drag and drop with Nautilus • Alternate Search Method • Physical Unix File Structure • Lab Tasks • Filesystem Links – Manipulating Files and Directories • File Extensions and Content – File Examination & Search Commands • Displaying Files

Module 5: Shell Basics • Role of Command Shell • Which and • Communication Channels • General Quoting Rules • File Redirection • Nesting Commands • Piping Commands Together • Lab Tasks • Filename Matching – Redirection and Pipes • File Globbing and Wildcard Patterns – Wildcard File Matching • Brace Expansion – Shell Variables • Shell and Environment Variables – Shell Meta-Characters • Key Environment Variables – Command Substitution Course data sheet Page 3

Module 6: Archiving and Compression • Archives with tar • The PKZIP Archiving/Compression format • Archives with cpio • GNOME File Roller • The gzip Compression Utility • Lab Tasks • The bzip2 Compression Utility – Archiving and Compression • The XZ Compression Utility

Module 7: Text Processing • Searching Inside Files • Extracting Columns of Text • The Streaming Editor • Combining Files and Merging Text • Text Processing with Awk • Comparing File Changes • Replacing Text Characters • Lab Tasks • Text Sorting – Processing Text Streams • Duplicate Removal Utility – Text Processing

Module 8: Regular Expressions • Overview • Lab Tasks • Regular Expressions – Pattern Matching with Regular Expressions • RE Character Classes – Extended Regular Expressions • Regex Quantifiers – Using Regular Expressions with • RE Parenthesis

Module 9: Text Editing • Text Editing • Learning Vim • /GNU Nano • Basic vi • Pico/Nano Interface • Intermediate vi • Nano configuration • Lab Tasks • Pico/Nano Shortcuts – Text Editing with Nano • vi and Vim – Text Editing with Vim

Module 10: Messaging • System Messaging Commands • Sending Email with • Controlling System Messaging • Evolution • Internet Relay Chat • Lab Tasks • Instant Messenger Clients – Command Line Messaging • Electronic Mail – Messaging with talkd • Sending Email with sendmail – Command Line Email • Sending and Receiving Email with mailx – • Sending and Receiving Email with

Module 11: Command Shells • Shells • : Command Completion • Identifying the Shell • Bash: "shortcuts" • Changing the Shell • Bash: prompt • Configuration Files • Setting Resource Limits via ulimit • Script Execution • Lab Tasks • Shell Prompts – Linux Shells • Bash: Bourne-Again Shell – Bash History • Bash: Configuration Files – Aliases • Bash: Command Line History – Bash Login Scripts • Bash: Command Editing – The

Module 12: Introduction to Shell Scripting • Shell Script Strengths and Weaknesses • Conditional Statements • Example Shell Script • Flow Control: case • Positional Parameters • The for Loop • Input & Output • The while and until Loops • Doing Math • Lab Tasks • Comparisons with – Writing a Shell Script • Status Course data sheet Page 4

Module 13: Process Management and • What is a Process? • Job Control Commands • Process Lifecycle • Persistent Shell Sessions with Screen • Process States • Using screen • Viewing Processes • Advanced Screen • Signals • Lab Tasks • Tools to Send Signals – Job Control Basics • and disown – Process Management Basics • Managing Processes – Screen Basics • Tuning Process Scheduling – Using Screen Regions • Job Control Overview – Troubleshooting Practice: Process Management

Module 14: and • Automating Tasks • Anacron • at/batch • Lab Tasks • cron – Creating and Managing User Cron Jobs • The crontab Command – Adding System cron Jobs • crontab Format – Troubleshooting Practice: Automating Tasks • /etc/cron.*/ Directories

Module 15: Managing Software • Downloading with FTP • Zypper Services and Catalogs • FTP • The dselect & APT Frontends to dpkg • lftp • Aptitude • Command Line Internet – Non-interactive • Configuring APT • Command Line Internet – Interactive • Lab Tasks • Managing Software Dependencies – Command Line File Transfers • Using the Yum command – Using Yum • Using Yum history – Using Zypper • YUM package groups – Managing Yum Repositories • Configuring Yum – Managing Zypper Repositories • yumdownloader – Using APT • Popular Yum Repositories – Adding an APT repository • Using the Zypper command

Module 16: The Secure Shell (SSH) • Secure Shell • ssh-agent • ssh and sshd Configuration • Lab Tasks • Accessing Remote Shells – Introduction to ssh and scp • Transferring Files – SSH Key-based User Authentication • Alternative sftp Clients – Using ssh-agent • SSH Key Management

Module 17: Mounting Filesystems & Managing • Filesystems Concept Review • AutoFS Removable Media • Mounting Filesystems • Removable Media • NFS • Lab Tasks • SMB – Accessing NFS Shares • Filesystem Table (/etc/fstab) – On-demand filesystem mounting with AutoFS

Module 18: Printing • Legacy Print Systems • enscript and mpage • Common UNIX Printing System • Lab Tasks • Defining a Printer – Printing • Standard Print Commands – Configuring Print Queues • Format Conversion Utilities Course data sheet

Appendix A: The X Window System • The X Window System • Remote X Access (modern/secure) • X Modularity • XDMCP • X.Org Drivers • Remote Graphical Access with VNC and RDP • Configuring X Manually • Specialized X Servers • Automatic X Configuration • Lab Tasks • Xorg and Fonts – Remote X with XDMCP • Installing Fonts for Modern Applications – Configure X Security • Installing Fonts for Legacy Applications – Configure a VNC Server • The X11 Protocol and Display Names – Configure a VNC Server • Display Managers and Graphical Login – Configure a VNC Server • Starting X Apps Automatically – Launching X Apps Automatically • X Access Control – Secure X • Remote X Access (historical/insecure)

Appendix B: • Emacs • More Emacs Commands • The Emacs Interface • Lab Tasks • Basic Emacs – Text Editing with Emacs

Learn more at hpe.com/ww/learnlinux

Follow us:

© Copyright 2018 Hewlett Packard Enterprise Development LP. The information contained herein is subject to change without notice. The only warranties for Hewlett Packard Enterprise products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. Hewlett Packard Enterprise shall not be liable for technical or editorial errors or omissions contained herein. Microsoft is either a registered trademark or trademark of Microsoft Corporation in the United States and/or other countries. The OpenStack Word Mark is either a registered trademark/service mark or trademark/service mark of the OpenStack Foundation, in the United States and other countries and is used with the OpenStack Foundation’s permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation or the OpenStack community. Pivotal and Cloud Foundry are trademarks and/or registered trademarks of Pivotal Software, Inc. in the United States and/or other countries. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. U8583S J.01, November 2018