Search Results

Search: Posts Made By: mvictorvijayan
Forum: UNIX and Linux Applications 09-24-2009
1,979
Posted By mvictorvijayan
Bad Interpretor
I have installed cygwin in my windows machine. when i ran the sample script it was throwing the following error.
bash: sample.sh: /usr/bin/bash: bad interpreter: No such file or directory Till...
8,630
Posted By mvictorvijayan
Return a value from called function to the calling function
I have two scripts. script1.sh looks
--------------------------------
#!/bin/bash

display()
{
echo "Welcome to Unix"

}

display
-----------------------------

Script2.sh
...
1,574
Posted By mvictorvijayan
Application development using shell script.
Application development using shell script.
1,574
Posted By mvictorvijayan
Unix Certifcation
Can anyone suggest certification on Unix in development area?
4,366
Posted By mvictorvijayan
Thanks methyl, it works fine.
Thanks methyl, it works fine.
4,366
Posted By mvictorvijayan
Substitute single backward-slash with the double backward-slash
Hi,

I have a path like this c:\test\sample\programs, i need to change thiis to c:\\test\\sample\\programs. How to perform this? I tried tr command but it didn't help me.

Thanks
Vijayan
Forum: AIX 06-04-2009
2,110
Posted By mvictorvijayan
Ibm db2 udb
Am trying to export the content of Stored Procedure to a file using GET ROUTINE command. After executing the command first few lines of the file contains ASCII characters though i have original text...
1,969
Posted By mvictorvijayan
Client is not connecting to the Database
Hi,

Am running my client in Windows and the database (IBM DB2) is in AIX machine. if I open my client its not connecting to the database at first time and failing in a particular SQL Query. But if...
Forum: AIX 08-12-2008
2,627
Posted By mvictorvijayan
IBM DB2 UDB to SQL Server 2005 Porting
Hi All,

Am porting my application from AIX to Windows. As a part of this I need to port the Database in IBM DB2 UDB to SQL Server 2005. Is there any Guide/Doc/Article available on this? How to...
Forum: AIX 07-23-2008
4,231
Posted By mvictorvijayan
Thanks bakunin, Can i have more information on...
Thanks bakunin, Can i have more information on this. Please see my quick reply. I have mentioned clearly there.
Forum: AIX 07-23-2008
4,231
Posted By mvictorvijayan
Hi Zaxxon, Thanks for your reply. I am using...
Hi Zaxxon,

Thanks for your reply. I am using Blowfish algorithm to encrypt the password in unix side. If i decrypt the password in AIX it gives for example M¼^Û«PV. But if i decrypt the same...
Forum: AIX 07-23-2008
4,231
Posted By mvictorvijayan
Problem with the Characters!!!
Hi all,

We are porting an application in AIX to windows. If we enter password, it will be encryped and give some characters. (for examplle: M{\d6). If we do the same operation in windows the...
1,434
Posted By mvictorvijayan
Yes. I have installed active perl in windows.
Yes. I have installed active perl in windows.
1,434
Posted By mvictorvijayan
Need help in perl scripting.
Hi,

To run a perl script i am giving command like this in DOS prompt

d:> perl D:\<dir_name>\<dir_name>\sample.pl

Its throwing the following error while running the above

syntax error at...
3,152
Posted By mvictorvijayan
For loop not working?
Working of for loop depends on the shell. I think you are trying to run the for loop $i and $j times. If you use the k shell the loop will run only once. You need to try while loop or some other...
5,415
Posted By mvictorvijayan
How to shutdown client machine from the server
I have a unix server through which some ten client machines are connected. I want to shutdown/restart all the machine from the server through the shell script during the particular time of the day. I...
Forum: Linux 01-02-2008
4,105
Posted By mvictorvijayan
Thanks Rakesh. I try this.
Thanks Rakesh. I try this.
Forum: Linux 01-02-2008
4,105
Posted By mvictorvijayan
Couldn't connect to Internet
I have installed fedora core 7 in my system. When I try to activate the network card it says "Could not determine IP address for eth0...failed".
Please give me suggestions?
6,268
Posted By mvictorvijayan
Thanks
Thanks Porter and Ejdv. Finally i found a command who -m to find the IP address of the windows machine through which I have connected. From the output I could cut the IP address alone.

Thanks ...
6,268
Posted By mvictorvijayan
How to get Windows machine's IP address from Unix?
I am using windows Xp. From windows I would connect to my IBM AIX unix machine using telnet client. Is there any command available to view the IP address of Windows machine from Unix? (Note that...
Forum: HP-UX 12-03-2007
79,018
Posted By mvictorvijayan
File Size
Try this command if you want to display the file size alone.

ls -l | head -1 | cut -c7-
or
ls -l | head -1
65,926
Posted By mvictorvijayan
File Size
You can try this command as well

ls -ltr <filename> | cut -c 32-43
26,823
Posted By mvictorvijayan
File Permission
Yes you are correct. If we make the file permission as 000. No one can Read from/Write into the file. But the owner of the file can change the permission accordingly, so that owner/everyone can...
37,120
Posted By mvictorvijayan
script
#!/bin/ksh

grep "the requested operation was successfully completed" $1 >/dev/null
RESULT =`echo $?`
if [ $RESULT == 0 ]; then
echo "Continue"
else
echo "Stop"
fi

Assume...
2,443
Posted By mvictorvijayan
Shell script
Can u elaborate the question?
Showing results 1 to 25 of 29

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