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 command is used to delete all files in the current directory and all its sub-directories?
Hi All, Can you please let me know how to grep for a particular pattern in unix. I want to print the dates from the file exp.txt. the date pattern is DD:MM:YYYY, I just want to print all the dates from the file exp.txt.
8 Answers Concentrix, IBM, Symantec, TCS,
Which command is used to copy files?
Explain mount and unmount command.
Why is shebang used?
Name the general commands in using unix os for a beginner?
What is grep r?
What is a command and examples?
What happens when we execute a unix command?
Give the command for finding the current date.
what does a process mean?
What is the command to view process running?