Here file abc.txt contents
name designation salary
-----------------------------------
pritish am 15000
animesh pm 20000
asutosh ceo 30000
Write a shell script to find the name whose salary greater or equal t0 20000
Here file abc.txt contents
name designation salary
-----------------------------------
pritish am 15000
animesh pm 20000
asutosh ceo 30000
Write a shell script to find the name whose salary greater or equal t0 20000
Noone is there ,pls help me out
Noone is there ,pls help me out
Try this:
This may help you..
awk -F ' ' '{print>($3"new.txt")}' abc.txt
awk -F ' ' '{$1}' new.txt
Regards
Dave.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.