How to find a file


Forum: Other Help Topics
Topic: How to find a file
started by: macora

Posted by macora on June 09 2006,10:39
Hi DSL gurus,

I look for a file called .xinitrc how can I find it on my pendrive. Is there a tool or a system or a way how to search for a special file. I am sick of opening a lot of path and resut is nothing.

Macora ???

Posted by newOldUser on June 09 2006,11:00
In general you can use the 'find' command from a terminal, like this:

find / -name .xinitrc

or

sudo find / -name .xinitrc

More information can be found on the 'find' command by doing:

find -help

< OreillyNet > has a pretty good command help page at: < http://www.oreillynet.com/linux/cmd/ >  Not everything on that web page will be supported by DSL but the basic stuff will be.

The other thing you should know is that a file starting with a period "." is hidden.  So you will not see it in emelFM unless you enable the "H" button, which allows you to see hidden files.

The .xinitrc file is a hidden file in your home directory. Usually thats /home/dsl/.xinitrc

Good luck

Posted by cbagger01 on June 11 2006,04:03
There is also the GTK find utility in the DSL Right-Click menu.

But in this specific example, you can find it by opening emelfm and press the "H" button at the top of the window pane.

The "H" button will allow you to see "hidden" files.  In Linux, any file or directory that begins with a period "." is treated as a hidden file.

It is located at:

/home/dsl/.xinitrc

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.