Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: How to find a file< Next Oldest | Next Newest >
macora Offline





Group: Members
Posts: 4
Joined: May 2006
Posted: June 09 2006,10:39 QUOTE

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 ???
Back to top
Profile PM 
newOldUser Offline





Group: Members
Posts: 241
Joined: Oct. 2004
Posted: June 09 2006,11:00 QUOTE

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


--------------
======== Note =========
The DSL Forum Search default is 'OR'
If you search for "cat dog" you will get all "cat" posts and all "dog" posts.
If you search for "cat AND dog" you will only find results that contain BOTH "cat" and "dog"
Add '*' for wildcards, " cat* and dog* "
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: June 11 2006,04:03 QUOTE

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
Back to top
Profile PM 
2 replies since June 09 2006,10:39 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: How to find a file

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code