Vacation
Join Date: May 2008
Posts: 2,085
Credits:
11,765
Location: United States
|
|
08-01-2008, 02:20 PM
|
Installing Nano
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:
- 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:
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 by Scott; 08-01-2008 at 02:26 PM.
|
|
|
|