Search Results

Search: Posts Made By: dineshr85
22,576
Posted By dineshr85
it gives an error
stty: : No such device or address
22,576
Posted By dineshr85
remove the first line of all files
I want to remove the first line of all files in a directory with .dat extension. Can any one help me on this with a small script. I want the file names to remain same .
62,071
Posted By dineshr85
i dont know the file name
i dont know the file name - there will be files named like name 2 , name 34 , name 43564, name 355 so lets say i want to rename the files that start with name can i do it ... or is there any other...
62,071
Posted By dineshr85
rename files in remote server via ftp
Hi All,

I want to rename set of files in the remote server which iam unable to do . i can rename only one file
at a time . for example
ftp $REMOTESERVER
{
rename $NAME1 $NAME2
} is...
27,986
Posted By dineshr85
thanx
But i want to use the value of a variable ,when i give $variable its inserting $variable not the value of variable

iam using this snippet-
nawk '{sub(/[^|]*$/,"&|$date")}1' catalog_details.dat
27,986
Posted By dineshr85
i want to append
i want to append
27,986
Posted By dineshr85
insert a variable in the last column of a file
i want to insert a variable in the last column of a file, the columns are separated by "|". I want to insert the variable in everyline of the file .
7,567
Posted By dineshr85
store the first line of a file in a variable
i have to store the files in a folder and assign a variable to the the files.
2,113
Posted By dineshr85
one of the requirement is to find the size of the files in the remote machine
Hi,

one of the requirement is to find the size of the files in the remote machine that got transferred .
2,113
Posted By dineshr85
size of a file that iam ftp ing
Hi,

I want to compare the size of the files in my local machine before ftp ing it and the size of the file in the remote machine i.e after ftping . SO that the ftp is successful .
4,480
Posted By dineshr85
unix command inside oracle
i connect to oracle in shell script and i execute a procedure .
i want to find the exit status of the execution command inside oracle .is there anyway i can use $? or any other command is there .
4,012
Posted By dineshr85
ftp error messages!
Please see the below script-

ftp $FTPREMOTESERVER
prompt
mput $DATAPATH/*.dat
quit | ftp -in > FTPRETURNMSGLOGFILE # iam trying write the eroor messages inside a file when the ftp quits.
...
9,430
Posted By dineshr85
depending on the exit status
depending on the exit status of the function i should create a control file. can someone help me with an example script
9,430
Posted By dineshr85
an Example
Can u please give me an example
9,430
Posted By dineshr85
i want to call a oracle function in my shell script
i want to call a oracle function in my shell script
6,764
Posted By dineshr85
unexpected end of file
This is the script

path=/oracle/ora10gdb/sample
archive=/oracle/ora10gdb/archive

cd $path
for i in `ls`;do
mv $i $archive
Done


Please tell me why it...
1,760
Posted By dineshr85
can u please explain the if condition that u guys...
can u please explain the if condition that u guys have written
1,760
Posted By dineshr85
cannot get the logic
there is a folder with files having two extensions . eg: A.dat and A.cv ,B.dat & B.cv etc . i want to delete files like X.cv , Y.cv because X.dat and Y.dat is not there . tell me a script for this .
1
Ftp
1,591
Posted By dineshr85
Ftp
FTP_path=""

cd $FTP_path
Source_path=""
Ftp -ni ${hostname}<<!
destusername="XXX"
destpass="XXX"
user ${destusername} ${destpass}
cd $Source_path
for i in `ls -ltr <filename>*.dat`;do
put...
1
3,258
Posted By dineshr85
grep
* grep -q -f :

what r the options q , f for

* ftp>>!

what does ! mean
1,928
Posted By dineshr85
cd - go to the directory
can anybody give a shell script if i want to go to the directory of another user
3,716
Posted By dineshr85
ftp a files from a folder
Hi

Can anyone give me a shell script to ftp all the files in a folder to a another machine .And if the ftp is sucees i want to move the files to the same to another folder in the same client m/c
6,482
Posted By dineshr85
moving a file to a new folder and automated ftp
how to move a file to a different folder after an automated FTP .
Showing results 1 to 23 of 23

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