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 |
How to know a process is a zombie or orphan process?
A file has 1000 lines and i want to display only 1st line how to do it? pls ..tel me
How do I use grep to find a file?
what is the command to find out which shell you are running?
How does a user get the current date, time in UNIX?
what is the command to list all files in a directory, including the hidden files in UNIX ?
What is the size of time_t?
what is kernel?
what is the use of "test" command in unix?
How to add content of one file into another file at the beginning
Explain command to view process running?
how to find the 51th record of a file containing 100 records in unix.