Installing Nano

Scott

New Member
Messages
2,093
Reaction score
0
Points
0
Intro:

This tutorial will help you install Nano, Nano is a text editor for Linux. Nano can edit anything from basic text files to configuration files.

Requirements:

  • SSH Access

  • Preferably Root Access

  • Cent OS 5 (This may work on other distributions, but has not been tested by me.)
Step 1:

Login to your VPS via SSH using your favorite client. After you are successfully logged in via SSH enter the following command:
Code:
yum install nano


Step 2:


Code:
=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 nano                    i386       1.3.12-1.1       base              476 k

Transaction Summary
=============================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total download size: 476 k
Is this ok [y/N]:
You should see that, You want to enter "y" and then press enter.

Complete:

If you see the following you have successfully installed Nano:

Code:
Installed: nano.i386 0:1.3.12-1.1
Complete!

How To Use Nano:

If you would like to create a blank file, just use the command: nano

If you want to edit a file navigate to the directory to where the file is located then use the following command: nano "filename.ext"
You will want to replace "filename.ext" with the actual filename and extension without the quotes.
 
Last edited:
Top