PDA

View Full Version : what are these files


mdbusa
12-23-2004, 02:03 PM
just solved a directory listing problem using .htaccess file and I notice a bunch of other files on the root of my directory

.emacs
.canna
.bash_logout
.bash_profile
.bashrc
.gtkr
.wxprc

can someone tell me what these files are used for?

bcarl314
12-23-2004, 02:44 PM
Most of them are wither history, log files, or startup scripts for when you login or use apps. Usually not needed, but they help. For example:

.bash_history contains the history of all your shell (bash) commands. This is the file that allows you to use the up arrow to go back and see (or reuse) and earlier command. Do you need it? No, but bash will, by default, create it everytime you use bash, unless you configure it otherwise.

Others are as follows:

.emacs - Emacs history file
.canna - No clue
.bash_logout - Script that runs on logout
.bash_profile - Script that runs on login (set env vars, and other things)
.bashrc - I think this is similar to .bash_profile, I can't remember
.gtkr - No clue - probably gtk config info.
.wxprc - No clue

mdbusa
12-23-2004, 02:52 PM
Thanks

.canna seems to be some Japanes nec file

Don't know.. as long as it keeps working I'll just forget about these files

oracleguy
12-23-2004, 11:56 PM
You can edit your .htaccess file to not show .whatever files if you want, so they dont so up in the directory index.