No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
11 Posted Topics
Re: 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 change the password. If you want i can give you both the … | |
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. [B]15 3 * * * command [COLOR=red]$[/COLOR][/B] Can someone please help me with the use of $ at the end of this crontab command … | |
Re: or else you can use the cut -c option to cut the string into its parts. | |
Re: [QUOTE]i need some ppl help me in the commmand for connect to my serial port...i face this problem a few days ago but stil unabe to get the solution. [/QUOTE] what is the UNIX platform and what are you trying to connect ?? | |
Re: 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 remove the user intervention. As far as your comparision of Tx and … | |
Re: # !/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 EOF diff backup bin I hope this is what you wanted ??? EOF Checks for end-of-file condition on open file hence close the file and then use diff. | |
Re: 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 that they run after every 5 min. Amit | |
I was saving some data to a new XML file using the following code [CODE] Public myFileName, NewFileSave As String Dim xml As New ChilkatXml Dim outXml As New ChilkatXml Dim node As ChilkatXml Dim nextNode As ChilkatXml Private Sub Command47_Click() CommonDialog1.ShowSave NewFileSave = CommonDialog1.FileName MsgBox NewFileSave xml.SaveXml NewFileSave MsgBox … | |
Re: 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. grep the month from the file containing the month and the corresponding number. use awk to print the month name … | |
Re: $? 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 [LEFT] [/LEFT] [LEFT][B]"In a shell script, the error message is ignored and the script continues to execute. … | |
Re: confused ??? can u send few lines of your input file ??? |
The End.