fork(4) download
  1. #!/bin/bash
  2. # your code goes here
  3.  
  4. x1="vijay"
  5. x2="vijay"
  6. x3="vijay"
  7. if [ "$x1" == "$x2" -a "$x2" == "$x3" ];
  8. then
  9. echo "all are same"
  10. fi
Success #stdin #stdout 0.02s 5268KB
stdin
Standard input is empty
stdout
all are same