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 general format of unix command syntax?
What command is used to replace the existing string with some other?
What command is used to check the current users?
what is the difference between SED and GREP ? Which one is more better and why?
What are some command words?
What is time_t?
How we will execute previous command in vi editor?
When the shell is reading the command line what is the difference between text enclosed between double quotes ( ” ) and text enclosed between signal quotes ( ’ )?
in a growing log file how will you see the 1st 99 lines?
how will u execute a file in unix
what are the different commands used to view the contents of a file?
which script will invoke first ,when /etc/init.d starts