[xubuntu-users] catfish issues

don subscribe dwb.subscribe at epbfi.com
Wed Nov 7 00:22:14 UTC 2018


John,
Over the years I have copied the following syntax cheats that aid in my
command line searches.

find files or directories

find ~/ -type f -iname "somefile*.xyz" -print 2>/dev/null

find (the find command
~/ (look in: /home/user
-type f (files only
-type d (directory only
-iname (ignore case
-name (match case
"somefile*.xyz" (looking for, * wildcards, & don't forget
trailing/matching quote, it will error
-print (print to stdout
2>/dev/null (pipe 2nd print output to null bit bucket, this usually
comes to play when searching / root you will get many permission errors
& piping to /dev/null moves them to null, no print

man find     (=options
----------------------------------------------------------------------------
Find "string in directory"

grep -iHr "string*" ~/

~/ (look in: /home/user
-H, --with-filename (Print the file name for each match.)
-R,-r, --recursive
-i, --ignore-case

man grep     (=options


The command line is your friend,
Don



On 11/3/18 2:40 PM, John R. Sowden wrote:
> Thank you all for your feedback.  I did try the db check first, even
> on another computer, same result with an interesting add-on:
> In the panel, the lighter box where catfish should be was there but no
> program on the screen.  AND, when I moved the mouse around, if I was
> in an area where catfish was not, I got the mouse arrow pointer, but
> by moving the mouse pointer, I could detect the location where
> catfishs' ghost is because the pointer turned into the spinning
> wheel.  Hmmmm, says Kermit  :)
>
> Re the command line, I ain't affered of it, cuz I still use DOS
> (freedos/4dos) so I can run Foxpro and Wordstar.  I will consider
> those 2 programs and possibly write a script so I don't have to
> remember the sequence.
>
> Thanks,
> John
>
> On 11/2/18 6:06 PM, chris wrote:
>> On 3/11/18 1:59 PM, Cody Smith wrote:
>>> If you're not afraid of the command line, there's locate and
>>> mlocate. I haven't used them myself, but I've heard good things
>>> about them.
>>
>> Very good if you send the output to a file
>>
>> and you need to update db first.
>> da kiwi
>>
>
>




More information about the xubuntu-users mailing list