Search Results

Search: Posts Made By: vickysood
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...
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
Showing results 1 to 2 of 2


Featured Tech Videos

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