1. Shell Programming and Scripting
Hello
I want to run this test:
If wordcount of a command is 0 then echo XXXX else echo YYYYY
if ; then echo "all devices are created on RAID10"; else echo "Some devices are created on non-RAID10"; fi
I receive this message
-bash: command substitution: line 1: syntax error near... (3 Replies)
Discussion started by: melanie_pfefer
3 Replies
2. UNIX for Dummies Questions & Answers
Hi
I know very little about unix.
I have a unix code (which I'm running in geektools) which gives me the word count of a pages document. However, the pages document innately contains 522 words of superfluous "Ipsem Lorem..." text which are included in the count.
How would I go about... (4 Replies)
Discussion started by: eunoia7
4 Replies