Hi there you guys ;-)
Im trying to get the first 3 fields from a finger -s command
I've tried using cut but that doesn't work.
who |cut -d" " -f1|xargs finger -s|cut -d" " -f1,2,3
The output of finger is seperated with multiple spaces. Do I used IFS again? How do I say my delimiter is junk...
Hi everyone
My head is getting to know the brick wall rather well by now.
My problem is all do to do with passing a list of files using the file command into a select loop. Now I can make the file command give me what I think works because I hard coded it into 2nd script, it doesn’t look pretty...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.