Sort by

recency

|

22 Discussions

|

  • + 0 comments
    while read line;do
     echo $line >> file.txt
    done
    cat file.txt | uniq
    
  • + 0 comments
    uniq
    
  • + 0 comments
    #!/bin/bash
    rm file.txt > stdout.txt 2> stderr.txt
    while IFS= read -r line || [ -n "$line" ]; do
      echo "$line" >> file.txt
    done
    uniq < file.txt
    
  • + 0 comments

    You Can find here HackerRank Linux Shell Solutions

    Uniq Command #1 HackerRank Solution

  • + 0 comments

    uniq