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 #54.9K
i am having problem in suppressing the output to display on the screen. below the output that i am getting. hfdkjd...OK hadfhkj...OK code : #!/bin/bash ASMM/bin/xacct test -i i have also tried by redirecting into the file, but to no avail. plz help me with this |
|
i am getting output as XYZ... ABC... This is \t\t\033[40m\033[32mUP\033[0m instead of XYZ... ABC... This is UP i am trying to diplay "UP" in green colour. below is the code: #!/bin/bash var=` /export/home/GT/AM/bin/xacct test -i | grep OK | wc -l` if [[ var -eq 2 ]]; then echo "This … |