madstylex
asked on
Bash script to count arguments in 'uptime' command linux
Hi Experts,
I am trying to write a script that determines if the word 'days' is present in the output from the 'uptime' command.
I am very new to scripting and cannot find a way to do it.
Thanks in advance.
I am trying to write a script that determines if the word 'days' is present in the output from the 'uptime' command.
I am very new to scripting and cannot find a way to do it.
Thanks in advance.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.