edit
Starts the MS-DOS Editor, which creates and changes ASCII text files. Windows commands reference
On Windows, Linux
Windows
edit [/b] [/h] [/r] [/s] [/<nnn>] [[<drive>:][<path>]<filename> [<filename2> [...]]editedit newtextfile.txt
[<drive>:][<path>]<filename> [<filename2> [...]]Specifies the location and name of one or more ASCII text files. If the file doens't exist, MS-DOS Editor creates it. If the file exists, MS-DOS Editor opens it and displays its contents on the screen. The filename option can contain wildcard characters (* and ?). Separate multiple file names with spaces./bForces monochrome mode, so that MS-DOS Editor displays in black and white./hDisplays the maximum number of lines possible for the current monitor./rLoads file(s) in read-only mode./sForces the use of short filenames.<nnn>Loads binary file(s), wrapping lines to nnn characters wide./?Displays help at the command prompt.Several platforms
A terminal-based text editor from Microsoft.
Open a file
edit path/to/fileIdentifySearch for a pattern
<Ctrl f>pattern<Enter>Find and replace a pattern
<Ctrl r>pattern<Enter>Copy text
<Ctrl c>Paste text
<Ctrl v>Open the File menu
<Alt f>Quit
<Ctrl q>Linux
This command is an alias of run-mailcap --action=edit.