Other Help Topics :: How to find a file



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 ???

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

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


original here.