Sort by

recency

|

109 Discussions

|

  • + 0 comments

    What the heck why they are using tail command in this exercice

  • + 0 comments

    head -n 22 | tail -n 11

  • + 0 comments
    mapfile file
    
    length="${#file[@]}"
    
    printf "%s" "${file[@]}" | tail -n $((length-11)) | head -n 11
    
  • + 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