Skip to content

amblina/katacoda-scenarios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interactive Katacoda Scenarios

Visit https://www.katacoda.com/amblina to view the profile and interactive scenarios

Syllabus

Tutorial 1: Introduction to Command-line

Running your first few commands & Navigating the filesystem with pwd, cd, ls and mkdir.

  • How to run commands in a terminal window
  • What a working directory is
  • Find out where you are in the filesystem (pwd)
  • How to list the contents of a directory (ls)
  • How to make a directory (mkdir)
  • How to move into a new directory (cd)
  • Briefly touch upon absolute and relative paths
Command Description
pwd Print your working directory
ls List the contents of a particular path
cd Move to a particular path (or change directory)
mkdir Make a directory at a particular path

Tutorial 2: Beginner's guide to pagers

Introduction to navigating and searching using less

  • What a terminal pager program is
  • How to navigate through a text file
  • Searching a text file
Command Description
less A program to read text files

Tutorial 3: Familiarising yourself with the unfamiliar

How commands are structured and how to find out how to run unfamiliar commands (man)

  • Overview of how most commands on command line are structured
  • What a man page is
  • How to find the man page for a given piece of software (man)
  • How to read what you need from a man page
  • Learning some new ways of running ls using man page info
Command Description
man Find and open the man page for a command
ls List the contents of a particular path

Tutorial 4: Reading files again

Beginner tutorial for reading files on the command line.

  • How to print a file to your screen
  • How to print the first/last part of files to your screen
  • How to do line counts, word counts etc of a file
  • How to create new files from the output of commands (> and >>)
  • How to be a bioinformatician pipe (|) like a pro
Command Description
pwd Print your working directory
ls List the contents of a particular path
man Find and open the man page for a command
cat Concatenate files and print them to screen
head Output the first part of files to screen
tail Output the last part of files to screen
wc Print counts of lines, words and bytes for files

Releases

No releases published

Packages

No packages published