10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Input file will be
Name: serve1
has disk :Yes
dev (8):
Name: serve2
has disk :No
dev (8):
Name: serve3
has disk :No
Name: serve4
has disk :Yes
dev (8):
Need output like that. I was using pate -d, - - - . But that need all the line in same format in this some server it has... (4 Replies)
Discussion started by: ranjancom2000
4 Replies
2. Shell Programming and Scripting
I have created one file that contains all the necessary info in it to create a download link. In each of the lines /results/analysis/output/Home/Auto_user_S5-00580-6-Medexome_67_032/plugin_out/FileExporter_out.67... (8 Replies)
Discussion started by: cmccabe
8 Replies
3. Shell Programming and Scripting
Hi,
I need to develop a bash script to create customized report from the server log (red hat 5.8 64 bit Operating system). The following is one of the log for our internal application task.
<2015.03.03 20:09:52 274 +0800><I><DSCTH01><http-0.0.0.0-443-2><security> GUI request succeeded for... (1 Reply)
Discussion started by: pugazhendhi_r
1 Replies
4. Shell Programming and Scripting
Hi!
I m newbie for scripting. My requirement is to create a host file as below from the output of aws api.
Hostname PrivateIP abc x.y.x.z
cde a.b.c.c
and so on.
I have the following script,
#!/bin/bash
export AWS_ACCESS_KEY=abc
export... (5 Replies)
Discussion started by: cuteboyucsc
5 Replies
5. Shell Programming and Scripting
currently I have process from a raw file to this stage
ALTER TABLE "EXCEL_ADMIN"."TC_TXN_VOID" ADD CONSTRAINT "PK_TC_TXN_VOID" PRIMARY KEY ("TC_TXN_IID")
ALTER TABLE "EXCEL_ADMIN"."TC_TXN_AMT" ADD CONSTRAINT "PK_TC_TXN_AMT" PRIMARY KEY ("TC_TXN_AMT_IID")
ALTER TABLE... (10 Replies)
Discussion started by: jediwannabe
10 Replies
6. UNIX for Dummies Questions & Answers
Hello.
I want to get all modules which are loaded and which name are exactly 2 characters long and not more than 2 characters and begin with "nv"
lsmod | (e)grep '^nv????????????
I want to get all modules which are loaded and which name begin with "nv" and are 2 to 7 characters long
... (1 Reply)
Discussion started by: jcdole
1 Replies
7. Programming
I'm trying to create a script with the ff array
array 1 - foo@fee.com,fee@fee.com,fyii@fee.com (1 line)
array 2 - paul
what I want is to have the ff output in a text file
foo@fee.com: paul
fee@fee.com: paul
fyii@fee.com: paul
Could this be done on a bash script?
I'm trying this... (1 Reply)
Discussion started by: packets
1 Replies
8. Shell Programming and Scripting
What i'm trying to do is to use grep to search through a few files for a selected daemon and only report on today's date.
I think I got it sorted apart from in the txt file the date has 2 gaps between the month and the day, and the way I have the date format only puts in one gap any help to get... (3 Replies)
Discussion started by: MBN
3 Replies
9. Shell Programming and Scripting
hi
suppose I want to create a report where it will shows the machine name, the date & time when the report is produced.
can anyone please help me to write such shell script?
requesting all.
Thanks (10 Replies)
Discussion started by: moco
10 Replies
10. Shell Programming and Scripting
Hi,
I am trying to create a report using the following syntax:
#!/bin/awk -f
#script name: users_report
BEGIN { FS=":" ; OFS="\t" ; print "User\tGID\tUser Name\tHome Dir\t"
{ print $1 , $3 , $5 , $6 }
END { print "\n End of Report \n" }
$> user_report /etc/passwd
the output of... (5 Replies)
Discussion started by: ghazi
5 Replies