Search Results

Search: Posts Made By: tarakant
1,270
Posted By tarakant
Lot of soutions, you do not nedd another one,...
Lot of soutions, you do not nedd another one, that i know. but simply if you want to show ur manager that u uesd lot of things to achive it and ur manager do not undersatnd shell scripting :D

file...
1,574
Posted By tarakant
Issue with ftp
Hi friends,

in one of the script i am doing ftp from solaris to a windows machine. From there i wll cd to specific directory.

Now, let's say the directory is not there, then the cd command will...
1,508
Posted By tarakant
OP should be like this FileName size...
OP should be like this

FileName size in f1.txt size in f2.txt
a1.gz 7505951 7505951
continueing....
1,508
Posted By tarakant
How to Compare two files
Hi,

I have two files with me.
f1.txt
-rwxr----- 1 mr459s other 7505951 May 21 09:04 a1.gz
-rw-r----- 1 mr459s other 16419332 May 24 03:54 a2.gz
-rw-r----- 1 mr459s ...
9,082
Posted By tarakant
Hi methyl, In response to your queries.. ...
Hi methyl,

In response to your queries..
local is unix and remote is windows system and i dont have admin access to the servers.

i will be connecting from unix to windows and will do get for...
9,082
Posted By tarakant
How to validate files after FTP
Hi,

I have to write a script and the requirment where using ftp i need to get 8 files from a remote box to local. I know how how to ftp and do get. However i want do a validation after get.
...
17,349
Posted By tarakant
yes you can do like find path -name -print |...
yes you can do like
find path -name -print | grep "get the time stamp from date command for the hour only" > file.txt

put it in the cron job which will run every hour and you will get the result
7,840
Posted By tarakant
Hi Tapia, i have done some changes in the script....
Hi Tapia, i have done some changes in the script. have not run it, just have given scrached on it. You can made some changes and compile it and it should work

let me explan you the logic. put a...
1,258
Posted By tarakant
help me out
Hi,

var=`date`
str=`echo "${var}" | awk '{ printf substr($0,5,12); }'`
echo ---------------
echo $str
echo ---------------

when i am executing this i am geting result as "Jun 1 06:03"
how...
1,463
Posted By tarakant
instantly mean, lets say within 5min it sud alert...
instantly mean, lets say within 5min it sud alert by sending the mail...........
1,463
Posted By tarakant
It is a Unix Solaris Box
It is a Unix Solaris Box
1,463
Posted By tarakant
Need Help On a Script
Hi,

We have a box where we get file every month on a particular folder. The files cud come any time and any day to the folder and the number of files is also not constant.

I have to write a...
21,102
Posted By tarakant
for var in "[0-3][1-9]/Mar/2010" do echo...
for var in "[0-3][1-9]/Mar/2010"
do
echo "Usage for the date $var"
-----and want to grep $var partten from a file--------
done


here wat i am expecting is, this string "[0-3][1-9]/Mar/2010"...
21,102
Posted By tarakant
using regular expression in for loop
Hi,

i want to use regular expression in a for loop like this.

for var in "[1-3][0-6]/Mar/2010"
do
echo "Usage for the date $var"
-----and want to grep $var partten from a file--------
done...
1,659
Posted By tarakant
need help in greping
Hi,

i have to find a string in a file and positin of the string in the file would come in some particular interval.

let's say file is 1-1000 lines and string is in from 200-300line.
could any...
Showing results 1 to 15 of 15

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