Search Results

Search: Posts Made By: csrohit
7,109
Posted By csrohit
No luck still. Whe I waited for script to...
No luck still.
Whe I waited for script to complete...after 4-5 misn it gave the following output -

Checking if there are inactive log files on the home directory....
Inactive files are present...
7,109
Posted By csrohit
There is nothing in the log file..it is...
There is nothing in the log file..it is empty..:confused:
I've put quit before EOFTP and now the whole script looks like -
:wall:

# Transferring latest inactive log file to another server
echo...
7,109
Posted By csrohit
Hi Robin, I amended the script as you...
Hi Robin,

I amended the script as you suggested.
But now when I do "./script_name", I only get the following -

Checking if there are inactive log files on the home directory....
Inactive...
7,109
Posted By csrohit
Stuck again
Hi Robin,

Some more things I want to clarify (I tried googling too but it got me more confused).
1) - I want to transfer file from location /o2/logs/weblogic/o2prl/ from server blx28ap05.
2) -...
7,109
Posted By csrohit
As per the requirement, compression not required...
As per the requirement, compression not required as such.
I tried using ftp as -

# Transferring latest inactive log file to another server
echo "Checking if there are inactive log files on the...
7,109
Posted By csrohit
Thanks for the reply Robin. The OS versions of...
Thanks for the reply Robin.
The OS versions of the two sides are -
GNU/Linux 2.6.18-194.3.1.el5
The data that I need to transfer is sensitive and the servers are not local and they have super user...
7,109
Posted By csrohit
Script to transfer files without xcom
Hi All,

I want to make a script in which I want to transfer files from current server to another.
The problem is that I don't have xcom installed on this so I was thinking of using scp command....
Forum: What is on Your Mind? 05-07-2012
1,560
Posted By csrohit
Career path help forum
Hi Admins and Moderators,

I am already in job for more than 2 years.
I need some guidance in deciding the career path.
Please suggest what should be the correct forum to post this to ?
...
1,139
Posted By csrohit
hi , I tried to use the above code for my...
hi ,

I tried to use the above code for my file,but it did now work.Below is the code i used and the contents of 'myfile' :

Code:

nawk -F, '{len=length($1+0); printf "%08d%s\n"...
1,139
Posted By csrohit
Need help on AWK
hi I have a delimited file 'file1' with 2 columns invoice number and code.


cat file1
8734111121,JFK
23112 ,LHR
45611110 ,ABH
780 ,B


We need to find the last 8...
995
Posted By csrohit
Hi ,I tried using the above code ,but got the...
Hi ,I tried using the above code ,but got the following error

awk: syntax error near line 1
awk: bailing out near line 1

I am using ksh shell.
995
Posted By csrohit
Need help with awk scripting
hi all,
I am working on awk scripting.I have created two awk files and now have a requirement of replacing the contents of first file with some contents of second file.
Please find below the two...
2,852
Posted By csrohit
Thanks a lot...that worked..cheers!!
may be you are not passing the ouput of ls -l command

$cat awk_example1.sh
#!/bin/sh
# Linux users have to change $8 to $9
ls -l | awk '
BEGIN { print "File\tOwner" }
{ print $8, "\t",...
2,852
Posted By csrohit
sh awk_example1.sh worked fine and...
sh awk_example1.sh worked fine and ./awk_example1.sh too worked but the output that I am getting is just as -
File Owner


However I am having two files in current directory.

The OS that...
2,852
Posted By csrohit
""Help Me!""Beginner awk learning issue
Hi All,

I have just now started learning awk from the source - Awk - A Tutorial and Introduction - by Bruce Barnett (http://www.grymoire.com/Unix/Awk.html#uh-0)

and the bad part is that I am...
4,503
Posted By csrohit
while running the above query i am getting the...
while running the above query i am getting the following result:

OWNER OBJECT_NAME OBJECT_TYPE
DML_PROD PAK_POPL_SUPPL PACKAGE
TV_RSCE PAK_POPL_SUPPL PACKAGE

...
4,503
Posted By csrohit
Component 'PAK_POPL_SUPPL' must be declared error
Hi,

I am using a shell script to run a Oracle procedure in Linux.I am getting the below error while running the procedure:

ERROR at line 1:
ORA-06550: line 1, column 22:
PLS-00302:...
1,290
Posted By csrohit
**URGENT**component 'PAK_POPL_SUPPL' must be declared error
hi,

I am using a shell script to run a Oracle procedure in Linux.I am getting the below error while running the procedure:
3,185
Posted By csrohit
I wanted to know about the certification because...
I wanted to know about the certification because I wanted to study in a proper manner.
3,185
Posted By csrohit
Thanks h@foosra.biz. By the right path I mean...
Thanks h@foosra.biz.
By the right path I mean if I can get to know about some certifications of Linux/Unix useful for my career.
Please suggest if you know some.
3,185
Posted By csrohit
Career path help
I am working in a company in which my work includes working on Linux nodes. The "uname -arv" command outputs -
"Linux clx28ap01 2.6.18-238.12.1.el5 #1 SMP Sat May 7 20:18:50 EDT 2011 x86_64 x86_64...
4,178
Posted By csrohit
Need help in a mini project
Hi All,
I want to make something like described below -
"Double click on an executable file that will check the health status and other things of various linux servers and send an email to a list...
1,338
Posted By csrohit
Script of invoke an email program
Is it possible that a shell script invokes a windows mailing application like Lotus Notes and creates a mail and sends it ?
2,926
Posted By csrohit
what does -e stands for
Below is a part of a script -
if [ -e $3 ]

I know -eq means equals in a n if statement but what does this -e means here ?
Please help.
Thanks
1,723
Posted By csrohit
Thanks. The files that are getting created in...
Thanks.
The files that are getting created in tmp directory are named something like file.<some number> and file0.<some number>.
Hence, I suppose file.$$ is used to created file with suffixed an...
Showing results 1 to 25 of 32

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