Top "Xargs" questions

xargs is a command on Unix and most Unix-like operating systems used to build and execute command lines from standard input.

using a user defined bash function in xargs

I have this self-defined function in my .bashrc : function ord() { printf '%d' "'$1" } How do I get this function …

bash xargs
Why do I need parenthesis In bash `set -e` and negated return code

I have a shell script which checks for windows line endings. set -e (! git ls-files | xargs grep -I $'\r') …

linux bash shell xargs
How can I avoid "no input files" error from sed, when run from xargs?

I have this shell script to update IP addresses in my configuration files (any that match $old_address_pattern must …

ubuntu sed xargs
xargs to execute a string - what am I doing wrong?

I'm trying to rename all files in current directory such that upper case name is converted to lower. I'm trying …

shell eval xargs
linux command xargs: maximum size of the arguments passed by it?

It seems that xargs doesn't pass all the arguments at once, in says in the manual that xargs executes the …

linux command size limit xargs
linux shell: How to read command argument from a file?

I have process id in a file "pid" I'd like to kill it. Something like: kill -9 <read pid …

linux pipe xargs
Run shell script for every file in directory

I have a bunch of files in a directory all named YYYY_MM_DD -rw-r--r-- 1 root root 480K Apr 21 13:17 2012_04_05 -rw-r--r-- 1 …

linux bash unix find xargs