Introduction to Shell

The Unix command line helps users combine existing programs in new ways, automate repetitive tasks, and run programs on clusters and clouds.

Start Course for Free
4 Hours55 Exercises84,572 Learners
4650 XP

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA. You confirm you are at least 16 years old (13 if you are an authorized Classrooms user).

Loved by learners at thousands of companies


Course Description

The Unix command line has survived and thrived for almost 50 years because it lets people do complex things with just a few keystrokes. Sometimes called "the universal glue of programming," it helps users combine existing programs in new ways, automate repetitive tasks, and run programs on clusters and clouds that may be halfway around the world. This course will introduce its key elements and show you how to use them efficiently.

  1. 1

    Manipulating files and directories

    Free

    This chapter is a brief introduction to the Unix shell. You'll learn why it is still in use after almost 50 years, how it compares to the graphical tools you may be more familiar with, how to move around in the shell, and how to create, modify, and delete files and folders.

    Play Chapter Now
    How does the shell compare to a desktop interface?
    50 xp
    Where am I?
    50 xp
    How can I identify files and directories?
    50 xp
    How else can I identify files and directories?
    100 xp
    How can I move to another directory?
    100 xp
    How can I move up a directory?
    50 xp
    How can I copy files?
    100 xp
    How can I move a file?
    100 xp
    How can I rename files?
    100 xp
    How can I delete files?
    100 xp
    How can I create and delete directories?
    100 xp
    Wrapping up
    100 xp
  2. 5

    Creating new tools

    History lets you repeat things with just a few keystrokes, and pipes let you combine existing commands to create new ones. In this chapter, you will see how to go one step further and create new commands of your own.

    Play Chapter Now

In the following tracks

Data EngineerPython ProgrammerR Programmer

Collaborators

Filip Schouwenaars
DataCamp Content Creator Headshot

DataCamp Content Creator

Course Instructor

DataCamp offers interactive R, Python, Spreadsheets, SQL and shell courses. All on topics in data science, statistics, and machine learning. Learn from a team of expert teachers in the comfort of your browser with video lessons and fun coding challenges and projects.
See More

What do other learners have to say?

I've used other sites—Coursera, Udacity, things like that—but DataCamp's been the one that I've stuck with.

Devon Edwards Joseph
Lloyds Banking Group

DataCamp is the top resource I recommend for learning data science.

Louis Maiden
Harvard Business School

DataCamp is by far my favorite website to learn from.

Ronald Bowers
Decision Science Analytics, USAA