Search Results

Search: Posts Made By: Raamc
1,579
Posted By Raamc
Resending file in ftp
Hi All,

I would like to know it there is a posibility to resend a file to remote server and overwrite the old file.

Recently i ftped a 39kb file to remote server(it's an unix based one).
when...
4,560
Posted By Raamc
Passing a parameter to AWK
Hi All,

I am trying to pass a parameter to AWK on my KSH shell prompt as below.

var1=2
echo $var1
awk -v var2=${var1} '{print var2}' testfile.txt

I am passing the input file (testfile) to...
1,312
Posted By Raamc
samba log
Hi guys,

iam using samba utility to grab/delete files from shared to unix.
/util/samba/bin/smbclient URL/user 'pasword' -U 'AppID' -D Shareddrivepath -c "lcd UnixPath;mget *.csv"
this would...
1,058
Posted By Raamc
Hi , Thanks for your reply. I need to...
Hi ,
Thanks for your reply.

I need to create temp.list for more than 5000 files ,so when i do ls -l *.txt > tmp.list ,i am getting an error saying argument list too long.so, added it in for loop....
1,058
Posted By Raamc
for loop
Hi all,

Is it possible to write 'for loop' in a single line like
for conditions;do;sometatements;done.

I tried the below code but could not execute.

my code;
for i in *.txt
do
ls -l $i...
3,474
Posted By Raamc
Executing .bat file
Hi ,

I have a bat file on windows machine ,I need to excute it from my local unix machine using sambe utility.Is there any comman to execute the .bat file remotely.

Using samba utility i can...
12,879
Posted By Raamc
Thanks ctsgnb, My problem is solved with...
Thanks ctsgnb,

My problem is solved with --full option on ls.

ls --full <dir>

it is giving the long listing with year in it.

Thanks for the reply.
12,879
Posted By Raamc
Find first created file date in YYYYMMDD format
Hi All,

We are copying all the files into ARCHIVE directory after we process them. We are doing this process from last 2 years, now we have a lot of files in ARCHIVE directory.

Now I need to...
1,159
Posted By Raamc
Finding files for a date
Hi,

I have a directory with files from past 2 years.I need to find all the files for a specific date .
Due to certain reasons I could not use this command in my process ...
8,122
Posted By Raamc
thank you very much
thank you very much
8,122
Posted By Raamc
Chubler thanks for Quick reply. I have one more...
Chubler thanks for Quick reply.
I have one more query ,I need to print the date for each iteration in the for loop.
i.e. for the 1st iteration the date should be returned as 01/02/2010 and for the...
8,122
Posted By Raamc
Repeating loop between dates
Hi ,

I need to execute set of commands between two parameterized dates.

Suppose, If parameter1 is Feb1st-2010 and parameter2 is November15th-2010. I need to execute a set of commands within...
2,083
Posted By Raamc
Thank you all, It is working as it is...
Thank you all,

It is working as it is required.

Appreciate your help.

--Thanks
--Raam
2,083
Posted By Raamc
Hi Agama, Thank you very much, that worked. ...
Hi Agama,

Thank you very much, that worked.

I need one more small clue, I got the output like this
/home/RAAM/work/test1.xls /home/RAAM/work/test2.xls

I need to get only filenames with out...
2,083
Posted By Raamc
Getting filenames from a directory in single line
Hi All,

I have a requirement where I need to get the all file names present in a particular directory in to a single separated by space,

I have files in /home/RAAM/work directory as
test1.xls...
3,471
Posted By Raamc
Using RCP to copy and delete the files from Windows Drive
Hi,

I have a requirement to copy the files from C drive on Windows to UNIX, once the files are copied I need to delete them from that drive (C:).

A drive is also on same network as my unix, so...
1,893
Posted By Raamc
RCP for copying the files from one drive to other on Windows
Hi,

I have a requirement to move the files between two drives in windows machine from Korn sheel. I came to know that It can be done through RCP.

Can any one help me with syntax for connecting...
5,342
Posted By Raamc
vidyadhar, This is not working, giving the...
vidyadhar,

This is not working, giving the error as below

awk: illegal statement
input record number 1, file 108Learn.sh
source line number 1


Any other ideas?
5,342
Posted By Raamc
my data file is having around 20 millions of...
my data file is having around 20 millions of records, it is a fixed width format file.
Now I want to create Header and trailer like this...

Hcurrentdate" "
data" ...
5,342
Posted By Raamc
Creating Header & Trailer for bulk volume data file
Hi all,

I have a requirement to create a Header &Trailer for a file which is having 20 millions of records.

If I use the following method, i think it will take more time.
cat "Header">...
11,048
Posted By Raamc
methyl, When I run below commands here is...
methyl,

When I run below commands here is the output
type ftp
ftp is hashed (/usr/kerberos/bin/ftp)

whence ftp
-sh: whence: command not found
alias | grep "ftp"
echo $SHELL
/bin/sh

I...
11,048
Posted By Raamc
vgersh99, I did the same thing. It is giving...
vgersh99,

I did the same thing. It is giving the error as below

'AUTH GSSAPI': command not understood
'AUTH KERBEROS_V4': command not understood
KERBEROS_V4 rejected as an authentication type...
11,048
Posted By Raamc
FTP script error in BASH
Hi All,

I have a script which is supposed to connect to Windows machine and FTP a file into LINUX.

Script is like below
#!/usr/bin/sh
ParamterFle=${1}
//grepping all parameters...
Forum: Red Hat 10-01-2009
4,905
Posted By Raamc
Thanks for the reply, Before sending mail...
Thanks for the reply,

Before sending mail itself, i want to confirm weather the settings are done or not.
Is there any file in /etc drive where all these mail configuration settings will be...
Forum: Red Hat 09-30-2009
4,905
Posted By Raamc
SMTP Settings
Hi all,

Please help to check weather the SMTP settings are configured or not on my LINUX server?

I want to send a mail to mailbox. I know that the target SMTP server has to be configured on...
Showing results 1 to 25 of 52

 

Featured Tech Videos

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