No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
8 Posted Topics
I feel thsi way it can be done, ps -C <process_name> redirect this output to any file then use while loop use head and tail command so that process can be killed one by one. Then give sleep 120 seconds then use the same process but use if loop to …
Dear all, I have configured postfix mail server with dovecot and webmail ( sqirrelmail). I have created aliase for perticular user so that I can get every mail send to user in aliase user mail box. It is running well. I can send email to outside domain like abc.gmail.com I …
Dear all, Here is output of my command -bash-3.1$ psql -l |cut -d "|" -f1 | grep -i repo repository repository_reports $ I want to drop these database thru script one by one. My requirement is to take the these o/p one by one and use it with dropdb command. …
Dear all, I have a machine with IP 192.168.0.59 with the user named igpadmin. another machine with IP 192.168.0.11 with the user iv2user, postgres and repository I want to login from 192.168.0.59 to in these user accounts without prompting for the password. I have generated generated keys and copied to …
Dear all, cut -c 4-8 , this will cut the character from 4 to 8 and give the output but suppose I want output excluding character 4-8 then how can I do with cut command Thanks in adavance Vinod
Dear all, I have written a small script which will send me mail on status of server. I have tested it working fine. I am facing only with message subject The last part of my script is as below, cat dailystatus.txt| mail -s "Daily Server Status Report-$yr-$mm-$dd" [email][email protected][/email] The script …
Dear all, I am new to apache , I have been given a task to check the minimum modules required to load apache. In fact we have our own http.conf which we use for testing purpose, do have any idea what required to check and how to do that or …
Dear all, I am facing trouble with calling exit status in a function. Here is part of my experimental shell script to do remote file transfer without prompting for password. I have created error purposefully function iv2 { rsync -a -e "ssh -i $RKEY" $RUSER@$RMACHINE:$BSDIR3/dev/* $MDIR1/dev/ 2>&1 | tee >>$RLOG_DIR/$LOGFILE …
The End.
chunchuwar