Open main menu

CDOT Wiki β

Changes

no edit summary
|touch||copy NUL: ''filename''||Creates an empty file (Linux: if the file exists, <code>touch</code> will just update the date/time of modification).
|}
 
== Viewing Online Documentation ==
 
To find a Linux command to perform a particular function, use the <code>apropos</code> or <code>man -k</code> commands:
 
apropos calendar
 
man -k calendar # same as the above!
To view information about a Linux command, use the online manual ("manpages"), accessed with the <code>man</code> command:
help
To view information about a Windows command, use the online help:  help ''commandname'' For example, to view the online help for <code>dir</code>, enter the command:  help dir Alternately, to get a brief help summary for a command, enter the name of the command followed by <code>/?</code> -- for example, to get a help summary for the <code>copy</code> command, type
copy /?
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 remotelythrough a non-graphical connection):
notepad
notepad ''file''