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.