git-course

Kottans-Frontend MIT Licensed Entry level: beginner

Linux CLI

Table of Contents

Why mastering this?

As a developer you will need to employ certain basic Linux CLI skills in navigating across file system, manipulating files, executing scripts.

The following modules on Git will require Linux CLI skills as well.

Targets

Having this module completed you would know the effect of the commands listed and also know how to accomplish some typical tasks.

The classification below is heavily opinionated, yet you will benefit from mastering all of the below described.

When mastering Linux CLI basics check yourself against the list below.

Absolute minimum

You know effects of the following commands:

ls	
cd	
cd ~/	
cd /	
cd ..	
touch	
mkdir	
echo	
echo "Some text" > smth	
echo "Some text" >> smth	
cp	
mv	
rm	
rm -rf	
rmdir	
pwd	
cat	
less	
chmod	
sudo	

Tasks (using command line only):

Nice to have

Commands/operations:

&&	
| (pipe operator)	
& (backgrounding operation)	
pushd/popd	
cd -

Learn and Practise

  1. Linux Survival (4 modules) is an interactive online course covering the following topics:
    • navigation across file system
    • manipulating files
    • security, permissions, users and groups, user info
    • important locations in the file system
    • built-in help
    • output redirection and piping
    • printing
    • wild cards and patterns
    • finding files and text
    • processes
  2. Learning the Shell (10 modules) greatly supplements the previous courses offering a deeper insight into Linux Shell. Make sure to practise every command from the course in your Linux terminal.

    Need safe environment for this task? Use a virtual Linux CLI playground

Anything is not clear enough or want more practice? Dive into the extra materials below.

Extra materials

Advanced

Practice

Try doing as much as possible via CLI. Not so convenient as it would be using the GUI as you get used to it, but you will find this skill beneficial for your further learning and career.

A note for Windows users (CLICK to expand) You may practice Linux CLI on your Windows machine using Git Bash that gets installed along with [Git](https://git-scm.com/downloads). To open Git Bash right click anywhere in file explorer and select `Git Bash here` option. Bash will get opened in context of the directory you called it at. ![windows-git-bash](/git-course/modules/git-bash-context-menu.png)

When completed

Proceed to Git basics


Course contents