[CP]
CP <source.path\filename> <target.path> copy files to target directory
-R <dir1> <dir2> copy subdirectories
[MV]
MV <source.path\filename> <target.path> Move the file, move to the original file, rename it, or enter a new file name at path.
[Nano]
Nano [<filename>] A simple text editor that creates a new file if the file name is not written.
^x for Exit
[Tee]
Tee <filename> Output The result screen and write to the file
[Touch]
Touch <filename> Modify the timestamp of the file and create it when the file does not exist.
[VI]
VI Editor Command *******************
VI <filename> Create/edit filename File
Press I to enter insert mode to edit the file.
Press ESC to exit insert mode.
: W Save
: Q exit
: Wq Save and exit
: q! Force exit (do not save)
: Set Nu Adds an asterisk to each line of the file
: Set Nonu Cancel line number
:<num> Enter a number and then press ESC, the cursor moves directly to the row header
:/<string> search for a keyword, press ' n ' to find the next
:?<string> search for a keyword, press ' n ' to find the previous
Vim <filename> Color-coded editing
**************************************************
L-1-2 Linux Basic command detailed file editing commands