Search Results

Search: Posts Made By: ronald_brayan
6,891
Posted By ronald_brayan
Using awk with variable name
Hi,

I have 2 files
File-template

NAME 1
CITY 2
AMOUNT 3
BAL 4

File - data

Anderson,,100,3000

File data always will have single record.

I the above case, if I want to extract...
31,839
Posted By ronald_brayan
Thanks a lot. It worked. Ronald
Thanks a lot. It worked.

Ronald
31,839
Posted By ronald_brayan
Extracting a column using AWK
Hi,

I've a text file like

ABC,,100
A,100,200

In the above example, I have 3 columns. I want to extract the second column.

I'm expecting a value like


100
i.e first record will not...
3,806
Posted By ronald_brayan
Hi everybody, I could make it work like...
Hi everybody,

I could make it work like this.

ls -l `find . -name *DW07.04B -print` | sed "s/ *[ ]/ /g" | awk -F"[ /]" ' { print $5 "," $NF } ' > file3

Thanks everybody.

Ronald.
3,806
Posted By ronald_brayan
Hi, Its worked perfectly. Along with...
Hi,

Its worked perfectly.

Along with that, i want the Size column also.
like
1036695,9565DW07.04B
124080,2082DW07.04B

Ronald.
3,806
Posted By ronald_brayan
Hi, Thanks for your reply. I found the...
Hi,

Thanks for your reply.

I found the mistake. You dont take the data I have given, instead make a "ls -l > file1" and try with
cat file1 | awk -F"[ /]" ' { print $5 "," $NF } '


It...
3,806
Posted By ronald_brayan
Hi, Thanks for your response. In some cases...
Hi,

Thanks for your response. In some cases it works.

In the following case
[devofsa]:/db01/BOIDW_FEED_DIR/BOIDW_FTP_DIR/cibex#cat file2
-rw-r----- 1 ftpuser users 249384 Jul 6...
3,806
Posted By ronald_brayan
Hi, Also please note I have files like ...
Hi,

Also please note I have files like
-rw-r----- 1 ftpuser users 348738 Jul 6 14:38 ./APRIL 2007/patna/4976DW07.04B

i.e. between APRIL 2007, there is a space.

Regards,
Ronald.
3,806
Posted By ronald_brayan
Hi, I'm getting following result #cat...
Hi,

I'm getting following result

#cat file1 | awk '{print $5","basename($9)}'
awk: Function basename is not defined.
The input line number is 1.
The source line number is 1.


Regards,...
3,806
Posted By ronald_brayan
Required unix command!!!
Hi,

In a file I have data like...

-rw-r----- 1 ftpuser users 1036695 Jul 6 14:59 ./APRIL 2007/Ujjain/My Disc (D)/9565DW07.04B
-rw-r----- 1 ftpuser users 124080 Jul 6...
Forum: Cybersecurity 04-04-2007
9,689
Posted By ronald_brayan
Hi, I logged into the server first then...
Hi,

I logged into the server first

then

ftp>
ftp> quote PASV
227 Entering Passive Mode (172,1,14,72,199,231)
ftp>


Yeah, it is working in IE.

Regards,
Ronald.
Forum: Cybersecurity 04-04-2007
9,689
Posted By ronald_brayan
Is it possible to set passive mode using windows...
Is it possible to set passive mode using windows command line.

I tried with

ftp> quote PASV

it didnt work. Is it correct, is there is another way of doing it???

Ronald.
Forum: Cybersecurity 04-04-2007
9,689
Posted By ronald_brayan
Hi, There will not be any problem becuase,...
Hi,

There will not be any problem becuase, If I ftp from other machines it works. IF i ftp from my laptop it does not work.

It can not be a problem of opening port, becuase I have assigned the...
Forum: Cybersecurity 04-04-2007
9,689
Posted By ronald_brayan
Following is the output.. C:\Documents and...
Following is the output..

C:\Documents and Settings\nazaretr>ftp -v 172.1.14.72
User (172.1.14.72:(none)): prodofsa
Password:
ftp>
ftp>
ftp>
ftp> ls
ftp>

It waits for a long time and...
Forum: Cybersecurity 04-03-2007
9,689
Posted By ronald_brayan
Hi, I'm ftp'ing from desktp to HP-Unix...
Hi,

I'm ftp'ing from desktp to HP-Unix server.

Can you help me where to use -v parameter.

Ronald.
Forum: Cybersecurity 04-03-2007
9,689
Posted By ronald_brayan
FTP is not working.
Hi,

I'm getting the following error while trying to use the ftp command.
----------------
331 Password required for prodofsa.
Password:
230 User prodofsa logged in.
ftp>
ftp>
ftp>
ftp> ls...
3,321
Posted By ronald_brayan
Vi Commands
Hi

I have find in unix.
A.txt

/app01//fnd/11.5.0/bin/ADCONV
/app01/fnd/11.5.0/bin/AFTBLGEN
/app01/fnd/11.5.0/bin/FDULONG
/app01/fnd/11.5.0/bin/FNDAQCT
/app01/fnd/11.5.0/bin/FNDATUPD

I...
9,969
Posted By ronald_brayan
Anonymous User
Hi,

Can a anonymous user have password ?

I have created a user and set password. Now I want to create that user as anonymous.

Ronald
3,433
Posted By ronald_brayan
dcdwst01:/ftp/ftpuser#ps -ef | grep ftpd ...
dcdwst01:/ftp/ftpuser#ps -ef | grep ftpd
ftpuser 16901 16728 0 11:09:24 pts/0 0:00 grep ftpd
root 16522 771 0 11:07:11 ? 0:00 ftpd: 172.16.6.128: ftpuser: IDLE


Now, I have...
3,433
Posted By ronald_brayan
I'm having following line in /etc/inetd.conf ...
I'm having following line in /etc/inetd.conf

ftp stream tcp nowait root /usr/lbin/ftpd ftpd -la

and in /etc/services

ftp 21/tcp # File Transfer...
3,433
Posted By ronald_brayan
Hi, ftp daemon will be started when ftp...
Hi,

ftp daemon will be started when ftp starts.

remote users open the ftp site using IE and copy data.

Ronald.
3,433
Posted By ronald_brayan
FTP thru IE
Hi,

I have a HP-Unix Box. I want to give access rights to FTP to other remote users. They will open the ftp site in the Internet explorer like ftp://ip_address.

Right now I've opened port 20...
Forum: IP Networking 10-28-2006
23,405
Posted By ronald_brayan
FTP transfer
Hi,

Yes, Our connection to the server goes through a firewall.

Ronald.
3,524
Posted By ronald_brayan
searching file
Hi Glenn,

How would I set IFS to "new line" .

Ronald.
3,524
Posted By ronald_brayan
Searching files
Hi Glenn Arndt,

It worked, Thanks very much.

Ronald.
Showing results 1 to 25 of 33

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