How to use the Linux xargs command

WBOY
Release: 2023-05-12 09:55:17
forward
1349 people have browsed it

xargs usage: Get data from standard input. And convert the data into command line parameters

xargs followed by file error reporting

There are num numbers]

-I Replacement string

Example

find ./ -type f | xargs -I {} mv {} test/.

The above is the detailed content of How to use the Linux xargs command. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:yisu.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!