User Scripts examples: Difference between revisions
Appearance
| Line 169: | Line 169: | ||
'''4.''' To edit the filename, use | '''4.''' To edit the filename, use <code><span class="highlight">vi <filename>.sh</span></code>. Press '''I'''. To save and exit, '''Press Esc''' then ''':x''' or to exit without saving, '''Press Esc''' then ''':q!'''. | ||
| Line 175: | Line 175: | ||
'''5.''' After editing, save then run command | '''5.''' After editing, save then run command <code><span class="highlight">chmod +x <filename></span></code> to make the script executable. | ||