What is the difference between pipe and xargs?

Answer Posted / shh

xargs command
Build and execute command lines from standard input

find . -type f -mtime -1 -print | xargs ls

Pipe is a technique to use for joining two/more commands
(one command output as input to other command ..so on
| is a symobol for pipe)

ls -al | more

Is This Answer Correct ?    14 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate cmp command from diff command.

786


Which command will print your home directory on screen?

779


What does awk stand for?

786


What do chown command do?

774


Write a command to kill the last background job?

781






Give the command for finding the current date.

753


What is $0 bash?

876


What is difference between grep and find command in unix?

824


What does the “echo” command do?

826


What do know about tee command?

805


why metadb requires a seperate slice to create Solaris volume manager

2766


What does grep v do?

750


What is the command to compare two files in unix?

806


What is grep in bash?

764


What is the unix command to confirm a remote host is alive or not?

783