Exploring Emacs Shells

30 minutes
  • 3 Learning Objectives

About this Hands-on Lab

In this hands-on lab, you will be opening a file in Emacs. This file contains a series of challenges to complete using Emacs shell commands and Emacs shells. Basic knowledge of opening files, killing and yanking text, and working with Emacs shells is recommended. Upon completing this lab, you will know how to execute shells commands within Emacs. In addition, you will know how to insert the output of commands directly into an existing buffer.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Open the Challenges File
  • Start Emacs.
  • Open the file /tmp/emacs_shells.
Complete the Challenges
  • Complete the challenges listed in the file by following the instructions for each challenge.
Save Your Results
  • Save the results of your work in a new file named /tmp/emacs_shells_done.

Additional Resources


Hello Gurus, in this scenario you’ve accepted a friendly challenge from a co-worker. The challenge involves using Emacs shells and shell commands to complete a series of tasks. Your co-worker has given you access to one of their servers that hosts the file /tmp/emacs_shells. The file contains instructions for a set of challenges. They have asked you to complete these challenges and then save your results into a new file named /tmp/emacs_shells_done.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?