Search Results

Search: Posts Made By: snerge
4,722
Posted By snerge
yup, you're right ! find is now not even...
yup, you're right !

find is now not even acting the way it was back when I tested/posted this, I'm running feisty fawn (herd 5). I guess they might be doing some change ..

I usually always put...
4,722
Posted By snerge
Hello kozmo, Not that I know of, you will...
Hello kozmo,

Not that I know of, you will need to learn a little bit about regular expression

You can pass any regular expression to -name like :

find . -type f -name "[^C|c]*"

should...
4,738
Posted By snerge
you really need to look at find man page you...
you really need to look at find man page

you should be able to find file with

find /path -name "smith*"

you are able to execute any command with -exec flag to find :

find /path -name...
4,722
Posted By snerge
Just tryed on my ubuntu at home and it was...
Just tryed on my ubuntu at home and it was working without double quotes, maybe not the correct behavior .....


snerge@sn-ubt:~$ cd /tmp
snerge@sn-ubt:/tmp$ ls
gconfd-snerge kde-snerge ...
4,722
Posted By snerge
Always a pleasure to help ! find . -name...
Always a pleasure to help !

find . -name "file*" > ouput.txt

You can use the > file.txt syntax with pretty much any command ....

ls -al > result.txt
netstat -an > result.txt

so on ...
4,722
Posted By snerge
Yes it would of enventually worked. Find searches...
Yes it would of enventually worked. Find searches all files in all directories and sub-directories

On HP-UX, you have to enclose your query between double quotes "file*" but on linux you do not...
1,319
Posted By snerge
You don't provide much detail You might want...
You don't provide much detail

You might want to have a look at the "crypt" command (available on HP-UX, don't know about other oses)

You can execute the following command at your favourite...
20,856
Posted By snerge
Actually, I would not use a semicolon anyway ... ...
Actually, I would not use a semicolon anyway ...

maybe you could use "mkdir dirname && cp /path/to/file* dirname/" instead

It is still 2 commands, I don't know how to do it with one (I don't...
14,604
Posted By snerge
You might want to have a look at lsof. I don't...
You might want to have a look at lsof. I don't know if it is installed by default on Solaris but I'm pretty sure you could find a package for it:

From man page :

Lsof revision 4.77 lists...
4,722
Posted By snerge
find . -type f -size +1024c find files of...
find . -type f -size +1024c

find files of type "regular file" which are bigger than 1024 bytes
Showing results 1 to 10 of 10

 
All times are GMT -4. The time now is 11:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy