Visit The New, Modern Unix Linux Community

Search Results

Search: Posts Made By: RavinderSingh13
2,254
Posted By RavinderSingh13
Sorry sea, my bad didn't see previous value. I am...
Sorry sea, my bad didn't see previous value. I am sorry, you can use the field appropriate to your need to print I can say :).

Thanks,
R. Singh
2,254
Posted By RavinderSingh13
Hello sea, If you see output carefully...
Hello sea,

If you see output carefully posted by you then you will see as follows, posting some portion of output.

31 0
32 14343
33 0
34 1:39:22
35 0:00:01
36 1:39:21
37 14343
38 0
39...
2,254
Posted By RavinderSingh13
Hello sea, Could you please try following...
Hello sea,

Could you please try following and let me know if this helps.

awk '(NR==3){print $39}' Input_file

This is as per post where you have posted the output of awk...
2,254
Posted By RavinderSingh13
Hello sea, Could you please try as follows. ...
Hello sea,

Could you please try as follows.

awk '{for(i=1;i<=NF;i++){print i FS $i}}' Input_file
We can check by above command what's happening here, also if possible then show us sample...
2,254
Posted By RavinderSingh13
Hello sea, Could you please try following. ...
Hello sea,

Could you please try following.

awk 'END{print $2}' Input_file
No need to use tail and echo and then save it to a variable then. awk is capable to read files.Also I don't think...
Showing results 1 to 5 of 5

 

Featured Tech Videos

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