hi just a question about variables in scripts im trying to run this command with out using temporary files but im not sure how to do it
Code:
ps -A > ~/.temp
awk '/fbpanel/ { print $0 }' ~/.temp
that searches for every application running called fbpanel is there a way a can alter it so that it doesn't write to the hardrive ? ive tried this
Code:
app=`ps -A`
awk '/fbpanel/ { print $0 }' $app
but that doesnt work any ideas how this should be done ?