05-20-2009
What have you tried so far
Jean-Pierre.
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi -
I'm trying to think of a clever way to write a shell script (trying to stay w/ ksh as that's what I know the best...) that will resolve the following problem:
Problem - On a daily basis I have to email folks who are on-call to remind them. I was hoping to script this out so I could have... (9 Replies)
Discussion started by: littlefrog
9 Replies
2. Shell Programming and Scripting
Hi guys
I have a shell script that executes sql statemets and sends the output to a file.the script takes in parameters executes sql and sends the result to an output file.
#!/bin/sh
echo " $2 $3 $4 $5 $6 $7
isql -w400 -U$2 -S$5 -P$3 << xxx
use $4
go
print"**Changes to the table... (0 Replies)
Discussion started by: magikminox
0 Replies
3. Shell Programming and Scripting
Short Description:
To find the core files from a directory for the previous day and e-mail it across to a particular id.
1) Finding the core files in a directory.
2) The time is divided into eight fields and based on the time the respective field should be updated with the flag 1.
... (1 Reply)
Discussion started by: venkatesht
1 Replies
4. Shell Programming and Scripting
Hello All,
This is my situation and I am new to perl scripting so I am trying to figure out the best way to tackle this problem. I need help in creating the logic to analyze the data.
Problem: I need to access an oracle database, gather information from a specific query and then analyze... (0 Replies)
Discussion started by: jacktravine
0 Replies
5. Homework & Coursework Questions
first off let me introduce myself. My name is Eric and I am new to linux, I am taking an advanced linux administration class and we are tasked with creating a script to add new users that anyone can run, has to check for the existence of a directory. if the directory does not exist then it has... (12 Replies)
Discussion started by: pbhound
12 Replies
6. Programming
Hi
I have a bash script which takes parameters
sh /tmp/gdg.sh -b BASE-NAME -n 1 -s /source/data -p /dest/data/archive -m ARC
gdg.sh will scan the /source/data and will move the contents to /dest/data/archive after passing through some filters. Its working superb from bash
I have... (0 Replies)
Discussion started by: rakeshkumar
0 Replies
7. Shell Programming and Scripting
Hi. I'm having trouble writing a wrapper script for the command line text editor gnu ed.
I want to be able to run the following algorithm on ed:
1. Display, on stdout, a command which I intend to feed into ed (before I actually feed it to ed).
2. Actually feed the command into ed's stdin.... (2 Replies)
Discussion started by: vomv1988
2 Replies
8. Shell Programming and Scripting
Hi All,
I have a script which intends to create as many variables at runtime, as the number of parameters passed to it. The script needs to save these parameter values in the variables created and print them
abc.sh
----------
export Numbr_Parms=$#
export a=1
while
do
export... (3 Replies)
Discussion started by: dev.devil.1983
3 Replies
LEARN ABOUT DEBIAN
dpns-listusrmap
DPNS-LISTUSRMAP(1) DPNS Administrator Commands DPNS-LISTUSRMAP(1)
NAME
dpns-listusrmap - query about a given user or list all existing users in virtual uid table
SYNOPSIS
dpns-listusrmap [ --uid uid ] [ --user username ]
DESCRIPTION
dpns-listusrmap queries about a given user or lists all existing users in virtual uid table.
This function requires ADMIN privilege.
OPTIONS
--uid uid
specifies the Virtual User Id.
--user username
specifies the user name.
EXAMPLES
dpns-listusrmap --uid 5678
5678 /DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=Jean Dupond
dpns-listusrmap --user "/DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=Jean Dupond"
5678 /DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=Jean Dupond
dpns-listusrmap
5678 /DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=Jean Dupond
6789 /DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=Luc Martin
EXIT STATUS
This program returns 0 if the operation was successful or >0 if the operation failed.
SEE ALSO
Castor_limits(4), dpns_getusrbynam(3), dpns_getusrbyuid(3)
DPNS
$Date: 2007/12/13 06:15:14 $ DPNS-LISTUSRMAP(1)