User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 370,569 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,999 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 16 of 16
Search took 0.01 seconds.
Posts Made By: kamitsin
Forum: Shell Scripting Nov 6th, 2006
Replies: 1
Views: 1,247
Posted By kamitsin
Re: query regarding the crontab command

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: 3,013
Posted By kamitsin
Re: splitting a ftp connection string to it's parts

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: 1,811
Posted By kamitsin
Re: how to mount to serial port??wat is the command?

what is the UNIX platform and what are you trying to connect ??
Forum: Shell Scripting Nov 6th, 2006
Replies: 1
Views: 1,247
Posted By kamitsin
query regarding the crontab command

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 use of $...
Forum: Shell Scripting Nov 6th, 2006
Replies: 18
Views: 19,926
Posted By kamitsin
Re: Change Password In A Shell Script

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: 6,883
Posted By kamitsin
Re: Ping Script

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: 18
Views: 19,926
Posted By kamitsin
Re: Change Password In A Shell Script

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: 3,148
Posted By kamitsin
Re: ftp and compare script

# !/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: 3,482
Posted By kamitsin
Re: Simple script loop question

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 commands so...
Forum: Shell Scripting May 9th, 2006
Replies: 18
Views: 19,926
Posted By kamitsin
Re: Change Password In A Shell Script

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: 5,662
Posted By kamitsin
Re: append to XML file

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 in my...
Forum: Visual Basic 4 / 5 / 6 May 5th, 2006
Replies: 3
Views: 5,662
Posted By kamitsin
Help append to XML file

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,411
Posted By kamitsin
Re: searching for files

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: 1,620
Posted By kamitsin
Re: new to shell scripting, need some help

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: 1,620
Posted By kamitsin
Re: new to shell scripting, need some help

$? 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 shell...
Forum: Shell Scripting Apr 27th, 2006
Replies: 2
Views: 1,752
Posted By kamitsin
Re: Shell script

confused ??? can u send few lines of your input file ???
Showing results 1 to 16 of 16

 
All times are GMT -4. The time now is 4:53 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC