using awk in fuser output
Hello,
I am trying to list users who are accessing directory using
fuser and awk.
Output of fuser /test is
testserver:/tmp # fuser /net/test
/net/test: 10428c 10488c
I am looking to get each process in a for loop, but for this none of my awk syntax help me...
fuser /net/test | awk '{$1=" "; print $0}' is showing only one process id instead of all.
/net/test: cc
10488
Can some help on this..
Thanks
Ajayan
|