cut command usages ??
i have a file named test
contents :
srikanth hyd 123
vinoth chn 234
vijay chn 345
hemanth hyd 456
$cut -f2 test
should display:
hyd
chn
chn
hyd
but am gettg full file??
cut command usages ??
i have a file named test
contents :
srikanth hyd 123
vinoth chn 234
vijay chn 345
hemanth hyd 456
$cut -f2 test
should display:
hyd
chn
chn
hyd
but am gettg full file??
cut -f2 -d' ' test
You have to set the delimiter to blank explicitly.
yeah tried it got it..thanks