Changes between Version 2 and Version 3 of Courses/BASH
- Timestamp:
- 2015-02-04T10:16:07+01:00 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Courses/BASH
v2 v3 1 1 BASH is the default OS shell for Linux and Mac OS x. BASH can also be used on Windows if cygwin is installed. 2 2 3 Cygwin can be downloaded from: https://cygwin.com/install.html3 Cygwin can be downloaded from: [https://cygwin.com/install.html link] 4 4 5 5 Students with a windows computer are requested to install cygwin. A minimal installation + nano should be enough for our purposes. … … 7 7 nano is a basic editor, without default syntax highlighting. 8 8 To install syntax highlighting create a file sh.nanorc in the folder /usr/share/nano 9 Retreive the code from: https://code.google.com/p/nanosyntax/source/browse/trunk/syntax-nanorc/sh.nanorcand paste it into the sh.nanorc file9 Retreive the code from: [https://code.google.com/p/nanosyntax/source/browse/trunk/syntax-nanorc/sh.nanorc link] and paste it into the sh.nanorc file 10 10 11 11 Save the file and go to your home directory (cd ~) 12 12 Create a file called .nanorc containing the text ''include /usr/share/nano/sh.nanorc'' 13 13 14 Practices can be found in the BASH Beginners guide by Machtelt Garrels: http://www.tldp.org/LDP/Bash-Beginners-Guide/Bash-Beginners-Guide.pdf14 Practices can be found in the BASH Beginners guide by Machtelt Garrels: [http://www.tldp.org/LDP/Bash-Beginners-Guide/Bash-Beginners-Guide.pdf link]