Search Results

Search: Posts Made By: dharmesht
7,754
Posted By dharmesht
daemon
Hi ,
By making a script a daemon ,if u mean that u want to run it as a backgroung process the u can run it as :

scriptname &

and if u want the script should run even after the unix session...
4,384
Posted By dharmesht
want to read txt fileline by line
Hi ,
i want to read a text file line by line , is there any unix command or utility for this ? please tell me how to use it also ?
Forum: Programming 05-13-2004
2,566
Posted By dharmesht
problem deleting date-time stamped file in a directory
I have a number of files of the format filename.xfr_mmddyy_%H%M%S which i get in a specified directory daily. Now i want to search in the specified directory & delete the files which are more than 2...
Forum: Programming 03-23-2004
2,689
Posted By dharmesht
To delete a file at some other unix server
I need to delete a file located at some other Unix server. Can it be done in a Shell script where I pass it the login and password and it should not prompt me for the same?

and it should not...
41,734
Posted By dharmesht
how to use SCP (secure copy) in UNIX
i have to transfer a file from one server to another. say, my script is running on server 'A' and one file has to be transferred from server 'A' to server 'B' using SCP. i am using it as:
...
56,940
Posted By dharmesht
hi , the commands sort +1 +3 +4 +7 +9...
hi ,
the commands
sort +1 +3 +4 +7 +9 file_to_be_sorted
and
sort +0 -1 +2 -3 +4 -5 +6 -7 +8 -9 filename
sort on the forst field only
21,932
Posted By dharmesht
hi david, thats perfect ...... i tried it...
hi david,

thats perfect ...... i tried it is fine
thank u so much.
21,932
Posted By dharmesht
hi jaya, My unix is solaris 5.8 , it...
hi jaya,
My unix is solaris 5.8 , it doesnt support " flip " caoomand i guess . But its fine when i trasfer the file in
"ASCII" mode i get the file w/o cntrl+M characters ...
So the...
21,932
Posted By dharmesht
hi, in the Vi editor it still shows me...
hi,
in the Vi editor it still shows me the cntrl+M characters for the end- line ,
after using the dos2unix command ....
Is there any command by which the cntrl+M in vi editor can be...
21,932
Posted By dharmesht
windows file to unix :end line chararcter
hi ,

When i ftp a text file from Windows to unix enviornment and open the file in " vi editor" the end line charcrter of the windows file is seen as "cntrl+M" charcter in the Unix...
3,995
Posted By dharmesht
yeah , the oracle error is resolved.........
yeah ,
the oracle error is resolved.........
56,940
Posted By dharmesht
Sorting based on Multiple columns
Hi,

I have a requirement whereby I have to sort a flat file based on Multiple Columns (similar to ORDER BY Clause of Oracle). I am getting 10 columns in the flat file and I want the file to be...
3,995
Posted By dharmesht
Sorting based on Multiple columns
Hi,

I have a requirement whereby I have to sort a flat file based on Multiple Columns (similar to ORDER BY Clause of Oracle). I am getting 10 columns in the flat file and I want the file to be...
3,995
Posted By dharmesht
Error while trying to fire a PL/SQL thro Unix Script
hi ,

I tried running a PL/SQL script through unix shell script.
But am getting the following error.
"Message file sp1<lang>.msb not found
Error 6 initializing SQL*Plus "

Kindly suggest....
4,256
Posted By dharmesht
hi google thatsfine i tried with closing...
hi google
thatsfine
i tried with closing tag
itzz fine working

Cheeers
4,256
Posted By dharmesht
Executing statements after quit in FTP.
In my shell script I am doing FTP along with other process. But all the statements after the "quit" command in FTP are not getting executed.

Example:
echo "This is a shell script to FTP a file"...
2,862
Posted By dharmesht
thanks tikual, it is fine !!! ...
thanks tikual,
it is fine !!!
i just wanted to tell what the real problem was ????
sorry if framed my sentences in the earlier reply incorrectly ,
i am not a...
2,862
Posted By dharmesht
hi ygor, according to ur solution ...
hi ygor,

according to ur solution
the " head -1 a.lst " command willl give me the first
line of a.lst which will be a.dat
hwere as my problem is that i want to display...
2,862
Posted By dharmesht
looping files
Hi,
I have a file a.lst which lists all files.
as
a.dat
b.dat
c.dat

I want to process these files mentioned in the list file in a loop.
Say I want to display only the first line of all the...
6,044
Posted By dharmesht
hi ygor, my unix OS is Sun Solaris 5.8...
hi ygor,
my unix OS is Sun Solaris 5.8 and it does not support command gsub .
H awk cant be used i guess
neways
thanx a lot
6,044
Posted By dharmesht
hi tine, i have tried it w/o -e option also...
hi tine,
i have tried it w/o -e option also but it doesnt work ..

thanx
6,044
Posted By dharmesht
sed command problem
hi

I am using "sed" command to find and replace a text in a file.
if the searched string is in the last line with no newline character in the end, it doesn't retrive this line. What is the...
Showing results 1 to 22 of 22

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