Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
~19.1K People Reached
Member Avatar for subhashmedhi

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 …

Member Avatar for Tabsy
0
2K
Member Avatar for sanju456

[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]

Member Avatar for sftranna
0
2K
Member Avatar for bops

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 …

Member Avatar for swagatata
0
4K
Member Avatar for omrsafetyo

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 …

Member Avatar for omrsafetyo
0
147
Member Avatar for omrsafetyo

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 …

Member Avatar for omrsafetyo
0
159
Member Avatar for Achupa

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 …

Member Avatar for verruckt24
0
189
Member Avatar for rexmont

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 …

Member Avatar for verruckt24
0
111
Member Avatar for learnpro

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 …

Member Avatar for eggi
0
178
Member Avatar for Trekker182

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 …

Member Avatar for omrsafetyo
0
493
Member Avatar for isaackhazi

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. …

Member Avatar for omrsafetyo
0
146
Member Avatar for omrsafetyo

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 …

Member Avatar for omrsafetyo
0
130
Member Avatar for packet

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 …

Member Avatar for JeoSaurus
0
157
Member Avatar for rockX

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 "~" …

Member Avatar for eggi
0
171
Member Avatar for flying

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 …

Member Avatar for omrsafetyo
0
238
Member Avatar for prabowoadis

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

Member Avatar for omrsafetyo
0
929
Member Avatar for programmer321

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 …

Member Avatar for mittelgeek
0
1K
Member Avatar for pure_evil020

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 …

Member Avatar for pure_evil020
0
91
Member Avatar for kingpmp

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]:" …

Member Avatar for eggi
0
119
Member Avatar for MAD_DOG

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

Member Avatar for eggi
0
571
Member Avatar for andy4919

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 …

Member Avatar for andy4919
0
259
Member Avatar for picass0

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.

Member Avatar for ghostdog74
0
2K
Member Avatar for picass0

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 …

Member Avatar for ghostdog74
0
112
Member Avatar for stooartbaby

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 …

Member Avatar for stooartbaby
0
844
Member Avatar for ivorb

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 …

Member Avatar for omrsafetyo
0
83
Member Avatar for omrsafetyo

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 …

Member Avatar for eggi
0
159
Member Avatar for antona
Member Avatar for antona
0
491
Member Avatar for k2k

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] …

Member Avatar for omrsafetyo
0
85
Member Avatar for chippy_hewitt

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 …

Member Avatar for linux
0
120
Member Avatar for programmer321

[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. …

Member Avatar for eggi
0
180
Member Avatar for D.Mohanraj

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

Member Avatar for omrsafetyo
0
87