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

What do chmod, chown, chgrp commands do?

638


What is the behavioural difference between cmp and diff commands?

674


hw will u use awk in replacing cahrs and files

2730


Which command is used to delete all files in the current directory and all its sub-directories?

662


Enlist some filename manipulation commands in unix.

551






What are bash commands?

595


Which command is used to restrict incoming messages?

592


What is grep command in unix with examples?

604


What is used to type command?

541


What is the comma to display different lines that are found when compare two files?

593


Which command should you use to find the remaining disk space in unix server?

705


Write a command to kill the last background job?

618


Using unix command how to display no of records in oracle?

608


Enumerate some of the most commonly used network commands in unix?

616


What are grep patterns?

579