Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.73K
1 Posted Topic
Re: Using Grep
The syntax is different according for each shell, but if you are using the bash shell you could try the following: if [ `who | wc -l` -lt 10 ]; then echo "less than"; else echo " more than"; fi which can be written as one line as well, but …
The End.
profhof