SHELL SCRIPTING: Learn Linux Shell Programming Step-By-Step (Bash Scripting, UNIX) by Harry Harvey

SHELL SCRIPTING: Learn Linux Shell Programming Step-By-Step (Bash Scripting, UNIX) by Harry Harvey

Author:Harry Harvey
Language: eng
Format: azw3
Published: 2017-09-06T07:00:00+00:00


Xargs

Youruser @ linux: ~$ find ~ -type f -name putty*' -print | xargs ls –l

-rwxr-xr-x 1 Youruser Youruser 224 2017-08-02 18:44 /home/ putty /bin/ putty

-rw-r--r-- 1 Youruser Youruser 0 2017-08-02 12:53 /home/ Youruser / putty.txt

The xargs command accepts the input and converts it into an argument

The find options

-depth: to process the file before the directory itself

-maxdepth levels: to set the max number of the levels

-mindepth levels: to set the min number of the levels

-mount: to traverse files that are mounted on other files

-noleaf: to scan DOS/windows file systems



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.