Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: vickysood
3,984
Posted By vickysood
yes! this command is very useful but in some...
yes! this command is very useful but in some cases it also give header along with the extracted data
awk '$5 >= 6000' "employee" | grep -v tsalary | sort -k 5

500 Vicky DBA Technology 6000...
3,984
Posted By vickysood
awk with (if condition)
I'm unable to apply if condition to extract tsalary < 7000 and also want to sort data without disturbing header
some commands which i used here are:-

awk '{if(tsalary($4) < 7000)}' employee
tail...
Showing results 1 to 2 of 2

 

Featured Tech Videos

All times are GMT -4. The time now is 12:56 AM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy