Visit https://www.katacoda.com/amblina to view the profile and interactive scenarios
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 |
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 |
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 |
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 bioinformaticianpipe (|
) 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 |