I have been using this simple grep command to extract fields from a file that ALPHANUMERIC field has been set to 16
------------------------- sample data file
--------------------------------------------
What I need to do is to extract everyline where the ALPHANUMERIC is set t to 28 and higher? betweem 28 & 255 t obe exact
I tried this shell script but it is not working. The grep command fails
because $c is not interperted ..
I tried escape character and it did not work
Anyone can help me with a simple shell command to extract all lines where the ALPHANUMERIC is set to 28 or higher?
~
------------------- Question --??
Anyone can help me with a simple shell command to extract all lines where the ALPHANUMERIC is set to 28 or higher in this file?
Last edited by Franklin52; 04-04-2011 at 02:09 PM..
Reason: Please use code tags
Hello folks,
I am deleting a directory with script it is taking 11Hour and also increase the IO on server. I am using below command, inside date directory there are hour directories, which i am deleting after archiving. Archiving is not taking long time, only "rm -rf" is taking alot of time with... (21 Replies)
Hi,
I am trying to mount via nfs4
# mount -t nfs4 10.1.56.16:/Apps /works/apps/xyz
Error:
Warning rpc.idmapd apperas not to be running
all uids will be mapped to the nobody uid
mount to NFS server "10.1.56.16' failed RPC error: program/version mismatched
pls help - this is coming... (1 Reply)
Hello everyone, I'm new to using Linux and i am trying to create a script that will produce a list of all the files of the present working directory. So far I only have this
#!/bin/bash
cd /
ls -lt>>
I can't figure out what I am suppose to do next. (6 Replies)
i have a file having content
a|b|c
1|2|33
4|6|55
end
a|b|d
3|4|55
end
a|b|c
45|67|98
end
so i want to print 3rd field of header a|b|c and footer end.
e.g. o/p should be
33
55
98 (7 Replies)
1 . Thanks everyone who read the post first.
2 . I have a log file which size is 143M , I can not use vi open it .I can not use xedit open it too.
How to view it ?
If I want to view 200-300 ,how can I implement it
3 . Thanks (3 Replies)