Search Results

Search: Posts Made By: srivsn
5,349
Posted By srivsn
Checking availability of Web pages through Unix script
Hi Guru's,

I need to check the availability of a web page for every one hour through a script. Following is the requirement.

1. Go to http://vsn.srivsn.com
2. If any error encountered in...
18,278
Posted By srivsn
Concatenating the two lines in a file
hi
My requirement is i have a file with some records like this

file name ::xyz

a=1
b=100,200
,300,400
,500,600
c=700,800
d=900

i want to change my file
a=1
b=100,200,300,400...
5,988
Posted By srivsn
hi from command line i am able to connect the...
hi
from command line i am able to connect the remote server.but from the shell script with same password is not connecting.in the password last charecter is '#'.
5,988
Posted By srivsn
hi i am trying from the shell script
hi
i am trying from the shell script
5,988
Posted By srivsn
Restricted charecters in FTP password
hi

i am unable to connect to FTP server.My FTP password contain one special charecter '#'.it might be the problem for connecting.please clarify regarding this special charecter in the password.i...
2,478
Posted By srivsn
Showing extra line/record in file
Hello everybody,

My job is to load the data from Oracle table to flat file and from flat file to oracle table using ETL tool Informatica. My flat files are fixed width. In the first phase, it is...
Forum: Filesystems, Disks and Memory 05-04-2006
2,755
Posted By srivsn
Showing an extra record/line
Hello everybody,

I am working on ETL side. My job is to load the data from Oracle table to flat file and from flat file to oracle table using ETL tool Informatica. My flat files are fixed width....
24,827
Posted By srivsn
Check file size and remove files
Hi,
Here we have a situation where we have to check the file size and if the file size is greater than 0 bytes then remove the files from the directory.
1)EdwTrxn 2)EdwPost 3)EdwTndr ...
3,697
Posted By srivsn
i want to delete a file based on existing file in a directory
hi

i am having four files in a directory.like

1)sampleRej
2)exampleRej
3)samplemain
4)examplemain

my requirement is i have to search for the rejected files (sampleRej,exampleRej) in a...
4,407
Posted By srivsn
delete a special character in file
hi

i want to delete a particular character in file.

example

file name:abcsample

abc=bbbqw3/
hidh=ajjqiwio4/
xyx=hakjp/
........../
......./

i want to delete that special character...
28,557
Posted By srivsn
delete a special character in file
hi

i want to delete a particular character in file.

example

file name:abcsample

abc=bbbqw3/
hidh=ajjqiwio4/
xyx=hakjp/
........../
......./

i want to delete that special character...
5,915
Posted By srivsn
hi i tried with diffrent options i got my...
hi i tried with diffrent options

i got my output

my script is

#!/usr/bin/sh
ftp -v -n "$1" << !!!
user "$2" "$3"
!!!
cd $4
sh scriptname
exit


thank you
5,915
Posted By srivsn
executing a remote location script from local server
hi

i am having two servers one is local and remote(FTP)server.from local server i have to connect to remote server and execute a shell script

i want to run a shell script(remote location) ...
3,569
Posted By srivsn
deleting the empty files
as of our requiremnt some x no of files will be created from a third party tool ,out of them one or two files will be empty i.e size is 0. so i want to remove those files which are empty.
naming of...
2,572
Posted By srivsn
i want to delete a file
hi i am having n number of files say example
file names

1)abc_0
2)abc_1
3)abc_2
4)abc_3
5)abc_4
...
...
...
abc_n

i want delete the abc_max(n) file.i want delete the last file.please...
33,002
Posted By srivsn
delete the last line
i want to delete the last line in file

example:

filename:xyz

1
2
3
4

i want to delete the lastline(4) in the xyz file.please give the command for delete the last line in a file

...
4,444
Posted By srivsn
Deleting the emty rows in a file
I am getting some spaces between the two lines(rows) in file.i want delete that empty rows in the file

example

1 abc xyz


2 def jkl

...
12,205
Posted By srivsn
Check the valid file paths in the remote location (FTP)
hi

Thanks for your advise. I want move the files in to remote location(FTP) having a particular filepath. i want check the filepath in the remote location(FTP) is valid. if the path is invalid i...
12,205
Posted By srivsn
Checking the valid paths in the shell script
Hi i am using a shell script for renaming the files and placing in the remote location(FTP) my code is:
cd $1
day=$(date +%d)
for i in `ls -1 BBW*`
do
last=`tail -1 $i`
pat=`expr "$last" :...
176,549
Posted By srivsn
Removing special characters in file
I have file special.txt with the following data.
<header info>
123$ty5%98&0asd
1@356fgbv78
09*&^5jkns43(
...........some more rows.

In my output file, I want to eliminate all the special...
2,799
Posted By srivsn
Column names in flat files
Hi all,

I want to create column names in a flat file and then load the data through some other application. For example, I have a file with emp.txt and I need column names as eno,ename,sal in the...
2,629
Posted By srivsn
Deleting a file
hi my specification is
1)i am reading file in folder and i am renaming that file by reading last line of the file
2)whire renaming the file i am concating new file name with todays date
3)after...
2,629
Posted By srivsn
Deleting the file in a folder
hi everyone

I am having some n number of files in folder I want delete a file which name has todays date example my file name is 14(todaysdate) when i want transfer files i want to delete...
2,590
Posted By srivsn
Checking the last line and deleting
Hi everyone,

I have a file. I have to search whether the last line is empty(blank line) or not. if it is a blank line, I have to delete it. I dont want to move it to a temp file and again to...
4,137
Posted By srivsn
#!/usr/bin/sh ftp -v -n "10.42.56.125" << cmd ...
#!/usr/bin/sh
ftp -v -n "10.42.56.125" << cmd
user "user" "Pass"
cd /bin/dollar
mget *.txt
quit
cmd

When I use your code Roam, It is not connected to FTP. Thats why I have tried with another...
Showing results 1 to 25 of 32

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