07-20-2018
Saw the original subject and thought it was a Monty Python skit.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
We are running a quiz and the data collected from the quiz is submitted to the database. My requirement is to write a shell script to get these submitted records.
I should be able to run this shell script at any time and the records it returns should be the ones submitted after the script was... (5 Replies)
Discussion started by: sehgalniraj
5 Replies
2. UNIX for Dummies Questions & Answers
I want to add one line to the end of my crontab using a script.
I have tried piping in the editor commands, but I can't get it to work.
crontab -e user << EX
$a
This is the text I want to add.
.
wq
EX
This doesn't work. Is there an easier way to do this? (2 Replies)
Discussion started by: johnmsucpe
2 Replies
3. Shell Programming and Scripting
Hi
I have this code, and i want work with a ls -shalR output in .txt
What i need read to do this??
Where start?
#!/usr/bin/perl
# Allrights- A perl tool for making backups of file permissions
# Copyright (C) 2005 Norbert Klein <norbert@acodedb.com>
# This program is free... (1 Reply)
Discussion started by: joangopan
1 Replies
4. Shell Programming and Scripting
Hi,
I have a script which connect to ATM's and pull two files from the ATM.
The which i try to pull is like
PIC20085200001*.JPG
First 7 digit consist of year montn and date as well
After todays execution i want to change the date to next date
I add few lines in the script but it is not... (6 Replies)
Discussion started by: Renjesh
6 Replies
5. Solaris
The script get a csv file with 2 colls for example:
123456,UNIX
963852,Microsoft
the script supose to put the number in the Description of the user in this case UNIX or Microsoft
the error i get is
does not exist.OR: UNIX
does not exist.OR: Microsoft
but the users exist so i do not... (7 Replies)
Discussion started by: shatztal
7 Replies
6. Shell Programming and Scripting
hello forum members,
I have a script which is used find the Uname and passwords and redirects into a output.txt file.I hardcoded a string "ciadev" but iwant search two more strings also "absdev" and "absprod" So modify this script please.
I am lookinmg forward from you,
please find the below... (2 Replies)
Discussion started by: rajkumar_g
2 Replies
7. Shell Programming and Scripting
We have a business need to modify the /etc/passwd file every time a new user gets added, because the user ID begins with a zero. When you create the new user in smit, even if you put the leading zero in, it does not retain it when the entry is added.
That being said, I need to create a script... (11 Replies)
Discussion started by: mshilling
11 Replies
8. Shell Programming and Scripting
please help me to modify my script
#! /bin/bash
while read line
do
echo "$line" >>/tmp/result && mysql -ss -e "use $line; select count(*) from users where type='admin' and deleted = 0;" > /tmp/result;
done < /tmp/db_data
cat result
alan_hardwsdefs
2
bgrmods
2
claudiatdsefs
1... (2 Replies)
Discussion started by: unimaxlin
2 Replies
9. Shell Programming and Scripting
I'm trying to take out strings from log files and add them to a csv.
For example, in the directory now, there are 2 log files. I get the following results:
sed -e '/custodian/b' -e '/packaged by/b' -e '/package name/b' -e '/Total Data (MB) Read/b' -e '/Begin Time/b' -e d *
packaged by =... (10 Replies)
Discussion started by: chipperuga
10 Replies
10. Windows & DOS: Issues & Discussions
Hi all,
I am trying to run below python code for connecting remote windows machine from unix to run an python file exist on that remote windows machine..
Below is the code I am trying:
#!/usr/bin/env python
import wmi
c = wmi.WMI("xxxxx", user="xxxx", password="xxxxxxx")... (1 Reply)
Discussion started by: onenessboy
1 Replies
LEARN ABOUT DEBIAN
go::model::relationship
GO::Model::Relationship(3pm) User Contributed Perl Documentation GO::Model::Relationship(3pm)
NAME
GO::Model::Relationship - relationship between two terms
SYNOPSIS
DESCRIPTION
a relationship between two GO::Model::Terms
relationships can be thought of as statements or sentences of the form
SUBJECT-TERM PREDICATE OBJECT-TERM
for example,
"dog" IS_A "animal"
"G-Protein coupled receptor" IS_A "transmembrane receptor"
Statements have a subject (i.e. the subject of the sentence/statement), a predicate/relationship-type and an object (i.e. the object of the
sentence/statement)
Relationships can also be seen as arcs in a directed graph, with the subject being equivalent to the child, and the object equivalent to
the parent. The arc is labeled with the predicate/relationship-type.
A Relationship object currently does not contain an actual pointer to a GO::Model::Term object. Instead it stores the ID of that term. This
is intended to be used in conjunction with the Graph object, or with the database.
subject_acc
Title : subject_acc
Usage : $obj->subject_acc($newid)
Usage : $currid = $obj->subject_acc()
Synonyms: subj_acc, acc2, child_acc
Function: gets or sets the identifier for the child/subject term
Example :
Returns : value of subject_acc (string)
Args : on set, new value (string)
All Relationships can be thought of "subject-predicate-object" statements. The statement is *about* the subject, and states something about
the relationship *to* the object.
For example, the if we have a Relationship:
cell
^
|
| [part_of]
|
cell nucleus
This is a statement about cell nuclei in general, so "cell nucleus" is the subject (sometimes called the child node). The Relationship
tells us that all cell nuclei are part_of some cell, so the object of the relationship (sometimes called the parent node) is "cell"
object_acc
Title : object_acc
Usage : $obj->object_acc($newid)
Usage : $currid = $obj->object_acc()
Synonyms: obj_acc, acc1, parent_acc
Function: gets or sets the identifier for the parent/object term
Example :
Returns : value of object_acc (string)
Args : on set, new value (string)
See Also: subj_acc
type
Title : type
Usage : $obj->type($newval)
Usage : $currval = $obj->type()
Synonyms:
Function: gets or sets the relationship type (a string)
Example :
Returns : value of type (string)
Args : on set, new value (string)
Currently any string is allowed; in future the type string may be constrained to come from a controlled vocabulary of relationship types
perl v5.14.2 2013-02-07 GO::Model::Relationship(3pm)