[SOLVED] Is there a way to locate the dot home file that corresponds to a program or game?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Is there a way to locate the dot home file that corresponds to a program or game?
Hi.
I play the game viruskiller. It sets high scores and I want to backup the dot file/directory that it corresponds to. I cannot find any though. Is there a way to locate the dot home file that corresponds to a program or game?
If there is a hidden 'viruskiller' file in your /home/user directory you should be able to find it while logged into a terminal in your /home/user directory with:
Code:
ls -la
The command above will show hidden files and you can limit it so you don't show the entire contents. If it is a hidden file it will start with a dot: .viruskiller
so look for it that way.
If there is a hidden 'viruskiller' file in your /home/user directory you should be able to find it while logged into a terminal in your /home/user directory with:
Code:
ls -la
The command above will show hidden files and you can limit it so you don't show the entire contents. If it is a hidden file it will start with a dot: .viruskiller
so look for it that way.
Hi yancek. I know how to look but just cannot find anything resembling '.viruskiller' - I also looked for '.vk'.
Depends how obtuse the code is, but I tend to rely on "locate". When all else fails, a quick strace on "open" would just about nail it as dugan suggests.
When you set a high score or maybe any score some file will be changed. Use find file by time stamp then.
The lowest pre-set highscore is huge and would take a while to beat. Usually programs created home dot config files when they are simply opened. This is a puzzler.
The lowest pre-set highscore is huge and would take a while to beat. Usually programs created home dot config files when they are simply opened. This is a puzzler.
The method I suggest does not require beating a high score. It only requires knowing a current high score, and assuming it is stored somewhere in plain text.
For example, if a current high score is 50200, use:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.