my problem I have to write on a single line a command to launch a script only if the number of users on the system is less than ten.
This is what I have so far.
grep | who "* < 10 " $Users-on
I always get confused about quotes and brackets
hotlantas69 0 Newbie Poster
kc0arf 68 Posting Virtuoso Team Colleague
alc6379 120 Cookie... That's it Team Colleague
profhof 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.