Changes

Jump to: navigation, search

OPS102 - File Globbing, Common Commands, Text Editors

989 bytes added, 06:09, 18 September 2023
no edit summary
copy /?
 
== Text Editors ==
 
It's often necessary to edit a text file containing a script, program, data, or configuration information. There are many text editors available.
 
On Linux systems, most distributions (the organizations or companies responsible for maintaining and distributing the system) have standardized on the <code>nano</code> editor as the default CLI/TUI text editor (replacing the less-user-friendly <code>vi</code> editor). To start nano, type <code>nano</code> and optionally provide a filename:
 
nano
nano ''file''
 
Nano provides a help display at the bottom of the screen. The carat <code>^</code> symbol indicates the control key, so the help text "^X Exit" means that you would press Ctrl-X to exit from the editor.
 
The current versions of Windows (Windows 10 & 11) do not provide a CLI/TUI text editor. However, you can run the GUI Notepad editor from the command line (as long as you are not accessing the Windows system remotely):
 
notepad
notepad ''file''

Navigation menu