Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Source - problem with the file

Status
Not open for further replies.

Hlektra

Programmer
Mar 20, 2008
1
Hello

I am studying an open source program written in TCL, using CGI. My knowledge in TCL is limited, so if anyone could help me understand the following code i'd be very grateful.

Code:
source .config

I know what "source" does. What I don't know is where this file is. I have searched my entire system (Suse) for the file ".config" but it wont come up. It is not inside the program's folders or inside any of my system's forders.

If i try to rename the file into let's say ".confi" and run the program again, an error occurs that says "The specified file does not exist". But it doesn't frecking say where it does not exist!

If you need more details please ask me.

Thanks in advance.

 
Hi

Hlektra said:
My knowledge in TCL is limited [gray](...)[/gray] It is not inside the program's folders
Excuse me if I am wrong, but from the following I deduce that it could be a typical beginner mistake. Files with names starting wit a period ( . ) are considered hidden files and most file handling tools ( including [tt]ls[/tt] ) are not showing them by default. Or another common mistake could be to use a database based search tool ( including [tt]locate[/tt] ) to search, but its database was not rebuilt since you installed the program.

Anyway, you did not specified which open source program it is, or how you searched your entire system. So for now we can only guess.

Feherke.
 
This could be a duhh answer, but did you try:
> ls -a
command? It shows files that start with (.)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top