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 use of runlevel 4 in redhat linux? in which cases it will use.

1 Answers  


Without using w command how can Iknow that who are users logged in and what they are doing and whether they are idle or running mode?

4 Answers  


there are many IPC mechanisms available in Linux ? Which one is best to use and when ?

1 Answers   Broadcom,


What text filter can you use to display a binary file in octal numbers?

1 Answers  


Tell me the 5 differences between Linux and Unix?

4 Answers  






I want to send pop-up message to samba users when they access the shared folder.... for eg: i want to tell them (dont copy mp3 and video files)

2 Answers  


How to give 2 different gateway IP addresses for 2 different interfaces in same system ?

5 Answers   Toyota,


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

3 Answers  


what is the difference between NIS and DNS...?

5 Answers   IBM,


1. User gaves df -h and the system get hanged. why ? 2. what is the hardlink and softlink mount ? 3. why is portmape should be started ? 4. what is nologin option 5. how to restrict users from accessing nfs ? 6. what is the difference between cpio and tar 7. what are the kernel parameters ? how to find out it ? 8. why we use sysctl.conf ? 9. if we gives init1 from multiuser runlevel, will it affect other users who already logged in to the system ? 10. what will be the available space to use after configuering raid5 with 5 disks each having 5gb spce ?

0 Answers   Oracle,


Where is standard output usually directed?

2 Answers  


how can i create samba server in fedora 9.0 ? and domain/LDAP controller! clilent side is windows pc .?

0 Answers   Wipro,


Categories