- Strength to Increase Rep
- +5
- Strength to Decrease Rep
- -1
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re:
hi all, i have written a shell-script which logs onto a mail-server using telnet and then tries to send the HELO command. The code for the same looks something like this: [code] exec telnet 150.236.18.66 25; echo "HELO"; [/code] The problem is that though the telnet connection is established the … |
|
Re:
[COLOR=DarkSlateBlue]Hi all, Problem: Send mail is configured in my system and now i want to write a shell script using which i can send mail to my rediffmail account. Its little urgent & i will be very thankful if someone send me the code. regards, Sanjeev Kumar(sanju456@rediffmail.com)[/COLOR] |
|
Re:
This is not a question about C/C++ as such, but I couldn't think of where else to put it. I would like to know how to call either gcc or g++ and specifying that all error messages that are to occur when compiling some source code are to be written … |
|
I am trying to keep formatting between cell references. For instance, I have a date in once cell (J9) and would like to add this date to a text field so e.g.: ="This will take effect on " & J9 & "." However, when I do this, I end up … |
|
Unfortunately, I don't think this question is solved with a simple vlookup, or etc. I have a spreadsheet that has several tables of data with the following format on one sheet: gxxxx gxxxx gxxxx zzzzz gxxxx gxxxx gxxxx zzzzz The "g"s above would indicate an item for lookup. The "z"s … |
|
Re:
Hi, I have this problem to solve [quote]Create a set of tables to store data for an address book (contact) application. Bare in mind the following design criteria. * The application will be used by multiple people so the database should also store a list of users. * The people … |
|
Re:
Hello all, lets say i have a table like this which has 3 columns and 3 rows; -----------------------------------------------------------+ COLUMN_A.....|.....COLUMN_B.....|...COLUMN_C | .........X............|...........X............. |.........X...........| .........X............|...........-...............|.........X...........| ..........-............|...........-...............|.........X...........| -----------------------------------------------------------+ So, now i have an input like; (user submits a form) ----------------------------------------------------+ ......X............|...........X............|..........-.......| ----------------------------------------------------+ now; the first column of row#1 is X so it is … |
|
Re:
Hello Everyone, I am a total beginner in UNIX/Shell script. I am in the process of creating a huge script for a spellchecker program. What it does is spellcheck files and throws output in a temporary file. What I need help in is forming a [B]for loop [/B]where it will … |
|
Re:
I'm reading up on jobs and processes in UNIX and was a little confused. A processes is just something that executes and then dies right away, like a grep command issued from the shell, right? It started, did what it was supposed too, outputs the info and then dies so … |
|
Re:
I have converted around 395 Excel survey forms to MS SQl database with that many tables. Well, I run a script to assign a primary key on all the tables on my database.First I set the column property to NOT NULL and then i assign the primary key to it. … |
|
I would like to create a variable in my trigger - @DBNAME. When the trigger executes, this value should be set to the name of the database it was executed in. E.g. for the master database the value of @DBNAME would be master. How would I go about figuring out … |
|
Re:
Hello All, I am facing one basic problem please help me out here is my script while [ 1 ] sleep 2 data=16:37 one=15:00 two=17:00 I need to check that is data lies between one and two ( data has to satisfy both one and two ) done how? please … |
|
Re:
I have about 5000 columns of data that i need to convert all of it into pecentages. for shorter colums i have been using this code: {print $1/($1+$2)*100,$2/($1+$2),$3/($3+$4)*100 .....} but this is a teadious process... with help i got this sed "s/[0-9]*.[0-9]*/&~/g" | tr "\n" " " | tr "~" … |
|
Re:
Looking to figure out how to do set an at job up from within a shell script w/o using the -f option. The at -f option provides no method (that I can determine) for passing additional command line parameters to the file. I have explored trying to use stdin redirection … |
|
Re:
Hai there, I would like to ask about currency format in Bash script let say i have $US2550000, after format it, it become $US2.550.000,00 Thanks for the help |
|
Re:
Hello, I have a query regarding a DOS command. I know this link is not the right place to ask queres about DOS but didnt find any another link in this forum. I need to send Cntrol +C to a running Exe (running on Windows) using a batch file.Can Any … |
|
Re:
Hi there, I have recently put together a net send messenger in a .bat file for a program of mine. I would like to make it so, if the "net start messenger" line fails/has an error, It echo's " messenger service is currently disabled on your computer. press F1 for … |
|
Re:
I wrote a post-install script, which is executed after the package installation by command like " pkgadd -d /mypackage.pkg". I also want to read user input in post-install script as follows: [CODE] while [ "$ANSWER" != "y" -a "$ANSWER" != "n" ] ; do echo "Apply changes to database? [y/n]:" … |
|
Re:
Shell Programming for UNIX/Linux is finally over thank god! C/C++/Perl I hate that shit lol it's over and I learned something. 1&>2 = I dont really know if this is right lol or 1>&2 = Something is redirecting something lol |
|
Re:
I have to create a Pseudo code for a class that is it's second week (I registered Late) I have no idea what I am doing. I have to create a program that writes a file that lists student ID #'s and their final scores. This is the data I … |
|
Re:
Is there any function in shell that enable to check for upper or lower case? i would like to check the input argumnets for upper or lower case. |
|
Re:
i wanted to printout the last entry of the file without passing in any arguments but how can i able to do it? i know how to print out where argument is supplied and doing a grep to match it. example inside the file i have: apple:2:1:3 orange:1:2:3 grape:2:3:4 i … |
|
Re:
Hi Everyone, Is it possible to convert a .sh script to VBS? If so, how should I go about this pls? The issue is that i have found a script which does exactly what i need, but it is written as a .sh we are a pure windows shop and … |
|
Re:
Hi ! I am newish to scripting. I have inherited an Apple Xserve running 10.4.11 server There is a script run each night that creates an zipped archive of some data. These can be quite large so I have to prune them regularly. I need to check that the youngest … |
|
Hey, I'm trying to unpack certain files from a tar archive - I don't want to unpack all of the 1.2GB file, just a particular bunch of it. I tried an obvious command: tar xvf /u8/sp_archive/2005.tar *1274* All files I want to extract have "1274" in the name; I want … |
|
Re:
Does anyone have experience with programming to control printers? |
|
Re:
I try to simply concat the arguments if they are not the same..... what is wrong with this simple code for concat??? [CODE] #!/bin/sh result=$1 shift while [ "$#" -ne "0" ] do next=$1 if [ $result = $next ] then : else $result="$result $next" fi shift done echo "$result"[/CODE] … |
|
Re:
Hi, I'm new to the forum & new to ,linux scripting so I'm hoping someone can help me out. I have a crontab that calls 2 scripts like : 47 14 * * * /myFirstScript.sh 48 14 * * * /mySecondScript.sh they don't do anything useful yet - just write … |
|
Re:
[code] Hello, I need to create a shell script to telnet to a remote server. Perform some action and then exit from that server. I am trying with a dummy script: #!/bin/bash telnet 172.11.11.21 8101<dummy.txt exit The dummy.txt contains the password. The script is not working with the port number. … |
|
Re:
hi this is mohanraj,i had completed my MCA(2007 passed out) and my RHCE .I'm in dilema whether to go in shell scripting or system admin.or whether to study some programming languages.so plz take this as a serious message an reply me.plz do favourable needs |