Dear experts ,
Our environment allows invalid user authentication till 2 times , one more attempt will lock that user.
Few of automated script have login procedure internally , a...
Hi,
I want to update a file that is stored in ClearCase but I only want to update the file if there is
something to update. To check this I use diff and send the result to a text file. When ...
Hi,
The below script scans all machines whose names are in a txt file and move all mp3,avi and mpg files into a UNC path
What i want is to check if file size more than 5 MB then move els...
I have a file with three fields (piped delimited).
I wanted to check if one of hte field, say 2-nd is a particular type, say integer.
What would be the most efficient way using shell scrip...
I am trying to implement the following script.
#!/bin/sh
file=`echo $1 | sed 's#\.tex$##'`;
hevea ourmacros.hva $1
hevea ourmacros.hva $1
command=sed -i 's#$file.css##' $file.html
se...
A shell script for loop (create by someone else) is now giving out bad results because it's finding the arg more than it should I only want it to find ERR and ALERT and its finding ERRS etc..
...
I have a file, 'old', that merely consists of the following date string: "Wed 1/30 7:14" (without the quotes). I would like the change the string to "Wed 01/30 07:14", using the following sta...
Hi,
On a Linux machine this is what I do :
sudo su -
cd /bia/opt/game/bin
./alphactl -s Listener stop
I need to create a shell script that will contain all this. So that on the comm...
Hi Experts,
Hope I am keeping you busy? :-)
I have to monitor approximately thirteen (13) PID's. Can I complete this task through shell script.
base_commonservices.pid
ir_process_Intellige...
hi all,
my manager wants me to make the following sheel script for his purposes and I'm newbie in shell scripting
I've this sample line of commands to put in shell scripting file
ls -a *.p...
The configure, make, & make install seem to run fine (from my untrained novice eye) but I don't get an executable. Am I missing a step? I'm doing this as root on a Solaris 10 x86 system. Below...
Hello,
Here is an example of my data:
<frame context=".*/batch">
</frame>
<frame context=".*/continuous">
</frame>
================================
I am trying convert the above...
Hello,
I need to remove or change to null ascii character 0A (012) only from the last line of the file. Probably I can use command 'tr'+'sed'
The question is , how to do it in on command s...
hello,
I want remane all files start by 'gex' but not start by 'gex_' and this in big list of folder.
ex : rename 'gextoto' to 'gex_toto'
but not rename 'gex_toto' to 'gex__toto'
how can...
i am counting popularity
i have a file
how do i count how many times each comma separated term (or word, it's easier) appears?
i would like an output that's sorted descending by popularit...
I have a web form where I'd to like combine 2 different javascripts, the first one is activated by
onSubmit="return checkSubmit()"
and runs the following script:
function checkSubmit(...
i have local machine is sun OS which has all alias set
i have remote machines are AIX, LINUX & SUN how can copy all alias to remote machine for script to run and taking alias values.
Please tell me what is wrong with this script. I want to define what is passed to +mtime and -mtime command line. So it would run like:
script.sh 10 20
Then it would list anything older...
I have a script from a previous question:
http://www.experts-exchange.com/Programming/Languages/Scripting/Shell/Q_23084448.html
It traverses through my music folders (which have a specific...
I am using this command to list a list of log files :
ls -R | grep '\.log$'
i want to check a word exist in all the 8.log files ..how to do that?
i have created a shell script shown below :
Its working properly when i executing through shell
but when i executed through crontab.
contents (body) of the mail is empty
Can u ma...
Dear Experts,
1.I need a script which will search a directory for files which contains " inside files (not in filenames) and remove this character(")from that file.
2. IT will also log e...
yesterday I asked how to do a count on comma separted items to see how many times each term (word) appears in a file.
perl -lne '$c{$_}++ for split/,\s*/; END{print "$_, $c{$_}" for sort{$...
i'm new to shell script. i need help to write script as following requirements.
1.Folder will create automatic under logs/lu/<year><mm><day>/<hour>/
2.We need to decrypt the *.crypt (comma...
hello guys..
i have ssh for use this command in shell script.
ssh -v user@server20 -C "/bin/ksh -c \'/home/cmbuild2/CMAUTOMATION/SCRIPTS/26testpart1.ksh;exit '"
it's work..but i want to d...