Give a Linux shell command to find all files in a directory which contain ip addresses.



Give a Linux shell command to find all files in a directory which contain ip addresses...

Answer / vinayg954

grep -roE '[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}' .

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Linux AllOther Interview Questions

what is the difference between semaphore, mutex & spinlock?????

1 Answers   Patni,


What is the difference between an argument and an option/switch?

3 Answers   Wipro,


How to ""Add"" not replace address to same network card other than the alias way.... ??????

3 Answers  


Who owns the data dictionary?

2 Answers  


Hi all Could u plz tell me how I can get UNIX/Linux Certification

2 Answers   Accenture,






Through ssh whole directory structure from / is shared regardless the user we have connected with ....... how do i prevent sharing ??

4 Answers   Tech Mahindra,


what is the difference between unix and linux...

7 Answers  


rpm package installation error in centos 6.4 [root@localhost packages6.4]# rpm -ivh nfs-utils-1.2.3-36.el6.i686.rpm warning: nfs-utils-1.2.3-36.el6.i686.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY error: Failed dependencies: keyutils >= 1.4-4 is needed by nfs-utils-1:1.2.3-36.el6.i686 libevent is needed by nfs-utils-1:1.2.3-36.el6.i686 libevent-1.4.so.2 is needed by nfs-utils-1:1.2.3-36.el6.i686 libgssglue is needed by nfs-utils-1:1.2.3-36.el6.i686 libgssglue.so.1 is needed by nfs-utils-1:1.2.3-36.el6.i686 libgssglue.so.1(libgssapi_CITI_2) is needed by nfs-utils-1:1.2.3-36.el6.i686 libnfsidmap.so.0 is needed by nfs-utils-1:1.2.3-36.el6.i686 libtirpc is needed by nfs-utils-1:1.2.3-36.el6.i686 libtirpc.so.1 is needed by nfs-utils-1:1.2.3-36.el6.i686 nfs-utils-lib >= 1.1.0-3 is needed by nfs-utils-1:1.2.3-36.el6.i686 rpcbind is needed by nfs-utils-1:1.2.3-36.el6.i686

1 Answers  


What is the difference between semaphore and spinlock?

1 Answers  


what are acl permissions..? what is automation of jobs..?

5 Answers   IBM, TCS,


i installed clustering packages.When i try to run it getting LUCI error...what is it..??

0 Answers  


plz mention some interesting problems you faced and how you solved it?

0 Answers  


Categories