LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] VIM Command

[ILUG] VIM Command

Kae Verens kae at verens.com
Mon Dec 1 21:14:48 GMT 2008


Conor Mac Aoidh wrote:
> The file is nav.php it is being created in
> /opt/lampp/htdocs/webalizer/inc/. To create the other files i just used: vim
> /opt/lampp/htdocs/webalizer/index.php and then entered the details and
> saved. Now i want to create a new directory (/inc) and a new file
> (/nav.php). It wont let me do this for some reason.

make sure that the directory /opt/lampp/htdocs/webalizer/inc/ actually exists.
ls -l /opt/lampp/htdocs/webalizer/ | grep inc

if not, then use mkdir to create it, then create your file in there.

As you're probably the only person that will be using the directory, you should change ownership of the directory to 
yourself and use your normal account for editing.
chown conor.conor /opt/lampp/htdocs/webalizer/ -R

kae



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell