Find command is used to search for a file with a specific file name in a set of files. Syntax: find .-name "fileE" -printgrep command is used to search pattern within a file. Syntax: grep "pattern" filename
Unix
Topic: Basic
Difference Between Grep and Find command?
Browse random answers:
Which of the following commands is not a filterman , (b) cat , (c) pg , (d) head
State and explain about features of UNIX?
What is the use of the command "ls -x chapter[1-5]"
Explain the following commands.
How does the kernel differentiate device files and ordinary files?
Explain about the command lynx?
What is the difference between cat and more command?
Explain about chmod options filename?
What is the significance of the 'tee' command?
Difference Between Grep and Find command?
How is the command '$cat file2' different from '$cat >file2 and >> redirection operators'
What is the significance of the 'tee' command?
Is it possible to restrict incoming message?
Using the commands ps, cut, tr and kill, along with pipes, write a command that will find all sleep processes running on the system and kill them?
Is it possible to count number char, line in a file; if so, How?
Explain the steps that a shell follows while processing a command.
What does the command ?$ls | wc 'l > file1' do?
In UNIX 50 records are there, i want to retrieve the 20-30 records & i want 23 record which commands we are using?