answersLogoWhite

0


Best Answer

grep filename "http:"

assuming that the URL's you want to find being in http.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How can I filter URL's from a file using grep?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is grep command?

'grep' searches a file for lines which match a given regular expression.


In Linux What user ID is associated with a new user?

It depends on system to system. Basically you can find that out by looking at the file "/etc/passwd" You can filter out the username you want to check using "cat /etc/passwd | grep username"


Using grep command search the word starting with 'h' and ending with 'o'?

grep '\<h.*o\>'


What search criteria would best be used to find the lines within the MERCURY file about clients?

grep clients Mercury


What is the function of grep?

To search a file for lines which match a given regular expression.


What is grep in Unix?

Grep is a command line application that is used to search a file or files and extract data from it/them according to a pattern or filter if you prefer. Grep stands for global regular-expression. There are many versions of grep available and regular expressions (for pattern matching) are available in most modern scripting languages such as ruby, python, perl, php, vb, etc. Grep, ngrep, egrep, etc. are available for multiple platforms including windows. They are well documented and can be downloaded for free.


How can you get grip on unix file systems?

I think you mean the regular expression tool "grep".


What is the function of grep command?

To search a file for lines which match a given regular expression.


Which utility would you use to find a string in a text file?

Use the 'grep' command.


How can you use ls grep file name in c program?

With function system or popen.


How do you redirect a grep output in a file?

Use the > to redirect the output to a file. This will however override the existing content of the file. Use >> if you want to append the result.


What utility is used to search for a particular string within a file or group of files in linux?

Grep