Answers for "xargs"

1

xargs

# Print last 5 lines of all files in
# current directory ended in .txt

find *.txt | xargs tail -n 5
Posted by: Guest on May-03-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language