Print only rows with a column bigger than a threshold

written by Admin


Posted on 2012-12-11


Problem

I have a csv file and I want to find only rows with a column bigger than a specific value.

Solution

Open a shell and type:
awk '$4>=2{print}' file.csv

Feedback


Comments

Leave a Comment:

Search

Welcome

We need collaboration and a real boost from our community: write us an email for every trick you find!

This website is a sysadmin swiss-knife for every-day Windows, Linux and Mac administration and troubleshooting

Our database grows if YOU send us your tips and trick as soon as you find them every day!