Koozali.org: home of the SME Server
Contribs.org Forums => General Discussion => Topic started by: billi on June 14, 2010, 01:20:13 PM
-
Syntax nano -D <script name>
Found this handy in the world of netlogon scripts
You can write windows CMD / BAT scripts from the linux command line.
-
Syntax nano -D <script name>
Not to spoil the fun, but as far as I know above option will only make the text for the menu options and the top bar bold (bright white) with a black background instead of the black text on a gray background:
[root@smetest ~]# nano --help | grep "\-D"
-D --boldtext Use bold instead of reverse video text
[root@smetest ~]#
It has nothing to do with writing CMD/BAT files. You can use nano without the -D option for that as well, or pico or vi for that matter. :-)
-
It has nothing to do with writing CMD/BAT files. You can use nano without the -D option for that as well, or pico or vi for that matter. :-)
You can use any text editor, then use 'unix2dos'.
-
This was my source for the comment
http://www.nano-editor.org/dist/v1.2/nano.html
Good to hear there are other options as well.