Search Results

Search: Posts Made By: redlotus72
8,233
Posted By redlotus72
why ^M in my file?
I have downloaded one csv file from my AIX box and edited using Text Pad, and uploaded thru SecureFX, If I see the file using vi command I can see ^M in end of the line, if open again in text pad...
21,015
Posted By redlotus72
How to find out how much RAM that process is using
H:confused:ow to find out how much RAM that process is using.
like how much memory java.exe process is consuming
Forum: AIX 08-07-2008
3,438
Posted By redlotus72
FTP is not working
Upto last month my script was working fine,
Now I am getting following error, any one help me?


Tcl_Init failed: Can't find a usable init.tcl in the following directories:
...
1,823
Posted By redlotus72
Group Problem
my user old group was staff and now it is changed to staffnew.
All my files(scripts) are with staff group under the same user.
How to change the group for all the files to new group.
1,492
Posted By redlotus72
no space : What this means?
movePSOrders.sh[35]: no space

for file in $(find $INPUTDIR -type f -mtime +2) ; do
#echo $file
if test -f $file; then
mv $file $OUTPURDIR
fi
done


Same code is working in...
2,647
Posted By redlotus72
How to list all the files which are not generated today
How to list all the files which are not generated today, and move all the above files to backup dir.
10,066
Posted By redlotus72
Try this ls | wc -l
Try this

ls | wc -l
22,096
Posted By redlotus72
I am sorry, Its working.. Thank you very much.....
I am sorry,
Its working.. Thank you very much..
:)
22,096
Posted By redlotus72
I am Sorry, ctlrws001[/tmp/inv1]$ cp $(grep...
I am Sorry,

ctlrws001[/tmp/inv1]$ cp $(grep -l '1189609240791-1268115603299237276@216.109.111.119' *.xml) /tmp/inv1/test
Usage: cp [-fhip] [-r|-R] [-E{force|ignore|warn}] [--] src target
or:...
22,096
Posted By redlotus72
I tried the following 3 ...but no o/p ...
I tried the following 3 ...but no o/p

ctlrws001[/tmp/inv1]$ grep -l '1189609240791-1268115603299237276@216.109.111.119'

ctlrws001[/tmp/inv1]$ grep -l '1189609240791'

ctlrws001[/tmp/inv1]$ cp...
22,096
Posted By redlotus72
Its not working...:mad: ...
Its not working...:mad:

ctlrws001[/tmp/inv1]$ cp $(grep -l "1190151616066-4284832706333417688@216.109.111.119') /tmp/inv/test
>
ctlrws001[/tmp/inv1]$ grep -l...
22,096
Posted By redlotus72
How to List and copy the files containing a string
:confused:
I have more than 8000 files in a dir, I need to copy to other dir which containing the "sample"

I tried
grep -il "1189609240791-1268115603299237276@216.109.111.119 ' | cp /tmp/inv
...
50,876
Posted By redlotus72
How to Zip the files from date Stamp to end date Stamp
Hi,
I need to zip the list of files using from date Stamp to end date Stamp, How can I filter and make FromDate_EndDate.gzip?
any idea?
10,213
Posted By redlotus72
How to Read a config file and Assign to Variable
I have removeConfig file, it contains the dir paths for removing. I need to read line by line and assign to variable. any idea?
2,045
Posted By redlotus72
Every week one dir - How to
I need to make programmatically
one dir every week Saturday, like 102106, 102806, ...
10 ==> month
21 ==> Saturdays
06 ==>Yr
Any idea?
22,193
Posted By redlotus72
How to change the owner of the file?
How to change the owner of the file?
Can I change the owner of file/ files?
I am user and not admin.(not logged as root)
45,327
Posted By redlotus72
Files list which are more than 300 MB size
Hi,
I need to find files list which are more than 300 MB size? My script It should search all inner directories too.
How can I proceed? Any idea?
1,914
Posted By redlotus72
How to redirect all mails to text file?
Hi,
I need to develop one application that reads all my mails (in unix mail box), and write into one txt file, My server is AIX .My mails are in AIX mail box.
Any idea?
6,763
Posted By redlotus72
Memory related Unix commands
I am using rsync for my backing up my files, from one box to other box,
While doing I am getting following error.

arb821/Server/logs/rpcMetrics/
arb821/Server/logs/AribaOrderTransmitterLog.txt...
3,332
Posted By redlotus72
File rename
Hi,

I need to rename a file like this..

Original File : $orderFile =SYLVATICAINC_12076767647_D000005267_1_116695689.ps

New File Name SYLVATICAINC_1333333333_D000005267_1_116695689.ps

My...
12,784
Posted By redlotus72
How to find a text in jar and zip files.??
Hi,
I have classes dir, in that I have jar and zip files, I need to find "Param.class" is in which zip or jar file?
2,247
Posted By redlotus72
rsync back?
Hi,
I am in the process of developing backup script using rsync,

my code is bellow:

EXCLUDE_DIR="/home/kannanpg/mscdr/src/ex1"
rsync -az -e ssh -v --exclude $EXCLUDE_DIR --delete...
6,899
Posted By redlotus72
how to sed with tail
hi,

I am searching error and exception in my log and >> to report file,
my code is :

sed -n '/[eE][rR][rR][oO][rR]/p;/[eE][xX][cC][eE][pP][tT][iI][oO][nN]/p' $ARIBA_LOG_DIR/MyLog.txt >>...
4
9,740
Posted By redlotus72
ps -ef
Hi,

I need find some server is running or nor, if not I have to send a mail,

if I use

ps -ef | grep buyerserver1

I am getting pid etc etc...
I want validate with boolean value.. and...
5,472
Posted By redlotus72
rsync problem
Hi,
while runninc rsycnc I am getting following error
rsync error: received SIGUSR1 or SIGINT (code 20) at rsync.c(229)
any idea?
Showing results 1 to 25 of 69

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