Sunday, July 30, 2017

Week 4: vsFTP Using Nano

INTRODUCTION
This week involved setting up the vsFTP which is used for moving files from the client to the server. During the setup and previous weeks have noted it is important to know how to utilize manipulating files in Linux. So this week will discuss nano just one of the text editors to choose from.


Image 1




NANO TIPS
First is to open a file is to place nano <filepath>. In image 1 can see this command line being used to open /etc/vsftpd/vsftpd.conf.




Image 2


The next thing to notice is at the bottom of the nano editor as seen in image 2. You can view the commands listing. Note to call the commands the user can hit ctrl (letter) to do assorted things within the editor. Just some of these commands are saving/writeout with ctrl c. Another useful keyboard command is ctrl g which brings up the help menu.





A command of note is to hit ctrl c to see your current line number. However, would recommend hitting alt c which leaves the line number on the screen to show current position. This helps to know exactly where you are in the file see image 3. Lastly if you know the line number and you wish to change can get there quickly using alt g to enter the number.
Image 3















CONCLUSION
There are other choices when it comes to file manipulation such as vi and gedit both should also be looked at to decide what works best for the user. However, nano should be in the arsenal of all linux users as a fall back. Here is a great link below. It is a list of the commands/keyboard shortcuts within nano.

No comments:

Post a Comment