Search Results

Search: Posts Made By: alindner
6,641
Posted By frank_rizzo
if you want to use find do this. find...
if you want to use find do this.

find /usr/bin -type f -name "p*.py"
6,641
Posted By frank_rizzo
I think this is what your trying to accomplish....
I think this is what your trying to accomplish. This assumes the python scripts have an .py suffix.

ls /usr/bin/p*.py|wc -l
2,852
Posted By radoulov
As far as the first question is concerned: ...
As far as the first question is concerned:

find /{,usr/}{,s}bin -type f -exec du {} + |
awk 'END {
print c
}
$1 && !_[$1]++ {
c++
}'

With GNU awk:

find...
Showing results 1 to 3 of 3

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