Search Results

Search: Posts Made By: venu
1,609
Posted By venu
Thanks to everyone for watching this thread. i...
Thanks to everyone for watching this thread. i found a wiki on this website detailing cron and how to troubleshoot.

Problem solved

Thanks
1,609
Posted By venu
Cron not inherting the environment in solaris 2.5.1
Solaris 2.5.1

I have written a shell script that creates a tar file and then ftp's the file to an other box. The shell script perfectly executes when run manually through terminal. But when i...
1,386
Posted By venu
pgrep and pkill are not recognised on this...
pgrep and pkill are not recognised on this machine, i am able to kill the script from terminal manually, but not from script

---------- Post updated at 10:48 AM ---------- Previous update was at...
1,386
Posted By venu
Machine rebooting when shell script is killed
I am trying to kill a shell script by grepping it, but the machine is being shutdown totally when i kill it

Below is the code

kill `ps -ef |grep test.sh| grep -v grep`
stat=$?
if [ $stat -eq...
8,529
Posted By venu
can we compare the value in positions of the...
can we compare the value in positions of the variables. For example break the bits and store in individual variables, and do the same with the second variable which is storing the other 16 bits.
...
8,529
Posted By venu
bitwise and between two 32 bit binaries
Hello All,
i have two 16 bit binaries that in two different variables, i want to perform a bitwise AND between the two and store the result in a different variable.

can anyone throw...
4,966
Posted By venu
Thanks Dan....
Thanks Dan....
4,966
Posted By venu
Is there a way we can do this without sed...
Is there a way we can do this without sed command....
4,966
Posted By venu
for example input file line 1 : - An...
for example
input file

line 1 : - An apple a day keeps a doctor away

line 2 :- Major league football


output file

line 1 :- An,Apple,a,day,keeps,a,doctor,away

line2 :-...
4,966
Posted By venu
embed a separator after each word in a text file
Folks,
can anyone throw a code snippet here to insert a comma " , " after each word in a line when doing a file read and output the delimited text to a file.

Appreciate your help

Venu
1,874
Posted By venu
Thank you Vgersh for the response, but i am...
Thank you Vgersh for the response, but i am looking for something along these lines..

read the first line of a first file and capture in to a variable

then

loop through a do while till...
1,874
Posted By venu
how to read two text files in the same shell script
Folks i have written two scripts that do reading of csv files , i am currently fetching the all part of the line in to variables and braking the line into several variables.

I am doing the same...
8,384
Posted By venu
how to read the second word of a text file
Folks,
how to read the second word of the first line from a text file. Text file does not have any delimiters in the line and has words at random locations. Basically the text file is a log...
93,455
Posted By venu
skip first line when doing a read of csv file
Folks,
how do i skip the first line in a csv, while doing the read of a csv file in to a variable line by line.
eg :

do

echo $line

done < $rpt

where rpt is path to csv file...
3,232
Posted By venu
Script A is launched by Task scheduler on...
Script A is launched by Task scheduler on windows.

Once script A is launched, it will write a 0 in to the args file, and parse the 0 to the script B, script B detects that it received an yes flag...
3,232
Posted By venu
stop the B script when arg is 1
Hello Vishal,
Thanks for you reply , i have one more question that i think you can answer, how to detect if the script B is running and stop the script B immediately in the middle...
3,232
Posted By venu
shell script to trigger an other shell script
Folks,
how to trigger a shell script eg " B " from shell script eg "A" and parse different arguments to the child shell script "B" - like 0 the first time the shell script "B" is triggered...
10,836
Posted By venu
no..its not an assignment.... ----------...
no..its not an assignment....

---------- Post updated at 07:53 PM ---------- Previous update was at 01:42 PM ----------

Folks,
how do i compare the integer , real and float numbers in...
10,836
Posted By venu
I want to write this in korn shell
I want to write this in korn shell
10,836
Posted By venu
Read csv file line by line
Folks ,
i want to read a csv file line by line till the end of file and filter the text in the line and append everything into a variable.

csv file format is :-
...
49,764
Posted By venu
convert shell script into a binary executable
Hello every one, i want to convert my shell script into a binary executable a .exe file , is it possible to do that if so are there any tools . Would the script take off when the arguments are...
16,014
Posted By venu
@chubler.....the text file is replaced with new...
@chubler.....the text file is replaced with new contents every day and i want to check the found word with the 6 type of words i have and if the word is matched with the word , then i want to send it...
16,014
Posted By venu
get the fifth line of a text file into a shell script and trim the line to extract a WORD
FOLKS ,
i have a text file that is generated automatically of an another korn shell script, i want to bring in the fifth line of the text file in to my korn shell script and look for a...
8,734
Posted By venu
got it ... thank you
@Methyl , the syntax was wrong , it took me a while to correct the syntax ,
x1=1
if [ "$test1" = "x1" ]
then start ie
fi

the OS is windows NT and the shell is MKS KORN SHELL, that came with...
8,734
Posted By venu
MKS KORN SHELL WONT EXECUTE from windows command prompt
Can anybody help me with this small script , the script works fine and launches the IE from
c:\documents and settings \test\my documents>ksh prompt
$RunURL1.sh

this scitpt works and launches...
Showing results 1 to 25 of 38

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