TurnKey Linux Virtual Appliance Library

Files in Turnkey LAMP /var/www directory...

Hello all,

I just recently setup a turnkey LAMP and I noticed there was a couple of files in the var/www directory that my last turnkey LAMP didnt have....

Those files are...

.bash_logout   .bashrc    .profile

.bashrc.d/bash_completion    .bashrc.d/defaults      .bashrc.d/git     .bashrc.d/penv     .bashrc.d/user-path

 

I've never seen these files before, is it ok to remove them? What do they do?

 

Thanks in advance!

Jeremy's picture

Unless you have a need to remove them I wouldn't

They shouldn't cause any issues and are hidden files. AFAIK they are config files that a relevant to shell sessions. Usually they reside in the user's home folder so I am assuming that /var/www is set as the www-data (webserver) user accounts home folder.

If you really want to get rid of them, rather than delete them, just move them so if you encounter issues you could just move them back.

Thanks Jeremy, I moved them

Thanks Jeremy,

I moved them - hasn't caused any problems.


Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)