10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
im trying to make csv file from a text file that it is the output of pssh command
(multiple ssh )
now if i run the command date on all of our servers:
i get this output :
14:02:46 192.168.25.230:22
Thu Jul 6 14:02:46 EEST 2017
192.168.70.230: Thu Jul 6 12:02:46 BST 2017
... (1 Reply)
Discussion started by: batchenr
1 Replies
2. Shell Programming and Scripting
Hello,
I'm a beginner in shell scripting. I would really appreciate some help from the forum.
I want to write a small script that will look in apache error log. If it finds the appropriate word. It would execute some commands.
In my case the apache error log is situated in:... (2 Replies)
Discussion started by: ajaysingh99
2 Replies
3. UNIX for Dummies Questions & Answers
Hi Everyone,
It's a little difficult to explain what exactly I am looking for.
When I open a file in vi, and then close it, I get back the prompt, but I can still see the file on top. I don't want that. I want to be able to see all the previous commands which I have typed.
For example: I... (4 Replies)
Discussion started by: the_learner
4 Replies
4. Shell Programming and Scripting
hi .. am new to bash script..
#!/bin/bash
logfile = "${HOME}/log/test.log"
./1.sh
echo " script over "
can anyone telme hw to set the logfile ?? the above code calls the 1.sh and echo statement gets printed in cmd prompt, but i could not see the log file . (8 Replies)
Discussion started by: Rahul619
8 Replies
5. Shell Programming and Scripting
Hello.
This is my situation.
script .anything
ls -l .
---How can I see the content of .anything using (i.e) cat .anything?
If not possible can someone suggest a sequence to simulate a console-recorder
to "observ" from a RUNNING script session?
Thanks
Paolo
Please use code tags... (3 Replies)
Discussion started by: paolfili
3 Replies
6. Shell Programming and Scripting
Hello All,
I am working on a script where I need to fetch the value from a log file and log file creates with different name but few thing are common
DEV_INFOMGT161_MULTI_PTC_BLD01.Stage_All_to_stp2perf1.042312114644.log
STP_12_02_01_00_RC01.Stage_stp-domain_to_stp2perf2.042312041739.log
... (2 Replies)
Discussion started by: anuragpgtgerman
2 Replies
7. Programming
How I can get the current make-file name in a make-file
So, if I run make with specified file:make -f target.mak
is it possible to have the 'target' inside of the that 'target.mak' from the file name? (2 Replies)
Discussion started by: alex_5161
2 Replies
8. Shell Programming and Scripting
Dear All,
Please apology to me if this question already posted, because I try to find it but not found.
I have make bash script to automatically download data from ftp and this running very well. and after the data downloaded it will automatically extract the data and keep in the specific... (2 Replies)
Discussion started by: chenboly
2 Replies
9. UNIX for Dummies Questions & Answers
Hi all,
I am trying to write a script for an application server log file where i want to put this script as a cron tab entry and it will check the server log file last 1000/500 line for every fifteen minute.
i am using the script like this.
count=`tail -n 1000 Trace.log | grep -c... (1 Reply)
Discussion started by: senthilkumar_ak
1 Replies
10. Programming
The problem is that the original program was compiled using v5.0 MQ client but now we are using MQ client v5.3. Had modified the "make file" options as follows but still i could see the errors.
#CLIENT_V5_LIBS = -limqb23ss -limqc23ss -lmqic -lmqmcs -lnsl -ldl
CLIENT_V5.3_LIBS =... (1 Reply)
Discussion started by: hram
1 Replies