Search Results

Search: Posts Made By: laiko
10,616
Posted By laiko
I disabled my Firewall (public and private) and...
I disabled my Firewall (public and private) and my anti-virus also, but no progress.. :wall:
10,616
Posted By laiko
I did that, but it did not show any security...
I did that, but it did not show any security alert. It immediately displayed: Using username "new" and cursor went to next line.. nothing happened. I've been waiting for more than 3 minutes.
10,616
Posted By laiko
Thanks. I downloaded PUTTY. May I know where to...
Thanks. I downloaded PUTTY. May I know where to enter the new@sdf.org? I mean I put sdf.org as Hostname and tick SSH. Then logged in as 'new', but nothing happened. Can you tell me the parameters...
3,141
Posted By laiko
just a guess.. at line where it says ...
just a guess..

at line where it says
if(*v == scanme[i]){

i don't think you are comparing each element of v. v is a pointer to an array. You may need to use something like v[counter],...
10,616
Posted By laiko
I hit <Enter> key after the command line that...
I hit <Enter> key after the command line that says:
SSH Server/Alias: sdf.org

it gives me:
Connected to server running SSH-1.99-OpenSSH_5.8

Server's hostkey (ssh-rsa) fingerprint:
openssh...
10,616
Posted By laiko
Can't login to a free shell environment
I would like to practice shell scripting and need an environment - free shell account. I tried Arbornet and the freeshell.org. But both always give me error: "File operations disabled, server...
59,131
Posted By laiko
Thank you all!!!
Thank you all!!!
59,131
Posted By laiko
echo multiple lines
I have a code:
echo "First Line ^M Second Line" | mail -s "Lines" abc@gmail.com
Basically, I want to send an email with text in this format:
First Line
Second Line
But there is something wrong...
1,308
Posted By laiko
Thanks, guys! the 'eval' worked..
Thanks, guys! the 'eval' worked..
1,308
Posted By laiko
Problem with "OR"
I have a file 'my File' which has one line:
my name is John Doe
and in my shell script, I have:
file="\"my File\""
echo $file
cat $file
This displays "my File" (from echo command). But I am...
4,120
Posted By laiko
Thanks, Ygor, but the formed command becomes: ...
Thanks, Ygor, but the formed command becomes:
DS/Ascential/DataStage/DSEngine/bin -run -jobstatus -wait -mode NORMAL -param JOB_ID=98246 -param PREVRUNDT='\''2010-03-20 18:00:00'\'' -param...
4,120
Posted By laiko
Dynamic command with quotes
I have a shell script which composes a dynamic command (DataStage application):

conn="/DS/Ascential/DataStage/DSEngine/bin "
paramlist=" -run -jobstatus -wait -mode NORMAL -param JOB_ID=98246...
2,114
Posted By laiko
Thanks, Kurumi... But I should have made my...
Thanks, Kurumi...
But I should have made my question clear.. What I meant was is it possible to avoid creation of an extra file? I just want to update the input.txt without the need to create an...
2,114
Posted By laiko
Thanks Tyler, that really helped! ----------...
Thanks Tyler, that really helped!

---------- Post updated at 12:29 PM ---------- Previous update was at 09:16 AM ----------

By the way, I noticed that it creates a BAK file. Is it possible not...
2,290
Posted By laiko
Thanks for the solutions. I prefer the awk since...
Thanks for the solutions. I prefer the awk since I am not restricted to get the JobID only. I may also need to get values of other parameters. However, I am having problem when I have another...
1,419
Posted By laiko
Replacing Strings in a File
I have a input file which looks like this:

Value1=""
Value2=""
Value3=""

ListOfValues=" $Value1 $Value2 $Value3"

I have another program which computes the values ($val1, $val2, $val3). So...
2,114
Posted By laiko
Replacing Strings in a File
I have a input file which looks like this:

Value1=""
Value2=""
Value3=""

ListOfValues=" $Value1 $Value2 $Value3"

I have another program which computes the values ($val1, $val2, $val3). So...
2,290
Posted By laiko
Getting a string in a file
Hi,

I have a file with:

Param1="JobID=1234"
Param2="Company=ABC"
Param3="Address=Sunnyvale,CA"

I'd like to get the value of the JobID. Can you please help me the best way to do that?
...
4,457
Posted By laiko
Changing file permission upon creation in a directory
I want to change the permission of a file when it gets created in a particular directory. For instance, I have directory MyDir. Everytime a file gets created in that directory, I would like to...
11,443
Posted By laiko
Thanks anchal... yes that worked I found out...
Thanks anchal... yes that worked
I found out there's some other problem in the code so it was not working.
I thought that's because of those params..
11,443
Posted By laiko
Dynamic SQL query based on shell script parameters
Hi,

I need a script that will run a dynamic Oracle SQL. Dynamic meaning the SQL statement depends on the parameter.
For instance, something like this:


#!/bin/ksh -x

# Set environment
....
4,228
Posted By laiko
Thank you very much! It is working now... You...
Thank you very much! It is working now... You made my Monday!
4,228
Posted By laiko
Unclosed EOF (error)
I have a script which throws an error: "here document `EOF' unclosed"
The script is:

...
main()
{

RETVAL=`sqlplus -s $ConnectDetails << EOF
SET SERVEROUTPUT ON
DECLARE
errnum ...
2,555
Posted By laiko
concatenating selected lines of multiple files
Thanks much! That works! I got a new requirement today in addition to that. I have to attach a header to it. I have a file header whose contents (which may vary) I need to prefix to the...
2,555
Posted By laiko
concatenating selected lines of multiple files
Thanks Franklin, but the number of files and the filenames may vary. It should be dynamic that it will process all files in the directory... Please modify..
Showing results 1 to 25 of 31

 
All times are GMT -4. The time now is 03:12 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy