From 2e77636afa155cd3d483489fdb6eaff8dcb2a6c5 Mon Sep 17 00:00:00 2001 From: Lyn Perrine Date: Wed, 20 Feb 2019 10:47:02 -0800 Subject: [PATCH] Add important note on nano --- source/C/command_line.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/source/C/command_line.rst b/source/C/command_line.rst index 6020ae93..819b250b 100644 --- a/source/C/command_line.rst +++ b/source/C/command_line.rst @@ -42,4 +42,10 @@ where [dir] is the directory you want to switch to. Another thing that is useful 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. - +If you need to edit a text file from the command line the easiest editor included is nano so to edit a file from the command line if you broke something run + +.. code:: + + nano [file] + +where you replace [file] with the file you want to edit.