Devops-Practical-Problem-6
1.Suppose you have multiple servers where a same file exist and you need to get the uniq content only. At this point of time uniq command help you.
Solution:
#!/bin/bash
for i in $(cat hostname.txt)
do
ssh $i uniq file.txt
done
If you are looking for more problem like please purchase below book:
Comments
Post a Comment