Search Results

Search: Posts Made By: Rajat
9,697
Posted By Rajat
Probably 2 years too late for this reply ... ...
Probably 2 years too late for this reply ...
but here it goes for some future ref for someone like us :)
one thing i noticed about ur crontab is u are putting 00m at the beginning of the lime...
1,918
Posted By Rajat
i guess i also found out a sloution from...
i guess i also found out a sloution from somewhere, although i'm still to come to terms with this sed command (just one of those things you know :( ) ...
sed -e 's/<ABC>//' -e 's/<\/ABC>//' filename...
1,918
Posted By Rajat
Substring problem
I have a file which comes with a few tags and some contents inside them.
eg:
<ABC>Hello Unix.com</ABC>
<XYZ>WWSHF</XYZ>
Now I want to pick out the contents in between the tags <ABC> and </ABC>....
6,121
Posted By Rajat
Problem with nohup command
Hello folks,
I have got a script which telnets to different boxes and runs a certain script with 3 run time args.
The line from the script which does it is:
(sleep 1; echo $USERID ; sleep 1; echo...
Forum: Solaris 09-10-2008
19,212
Posted By Rajat
SMTP Configuration
Hello everyone,
I've got this Java script which needs to know the SMTP host in order to send out mails from a particular mail ID. But I have no idea how or what to configure in SMTP for getting this...
5,345
Posted By Rajat
Is this because of the sleep time that is there?...
Is this because of the sleep time that is there? Does ps -ef list the processes that are sleeping because the manual says that it lists all the 'active' processes.
5,345
Posted By Rajat
Ok guys here is the latest update !!! i'm...
Ok guys here is the latest update !!!
i'm running the script like this:
./Data_Downloader.sh &
i am doing ps -ef | grep Data_Downloader.sh | grep -v grep
but as usual with no luck at all!!!
I...
5,345
Posted By Rajat
Hello redoubtable (nice nick by the way), the...
Hello redoubtable (nice nick by the way),
the script runs for 30secs ... and I am running the script within this time itself. So not sure what the problem is.
5,345
Posted By Rajat
Get pid
Hello people,
This question might seem to be a little naive but here it goes:
I want to know the PID of a script that is running in the background.
eg: There is a script called Data_Downloader.sh...
5,826
Posted By Rajat
Thanks a lot Zaxxon ... that post really helped...
Thanks a lot Zaxxon ... that post really helped me a lot ... however if the file is a huge file then it is taking a lot of time to get executed.
I'll tell you exactly what I am tryin to do:
I need...
5,826
Posted By Rajat
i guess it's just working with just one...
i guess it's just working with just one particular file for some weird reason ... any suggestions people?
5,826
Posted By Rajat
Thanks a lot Zaxxon :)... it is running fine when...
Thanks a lot Zaxxon :)... it is running fine when I am hard coding the file name but if I am putting the file name like:
sed 's/.*<TAG1>\([^>]*\)<\/TAG1>.*/\1/g' $fileName it is returning the entire...
5,826
Posted By Rajat
I am sorry Zaxxon but wont this be just replacing...
I am sorry Zaxxon but wont this be just replacing the stuff? Please forgive my incompetence with sed. Is there any subString sort of functionality in UNIX?
5,826
Posted By Rajat
grep and cut problem
Hello folks,
I have to (e)grep out a certain pattern e.g. <TAG1> from a huge log file which does not have any space as such.
The thing is that once I have 'grep'ed out the <TAG1> from the file I...
17,367
Posted By Rajat
XFB file transfer
Hello everyone,
Has anyone used XFB file transfer ... I have no idea of its working. Also if any of you could provide me with a link for its tutorials or its details that would be awesome.
Thanks a...
3,226
Posted By Rajat
telnet and run scripts
Hello folks,
I've got this script which connects to different boxes and executes a certain script in those locations. The following is the line from where i am trying to do this:
(sleep 1; echo...
10,725
Posted By Rajat
please forgive me but i am a bit of a numb skull...
please forgive me but i am a bit of a numb skull ... if i am doing a find with an absolutely correct filename (just filename with no wild character involved) ... so i'll get the exact file i suppose...
2,142
Posted By Rajat
Hello Zaxxon, I am afraid that ssh is not an...
Hello Zaxxon,
I am afraid that ssh is not an option here. I need to do it with telnet. Life is tough!!!
Thanks.
2,142
Posted By Rajat
telnet problem
Hello everyone,
I have got this following script to telnet to other UNIX boxes from one UNIX box and then run a script to count a certain paramater. The following line connects to the other box(es):...
1,831
Posted By Rajat
Hello Ali, You can try the following: (echo...
Hello Ali,
You can try the following:
(echo <user id>; sleep 1; echo <password>)| telnet $SERVER
Although I didnt exactly understand the purpose of the <n2.txt part.
Thanks.
1,504
Posted By Rajat
cd command in a script
Hello everyone,
I have written just 2 lines in a script:
cd ./Datafiles
echo `pwd`
So the o/p of this command is /home/Datafiles.
However if I type pwd again in the command prompt it shows...
10,725
Posted By Rajat
Yep ... when I give it like ./file.txt it works...
Yep ... when I give it like ./file.txt it works fine. But when I give just file.txt I am getting the egrep : cannot read file file.txt. However it brings me some data alright. But obviously this is...
10,725
Posted By Rajat
egrep: can't open file error
Hello folks,
I have got the following line in my script:
searchstring=".*_1234</MessageTag>"
count=`find /home/mydir/* -name "$1" | xargs egrep -hc -e $searchstring "$1" | awk '{sum+=$1};END{print...
9,533
Posted By Rajat
find -mtime query
Hello everyone,
I have got two queries:
1) I want to do some work on files that were last modified yesterday.
Will find ... -mtime -2 be correct or -mtime-1?
2)What about finding files that were...
2,898
Posted By Rajat
Thanks a lot man!!!
Thanks a lot man!!!
Showing results 1 to 25 of 30

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