Search

Blogroll

Meta:

proftpd show hidden files

March 8th, 2009 by vicky

Not seeing hidden linux files ( dot beginning files) in your ftp you can enable this option in your ftp client. (show linux hidden files). It it does not work you can force your linux ftp server to show them via this command in /etc/proftpd.conf

ListOptions -a

Put it into the conf file and restart proftpd service.

Posted in General linux admin | No Comments »

Turn on syntax highlighting in vi/vim

March 1st, 2009 by vicky

I recently got to administer a few linux boxes and wondered why vi does not show colors when I edit files. Some servers did it, some did not. It was differently set up by datacenter images and I really did not have time to investigate.

Now it just annoyed me because I could not find few syntax errors on one server and here is the solution.

Open up some file in vi or vim and hit ESC, then type “:syntax on”  and the magic happens… let there be color :-)

If you do like it without color, type “:syntax off”

Posted in General linux admin | No Comments »