Search Results

Showing results 1 to 16 of 16
Search took 0.01 seconds.
Search: Posts Made By: kamitsin
Forum: Shell Scripting Nov 6th, 2006
Replies: 1
Views: 2,028
Posted By kamitsin
finally i got hold of a unix box (am not working on unix these days) and now am pretty sure that there is something wrong in his query.

I have asked for his crontab file to check for the crontab...
Forum: Shell Scripting Nov 6th, 2006
Replies: 2
Views: 6,289
Posted By kamitsin
or else you can use the cut -c option to cut the string into its parts.
Forum: Shell Scripting Nov 6th, 2006
Replies: 1
Views: 2,937
Posted By kamitsin
what is the UNIX platform and what are you trying to connect ??
Forum: Shell Scripting Nov 6th, 2006
Replies: 1
Views: 2,028
Posted By kamitsin
Hi,

Yesterday a friend of mine asked me about the use of $ at the end of the crontab command. His query is something like this.

15 3 * * * command $

Can someone please help me with the...
Forum: Shell Scripting Nov 6th, 2006
Replies: 20
Views: 34,188
Posted By kamitsin
Hi folks !!!!

First of all i am sorry for not replying to your posts.

Please let me know if you still require the script and i will post it in the thread.

Thanks,
Amit
Forum: Shell Scripting Jun 7th, 2006
Replies: 1
Views: 10,176
Posted By kamitsin
Why do you want a user intervention in your script ??

Just a suggestiion, If you want to collect data over a certain interval of time then use the -w option to define the interval and that will...
Forum: Shell Scripting Jun 1st, 2006
Replies: 20
Views: 34,188
Posted By kamitsin
I have attached the modified script beacuse the original script is for changing the password across multiple servers and i guess this is not what you require.

You need to execute the script from...
Forum: Shell Scripting May 31st, 2006
Replies: 5
Views: 4,279
Posted By kamitsin
# !/bin/bash
ftp -n -i <<EOF
open ftp.coe.neu.edu
user user pass
bin
cd www/backup
lcd ~/Desktop/backup
mget *.*
lcd ~/Desktop/
disconnect
Forum: Shell Scripting May 17th, 2006
Replies: 2
Views: 5,133
Posted By kamitsin
while true
do
date >> /var/log/perfmon.log
vmstat 3 10 >> /var/log/perfmon.log
sleep 300
done

but instead of giving a sleep of 5 minutes why don't you cron the whole thing. Schedule the...
Forum: Shell Scripting May 9th, 2006
Replies: 20
Views: 34,188
Posted By kamitsin
i am using a shell script which changes the password of all the servers in the network and also of the host server (as per your requirement) but it uses except.

Earlier i had a perl script to...
Forum: Visual Basic 4 / 5 / 6 May 8th, 2006
Replies: 3
Views: 7,586
Posted By kamitsin
Yes i have installed the ChilkatXml module.

I have checked the documentation of ChilkatXml but could not get much on the appending part.

Have tried

open filename for append as #1

but...
Forum: Visual Basic 4 / 5 / 6 May 5th, 2006
Replies: 3
Views: 7,586
Posted By kamitsin
I was saving some data to a new XML file using the following code


Public myFileName, NewFileSave As String
Dim xml As New ChilkatXml
Dim outXml As New ChilkatXml
Dim node As ChilkatXml
Dim...
Forum: Shell Scripting Apr 28th, 2006
Replies: 2
Views: 1,876
Posted By kamitsin
make a file with name of the month and the month in numeral format.

Say,

Jan 01
Feb 02
March 03

store the year and month in two different variable.
Forum: Shell Scripting Apr 28th, 2006
Replies: 4
Views: 2,514
Posted By kamitsin
i hope u got the answer to your queuries. You can find these commands with their explanation in any of the unix manuals.

Try out the tutorial listed at the top of this forum "Bourne / Bash...
Forum: Shell Scripting Apr 27th, 2006
Replies: 4
Views: 2,514
Posted By kamitsin
$? is variable in which the exit status of the last command is stored.

0 - Sucessful execution of command
1 - Error

The importance of this variable in shell scripting is that

"In a...
Forum: Shell Scripting Apr 27th, 2006
Replies: 2
Views: 2,192
Posted By kamitsin
confused ??? can u send few lines of your input file ???
Showing results 1 to 16 of 16

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC