Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Shell/Bash
awk get last field
JeffC
Programming language:
Shell/Bash
2021-04-28 09:08:51
3
Q:
awk get last field
Nattaya Kitipipat
Code:
Shell/Bash
2021-02-06 10:04:29
awk -F "/" '{print $NF}' input #Retrieves last field in line delimited with "/"
0
Tags
get
field
last
New to Communities?
Join the community