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 |
Which RAID Levels supported by LVM?
How to view the hidden files in /etc directory?
What is the command to view process running?
How do you stop a running process?
Explain how to use grep command to list find the records of a file containing 10 different strings?
If JFS file system is 100% full how we can increase the file system ?
How do you move a process which is running background to foreground?
Why is shebang used?
What is clustering in HP and how it's work?
Which command is used to create a directory?
distinguish between user mode and kernel mode?
Name the unix command to find how many days the server has been up.