12-14-2008
Thank you very much vidyadhar85.
This works.
Thanks and Regards
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am using the following command to extract any log files that are older than 3 days using the following command.
find DIR/LOGDIR -type f -mtime +3 |grep LOG > log_list.out
The results are
DIR/LOGDIR/1.LOG
DIR/LOGDIR/2.LOG
DIR/LOGDIR/3.LOG
DIR/LOGDIR/4.LOG
How do inculde (basename... (4 Replies)
Discussion started by: sam_78_nyc
4 Replies
2. Shell Programming and Scripting
This site has been very helpful thus far.. I thank you all in advance for sharing the knowledge. Let me get to it.
I am trying to write a very small script to take away from the boredom of doing the same thing over and over.
Everynow and again I have to get the hex value of a file using a... (2 Replies)
Discussion started by: BkontheShell718
2 Replies
3. Shell Programming and Scripting
Hi guys. Is it possible (I'm sure it is) to use the output of a simple 'ls' command as input of another command 'tail'.
It is not really the output of the 'ls'. I have to useeach line of the output.
This is the first command...
ls *myFile*021308*
Which it outputs many filenames. For each... (3 Replies)
Discussion started by: rodrimuino
3 Replies
4. Shell Programming and Scripting
Hi guys...
I am new to this scripting...so please forgive me if anything worng in my questions...
here is my question..
I have file structure
/home/oracle/<sid>/logs/bkup
now i want to write a script which should grep the sid name from a file..and it should replace the <SID> with... (1 Reply)
Discussion started by: troubleurheart
1 Replies
5. UNIX for Dummies Questions & Answers
I would appreciate any help.
I need to run 'ps -ef | grep 'process', get the process id and kill that process.
I have got this far:
- Get pid using ps -ef | awk '/process/{ print $2}'
after this I'm kind of stuck..
- Use pipe to redirect the output to kill
pid=ps -ef | awk '/bmserver/{... (2 Replies)
Discussion started by: foxtron
2 Replies
6. Shell Programming and Scripting
Hi All,
How do I provide the output of a command to another command which is waiting for an input from the user ?
Ex : I need to login to a device via telnet. In the script, initially I use the "read" command to get the IP Address, Username and Password of the device from the user. Now,... (1 Reply)
Discussion started by: sushant172
1 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I would like to know if this is possible, and if so what can i do to make this work.
I would like to grep a line X from fileA and then use the output to replace a word Y in fileB.
grep "line X" fileA | sed -e 's/Y/X/g' > outfile
this statement does not work, as i do not know how to... (7 Replies)
Discussion started by: cavanac2
7 Replies
8. Shell Programming and Scripting
I have a file
fileinput.txt:
File home/me/fileA.doc is size 232
File home/you/you/fileB.doc is size 343
File /directory/fileC.doc is size 433
File /directory/filed.doc cannot find file size
I want to use the basename command (or any other command) to output:
File fileA.doc is... (3 Replies)
Discussion started by: linuxkid
3 Replies
9. Shell Programming and Scripting
Hi All,
Hoping you can help as im in desperate need... I'm very new to unix scripting so apoligies,
I have setup an expect script in order to log into a node on our network, This will provide an output as per the below
*********** information:
*************: n/a
TEST IP : n/a
... (18 Replies)
Discussion started by: mutley2202
18 Replies
10. UNIX for Dummies Questions & Answers
Hello nix Experts,
I am a *nix rookie and have run into this issue, can some one help me here and let me know what I am doing wrong.
/home/user1> while read n
> do
> echo $n
> done < <(find . -type f -ctime -1 | grep abc)
I am getting the below error:
-sh: syntax error near... (5 Replies)
Discussion started by: babyPen1985
5 Replies
LEARN ABOUT DEBIAN
perlbal::manual
Perlbal::Manual(3pm) User Contributed Perl Documentation Perlbal::Manual(3pm)
NAME
Perlbal::Manual - Guide and reference manual for Perlbal
VERSION
Perlbal 1.78.
DESCRIPTION
This is the comprehensive guide and reference manual for Perlbal.
Perlbal::Manual::Configuration
How to configure Perlbal: pools, services, syntax and more.
Perlbal::Manual::Contributing
How to contribute to Perlbal.
Perlbal::Manual::Credits
Author and contributor credits for Perlbal.
Perlbal::Manual::Debugging
How Perlbal's Debugging system works.
Perlbal::Manual::FailOver
How Perlbal's Fail Over mechanism works.
Perlbal::Manual::HighPriority
Perlbal's high/low priority queueing system and how to use it.
Perlbal::Manual::Hooks
Existing hooks and how they work.
Perlbal::Manual::Install
Installation procedures for Perlbal.
Perlbal::Manual::Internals
Perlbal's architecture at a glance. Useful for developers.
Perlbal::Manual::LoadBalancer
Setting up a Perlbal Load Balancing service.
Perlbal::Manual::Logging
How Perlbal's Logging system works.
Perlbal::Manual::Management
Setting up a "management" service, connecting to that service and managing Perlbal on-the-fly.
Perlbal::Manual::Plugins
Known plugins and how to create new ones.
Perlbal::Manual::ReverseProxy
Setting up a Perlbal "reverse_proxy" service.
Perlbal::Manual::Roles
Brief description of existing roles.
Perlbal::Manual::Selector
Setting up a Perlbal "selector" service.
Perlbal::Manual::WebServer
Setting up a Perlbal "web_server" service.
AUTHORS
Bruno Martins and JosA~X Castro.
SEE ALSO
Perlbal::FAQ.
There are sample configuration files under conf/, including samples for using and configuring existing plugins.
perl v5.14.2 2011-01-23 Perlbal::Manual(3pm)