Using Bash and Z Shell

Paths

Using Bash and Z Shell

Authors: Reindert-Jan Ekker, Mateo Prigl, Chris Green, Sadequl Hussain

The command line is an incredibly important tool for Linux/UNIX power users. In understanding and using Bash and Z Shell, you will gain the skills to use the default login shells... Read more

What you will learn

  • Running simple commands
  • Explaining and using the key components and functionality of Bash and Z Shell
  • Inspecting files
  • Manipulating file properties
  • Creating and removing files
  • Using switches to modify the behavior of common commands
  • Opening files
  • Using Globs
  • Using brace expansions
  • Editing text files
  • Searching files with the command line
  • Processing text data
  • Using IO redirection
  • Managing jobs
  • Managing processes
  • Customizing the shell
  • Using shell variables
  • Using shell history
  • Editing commands

Pre-requisites

Familiarity with computers and their usage. Familiarity with command line operations is helpful.

Using Bash and Z Shell

The command line is an incredibly important tool for Linux/UNIX power users. In understanding and using Bash and Z Shell, you will gain the skills to use the default login shells for both Linux and for macOS. You’ll learn how to simplify everyday tasks using the command line. Additionally, you’ll lay the groundwork for using Bash and Z Shell for scripting.

Getting Started with Bash and Z Shell

by Reindert-Jan Ekker

Jun 17, 2020 / 1h 17m

1h 17m

Start Course
Description

Can anyone really claim to be a power user without being proficient on the command line? In this course, Getting Started with Bash and Z Shell, you will learn the skill which lies at the heart of the open source ecosystem, and anyone who administers a Mac OS or Linux system will at some point need it. This includes devops professionals using tools like Docker, Vagrant, or Ansible. The same is true for developers who use modern programming languages like Python, Ruby, Node, and their package managers. Even people who feel the need to automate simple tasks will find it is the quintessential power tool. First, you will explore navigating around the text files. Then, you will discover how to list and edit text files. Then, you will move on to working with UNIX filenames and getting help for commands. Finally, you will learn about some advanced topics. This is a tutorial about the command line, teaching the basic concepts needed to start running shell commands. By the end of this course, you will have covered concepts that will be applicable to both Bash and the Z Shell, on any platform, ranging from Linux and Mac OS, to Windows, BSD, and other UNIX systems.

Table of contents
  1. Course Overview
  2. First Steps
  3. Navigating the Filesystem
  4. Working with Text Files
  5. Becoming a Power User

Managing Files Using Bash and Z Shell

by Mateo Prigl

May 12, 2020 / 2h 4m

2h 4m

Start Course
Description

Bourne-again shell is getting more popular in the UNIX OS circles since the GNU revolution started. Z shell is introducing some new features and it is not far behind. In this course, Managing Files Using Bash and Z Shell, you’ll learn to use them to manipulate files. First, you’ll explore how to create and edit files. Next, you’ll discover the permissions they have and how to read them. Finally, you’ll learn how to process their content with some of the most popular UNIX utilities. When you’re finished with this course, you’ll have the skills and knowledge to manage files in Bash and Z shell.

Table of contents
  1. Course Overview
  2. Listing Files and Directories
  3. Creating and Reading Files
  4. Moving Files
  5. Advanced File Operations
  6. Task Optimization

Managing Jobs and Processes with Bash and Z Shell

by Chris Green

May 12, 2020 / 1h 9m

1h 9m

Start Course
Description

Understanding jobs and processes is a key skill for anyone who is responsible for a Linux server. In this course, Managing Jobs and Processes with Bash and Z Shell, you will gain a greater mastery over Linux environments, through effectively utilizing Bash and Z shell. First, you will learn how to inspect and manipulate running processes. Then, you will be introduced to the related concept of jobs. Finally, you will discover how to make the shell environment your own through persistent customization. When you are finished with this course, you will have the skills and knowledge of process management needed to effectively control execution on a Linux server.

Table of contents
  1. Course Overview
  2. Understanding Jobs and Processes
  3. Manipulating Jobs and Processes
  4. Customizing Your Shell Experience

Processing and Filtering Text Data with Bash and Z Shell

by Sadequl Hussain

May 14, 2020 / 1h 49m

1h 49m

Start Course
Description

As someone working (or interested in working) in Linux, you always have to deal with text data in some form or other. Maybe you just started with Linux and want to take your skills to the next level. You could be a DevOps engineer trying to build that command string dynamically. Perhaps your job as a system administrator sees you wading through massive log files or running the same commands every day, and you are looking for a smarter way to do that. Or perhaps you are a data scientist grappling to get that file into some shape. In this course, Processing and Filtering Text Data with Bash and Z Shell, you will gain the foundational knowledge of Linux commands to search, read, write, filter, process, and report on text-based information. First, you will learn how to find text files you want to work with and read text data from various sources. Next, you will discover the essential Linux tools to perform everyday text processing tasks. Finally, you will explore how to automate everything you have learned so far by writing Linux shell scripts. When you’re finished with this course, you will have the skills and knowledge of processing text data in Linux, making you even savvier in your field of work, and equipping you to pursue even more specialized paths.

Table of contents
  1. Course Overview
  2. Searching for Files and Text
  3. Running Basic Text Handling Commands
  4. Running Advanced Text Handling Commands
  5. Reading and Writing to Text Files