Sort by

recency

|

106 Discussions

|

  • + 0 comments
    head -n 22 | tail -n 11
    
  • + 0 comments

    (`x=1

    while read line

    do

    if [[ x -lt 23 ]]

    then

    echo ${line}

    fi

    x=$((x+1))

    done

  • + 0 comments
    while read lines
    do 
        echo $lines >> file.txt
    done
    head -n 22 file.txt | tail -n 11 
    
  • + 0 comments

    awk '22>=NR && NR>=12 {print $0}'

  • + 0 comments
    head -22 | tail +12