What is the difference between pipe and xargs?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / amit kumar pradhan
Pipe is used to connect between two command
Xargs redirect the output of second command to the first one
| Is This Answer Correct ? | 9 Yes | 4 No |
what is the command to get help on a UNIX terminal?
boot process?
What is updatedb?
what is shell?
How do you remove a crontab file?
What is "type" command in unix?what is the functionality??
Who command in unix operating system?
how to delete entire records in unix ?
What does the command ' $who | sort –logfile > newfile' do?
What does touch command do in unix?
How do I search for a file in unix command?
Explain command to display different lines that are found when compare two files?