Search Results

Search: Posts Made By: gagan4599
16,993
Posted By citaylor
find . -type f -exec grep -l "osuser" {} \; |...
find . -type f -exec grep -l "osuser" {} \; | xargs grep -l "v$session"
17,441
Posted By Paarth
Try using the below code : find . -type d...
Try using the below code :


find . -type d -exec ls -ld {} \; | awk '{print $3,$9}' | grep -v oasitqtc

It should give you desired output

However better code will be with egrep as states...
17,441
Posted By Franklin52
Unnecessary to use grep with awk: find . -type...
Unnecessary to use grep with awk:
find . -type d -exec ls -ld {} \; | awk '$3 != "oasitqtc"{print $3, $NF} '
6,526
Posted By bartus11
I assume "/apps/qtcdev/appl_top" is your...
I assume "/apps/qtcdev/appl_top" is your APPL_TOP? Then use: find /apps/qtcdev/appl_top -type d -name "xx*" -a ! -name "xxk*" | xargs -i find '{}' -type d ! -perm 777 Path to search always comes...
278,257
Posted By Neo
Simple rules of the UNIX.COM forums:
RULES OF THE UNIX AND LINUX FORUMS

For the latest version of the community rules (the official community rules page), please visit here. (https://www.unix.com/misc.php?do=cfrules)


No flames,...
Showing results 1 to 5 of 5

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