From 7b245be96fdccec064bd5e12d394be494614fec8 Mon Sep 17 00:00:00 2001 From: Christian Krause <christian.krause@idiv.de> Date: Mon, 26 Nov 2018 15:53:30 +0100 Subject: [PATCH] adds bash basics section --- basics.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/basics.html b/basics.html index 512a369..92de380 100644 --- a/basics.html +++ b/basics.html @@ -363,6 +363,23 @@ - do not type brackets they just mean argument optional </section> + <section id="cli-bash-basics" data-markdown> + ## command line + ### bash basics + + ```bash + pwd # print working directory + ls [dir] # list directory contents + echo msg # print message + cd [dir] # change directory + mkdir dir # create directory + rmdir dir # remove directory + rm file # remove file + cp src dest # copy from source to destination + mv src dest # move / rename + ``` + </section> + <section id="cli-git" data-markdown> ## command line ### git syntax -- GitLab