09-19-2012
This may be due to the ARG_MAX... every server (OS) has its own kernel limit set to argument length if it goes beyond that (that might be the case your rm command facing)..
read below link..
How long can the command line be?
This User Gave Thanks to vidyadhar85 For This Post:
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Does the shell perform a syntax and semantic check before commands are sent to the kernel?
Ravioli (3 Replies)
Discussion started by: ravioli
3 Replies
2. UNIX for Dummies Questions & Answers
I've made an awk command that works successfully.
However I'd like to add one character to it.
For example instead of /what_i_have_now/
I'd like to change just ONE field to the opposite with an exclamation point.
Like this: ! /what_i_have_now/
My question, where am I supposed to place... (1 Reply)
Discussion started by: yongho
1 Replies
3. UNIX for Dummies Questions & Answers
I wish to seach a Dir for a specific file, once the file is found i will perform additional logic. If the file is not found within two hours, i would like to exit.
Logically, I'm looking for the best way to approach this
Thanks for any assistance in advance.
Note: I'm using a C shell and... (2 Replies)
Discussion started by: mmarsh
2 Replies
4. Shell Programming and Scripting
Hello All,
I looking for a way to verify the correction of shell script syntax.
Is there any switch like -c in perl which do this in shell ?
Thank You. (1 Reply)
Discussion started by: Alalush
1 Replies
5. Shell Programming and Scripting
Hi,
I am a unix newbie. I need to write a script to check wheteher another script is still running. If it is, then sleep for 30m and then check again if the script is running. If the script has stopped running then, I need to come out of the loop.
I am using RHEL 5.2 (2 Replies)
Discussion started by: mathews
2 Replies
6. Shell Programming and Scripting
hello everyone
i am beginner on shell scripting .and i am working on my project work on ad hoc network
i wrote a batch (.sh) to do a looping and execute a tcl script i wrote before in each iteration ..but i got this problem "
syntax error near unexpected token `('... (1 Reply)
Discussion started by: marcoss90
1 Replies
7. Shell Programming and Scripting
Hello i have question that i want check syntax from my script shell with sh -n filename
but it's not show something even i have wrong syntax in my file. why can this happened or any other way to check it?
i use on header of file :
#!/bin/sh
thx before :) (7 Replies)
Discussion started by: Gochengz
7 Replies
8. Shell Programming and Scripting
Hi Everyone,
Is there any way ( generic) to check syntax of Shell Scripts without running it?? (4 Replies)
Discussion started by: roy121
4 Replies
9. Shell Programming and Scripting
#!/bin/bash
if ; then
echo "Lipsa IP";
exit;
fi
i=1
ip=$1
while ; do
if ; then
rand=`head -$i pass_file | tail -1`
user=`echo $rand | awk '{print $1}'`
pass=`echo $rand | awk '{print $2}'`
CMD=`ps -eaf | grep -c mysql`
if ; then
./mysql $ip $user $pass &
else
sleep 15... (6 Replies)
Discussion started by: galford
6 Replies