Sort by

recency

|

61 Discussions

|

  • + 0 comments
    #!/bin/bash
    
    N=1
    while [[ $N -ge 1 && $N -le 100 ]]; do
            let N++
            read n
            echo "$n" | cut -b 2-7
    done
    
  • + 0 comments

    i want a csript to find the string from one file and on the basis of that string want to fetch full logs from another file. i used the below script but it dosen't give me proper result. pattern="sessionId_12june.txt"

    file="deliversm-req_12.txt" grep -E -f "file"

    please help me with proper script

  • + 0 comments

    cut -b 2-7

  • + 0 comments

    Simple Code

    while read lines; 
    do 
    echo $lines | cut -b 2-7;
    done
    
  • + 0 comments

    cat > file

    cat file |cut -b 2-7