Linux for Noobs

Full Version: nano editor with syntax highlighting
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
We can use this github for reference: https://github.com/scopatz/nanorc/

type this command:

Code:
curl https://raw.githubusercontent.com/scopatz/nanorc/master/install.sh | sh

if you want line numbers, edit ~/.rcnano file and add this line:

Code:
set linenumbers
If your machine doesn't have curl command, use this code:

Code:
wget https://raw.githubusercontent.com/scopatz/nanorc/master/install.sh -O- | sh