We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Linux Shell
- Text Processing
- Cut #3
- Discussions
Cut #3
Cut #3
Sort by
recency
|
61 Discussions
|
Please Login in order to post a comment
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
cut -b 2-7
Simple Code
cat > file
cat file |cut -b 2-7