From 9a233e22b7f59e0719487bc8eb2cfdbddac0e08d Mon Sep 17 00:00:00 2001 From: Lyn Perrine Date: Mon, 7 Jan 2019 08:00:01 -0800 Subject: [PATCH] Add cd to command line tutorial --- source/C/command_line.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/source/C/command_line.rst b/source/C/command_line.rst index 6af080e1..4afe97eb 100644 --- a/source/C/command_line.rst +++ b/source/C/command_line.rst @@ -29,6 +29,16 @@ To list files on the current file system one of the most important commands to k will show the files in your current directory and the man page lists more options such as viewing all files or long listing. +To change to another directory an important command is + +.. code:: + + cd [dir] + +where [dir] is the directory you want to switch to. + + + There is also the command line for manageing and installing packages which is beyond the scope of this appendix but please see `apt package management `_ for how to insert and remove packages from the command line.