01-15-2010
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I came across a script a few months ago that allowed you to use the following script to include the current time into your prompt (useful from auditting purposes):
# Set Prompt
typeset -RZ2 _x1 _x2 _x3
let SECONDS=$(date '+3600*%H+60*%M+%S')... (5 Replies)
Discussion started by: m223464
5 Replies
2. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
3. Shell Programming and Scripting
Hello,
I need assistance with creating a shell script to generate SSL Certificate Requests on remote hosts. Below is my stab at this, but I cannot figure out how to pass the requested arguments into the openssl command correctly. I have a major problem with redirecting the "answers" into the... (2 Replies)
Discussion started by: azvelocat
2 Replies
4. UNIX for Dummies Questions & Answers
I had a site that sold stock photography and some guys I know set up a shopping cart and gallery system for it. One thing they did was give me an admin page (mysite.net/admin) where I could upload new images and change prices and all that. For that admin page they set a password popup prompt.
I... (4 Replies)
Discussion started by: lex0062
4 Replies
5. Shell Programming and Scripting
I have these two files in current dir:
oos.txt
oos_(copy).txt
I execute this find command:find . -regex './oos*.txt'And this outputs only the first file (oos.txt)! :confused:
Only if I add another asterisk to the find find . -regex './oos*.*txt' do I also get the second file... (7 Replies)
Discussion started by: courteous
7 Replies
6. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
7. Shell Programming and Scripting
This really puzzles me. The following code gives me the error 'expr: syntax error' when I try to do multi-line comment using here document
<<EOF
echo "Sum is: `expr $1 + $2`"
EOF
Even if I explicitly comment out the line containing the expr using "#", the error message would still exist... (3 Replies)
Discussion started by: royalibrahim
3 Replies
8. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
9. Shell Programming and Scripting
Hi there,
I'm running into a very weird situation. Let's forget about the purpose of my initial script please. I noticed the bug whatever I'm trying to do.
I'm on an old server running bash 3.1.17.
Say we have the following script :
foo:~# cat /tmp/test
#!/bin/bash
f1() {
local... (9 Replies)
Discussion started by: chebarbudo
9 Replies
10. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT OSX
directoryservice
dspluginhelperd(8) BSD System Manager's Manual dspluginhelperd(8)
NAME
dspluginhelperd -- support daemon for legacy DirectoryService plugins
SYNOPSIS
dspluginhelperd [-v]
DESCRIPTION
DirectoryService has been replaced by opendirectoryd(8). dspluginhelperd provides support for 3rd party DirectoryService plugins.
More information can be accessed from the Darwin Open Directory Page: http://developer.apple.com/darwin/projects/opendirectory/
OPTIONS
The options are as follows:
-v Display the release version.
DIAGNOSTICS
See odutil(1) for information on enabling debug logging and various other options introspection of opendirectoryd.
ERRORS
Error codes are available using dserr(1) or from framework headers <DirectoryService/DirServiceTypes.h>. DirectoryService.framework is dep-
recated as of 10.6 and OpenDirectory.framework should be used instead.
OPEN SOURCE
The source code for dspluginhelperd is available as part of Apple's Darwin open source initiative. dspluginhelperd is part of the Directory-
Service project. More information on Darwin may be found on the Web at
http://developer.apple.com/darwin/projects/opendirectory/
DirectoryService API and Plug-in API are documented at
http://developer.apple.com/referencelibrary/Networking/
The headers for the deprecated DirectoryService APIs can also be found in the following location:
/System/Library/Frameworks/DirectoryService.framework/Headers/
FILES
/Library/DirectoryServices/PlugIns location of third party plugins
SEE ALSO
opendirectoryd(8), odutil(1), DirectoryServiceAttributes(7), dscl(1), dsmemberutil(1), dscacheutil(1), dseditgroup(8), dsenableroot(8),
dserr(8), pwpolicy(8)
MacOSX Jun 23, 2010 MacOSX