Course Description

In this course, you will be introduced to shell commands. We have selected a set of commands we think will be useful in general to a wide range of audience. After completing this course, you should be able to use the shell for version control, managing cloud services (like deploying your own shiny server etc.), execute shell commands in R & RMarkdown and execute R commands and scripts in the shell.

What will you learn?

Apart from learning shell commands, the tutorial will also focus on

- exploring R release names
- mapping shell commands to R functions
- exploring RStudio Terminal
- executing shell commands from R
- execute shell commands in RMarkdown
- execute R scripts in the shell

Self Paced Online Courses

Our online self paced courses are designed to allow participants to learn at their convenience. Learning outcomes are clearly defined and enhanced by the use of byte sized videos, PPTs, assignments, quizzes, suggested reading and case studies. Participants can take advantage of the discussion forum to discuss with their peers and the instructors to enhance their learning experience.

Course Features

How this course is structured?

  • Introduction introduces the shell. It shows how to launch it in different operating systems. Apart from introducing the RStudio terminal, it will explore basic commands and different ways to view the documentation.
  • Navigating File System explores how to navigate between different directories, list contents of a directory and create & delete files & directories.
  • File Management describes how to create, copy, move, delete and compare files and directories.
  • Input/Output demonstrates how to print text on the terminal and read content from files. It will cover sorting/viewing/searching file contents.
  • Search & Regex shows how to search text in file(s) using pattern matching and find files and folders using names and extensions.
  • sudo describes super user and root user privileges and shows how to install, update and remove packages using `sudo`.
  • Retrieve Content from Web explores how to download files from the internet using `wget` and `curl`.
  • File Compression demonstrates how to list, extract, create and add files to archives using `tar`, `gzip`, `zip` and `unzip`.
  • System Info & Others explains how to view system information, suspend activity and access command history list.
  • R & Shell demonstrates how to execute shell commands in R. It will also look at using shell commands in RMarkdown documents and how to execute R commands and scripts from the command line. 

Course Requirements

  • Access to a computer with an internet connection

  • Ability and permissions to download files & install software

  • Basic knowledge of English (Course is delivered in English language)

Who is this course for?

We expect the students to have some prior experience with R and RStudio. If you have never used R before, our Introduction to R course will help you prepare for this course.

If I do not meet the requirements to enroll, what should I do?

We have a number of free courses that can help you prepare including:

  • Introduction to R

  • Import Data into R

  • Data Wrangling with dplyr

How will I execute the practical's?

You will use RStudio for the practical's. All the R scripts used in the examples, assignments and case study are available for download from the Learning Management System. For those of you who face issues installing RStudio on your system, we have created a RStudio cloud project where you can practice without installing any software or downloading files.

Do I need to apply? What are the admission criteria?

No. This course is open to enrolment for all and accepts students regardless of experience and background.

Course curriculum

  • 1

    Let's Begin to Learn

    • Introduction to LMS

    • Help & Support

    • Course Resources

    • Best Way to Learn

    • Course Curriculum

    • Course Materials

    • Slides

    • Links

  • 2


    • What is Shell?

    • Applications

    • Launch Terminal

    • RStudio Terminal

    • Command Prompt

    • Get Started

    • Help/Documentation

    • References

  • 3

    Navigating File System

    • Introduction

    • Create/Remove Directory

    • List Files & Folders

    • Change Directory

  • 4

    File Management

    • Introduction

    • Create Files

    • Copy Files & Folders

    • Move/Rename Files

    • Remove/Delete Files

    • Compare Files

  • 5


    • Introduction

    • echo

    • cat

    • head

    • tail

    • more

    • less

    • Sort

    • Word Count

  • 6

    Search & Regular Expression

    • grep

    • find

  • 7

    Retrieve Content from Web

    • wget

    • curl

  • 8


    • Introduction

  • 9

    File Compression

    • Introduction

    • tar

    • gzip

    • unzip

    • zip

  • 10

    System Info & Others

    • Introduction

    • Machine & OS Details

    • Delay Activity & Command History

  • 11

    R & Shell

    • Execute Shell Commands from R

    • Shell Scripts & RStudio

    • Execute Shell Commands in RMarkdown

    • Execute R Commands & Script in Shell

  • 12


    • Course Summary

Recommended Courses