Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changing color depth in Ubuntu 9.10



A "~" is shorthand for your home directory. Assuming your login name
is "edwardp",
then the command "find ~/ -name xorg.conf" will search under /home/edwardp
for a file named xorg.conf. It won't search the entire system.


On Sun, Dec 6, 2009 at 3:40 PM,  <edwardp-KK0ffGbhmjU at public.gmane.org> wrote:
> John Abreau wrote:
>>> I tried "sudo find xorg.conf" and it indicated the file was not found,
>>>
>> Is that literally the command you used?
>>
>> The syntax for find(1) is
>>
>> ? ? ?find where-to-search [ patterns ]
>>
>> So the command
>>
>> ? ? ?find xorg.conf
>>
>> says to start at "xorg.conf" in the current directory, and since there
>> were no patterns given to narrow down the search, it will list all
>> files and folders found beneath it. ?If there is no file or directory
>> named "xorg.conf" in the current directory, then it will complain
>> that there's No such file or directory.
>>
>> To search the entire system for a file named xorg.conf, the command
>> would be
>>
>> ? ? ?find / -name xorg.conf
>>
>> with "sudo" prepended so it won't get permission errors, of course.
>> And find(1) will traverse the entire filesystem for this, so it will
>> take a long time.
>>
>
> I tried both "find xorg.conf" and "find ~/ name xorg.conf" with sudo,
> file not found.
>
> I will have to create one from scratch.
>
> _______________________________________________
> Discuss mailing list
> Discuss-mNDKBlG2WHs at public.gmane.org
> http://lists.blu.org/mailman/listinfo/discuss
>



-- 
John Abreau / Executive Director, Boston Linux & Unix
AIM abreauj / JABBER jabr-iMZfmuK6BGBxLiRVyXs8+g at public.gmane.org / YAHOO abreauj / SKYPE zusa_it_mgr
Email jabr-mNDKBlG2WHs at public.gmane.org / WWW http://www.abreau.net / PGP-Key-ID 0xD5C7B5D9
PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99







BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org