In my shell script I am doing FTP along with other process. But all the statements after the "quit" command in FTP are not getting executed.
Example:
echo "This is a shell script to FTP a file"
#ftp -inv <server name> <<eol>> <logfilename>
#user <userid> <password>
#put <filename>
#quit... (2 Replies)
Hi everyone!
I need some help with my shell script :(
I am sending a shell command from a html text input to a cgi. Then, I store it into a variable. For example
var="ps -axu"
echo `$var`
This functions properly. But consider the following...
var="ps -axu | grep root"
Now, I want... (2 Replies)
hi All,
i have 3 files
file1
file2
file3
these 3 files are shell (KSH) scripts. i want to place all these 3 shell scripts in another file file99 and execute these files simultaneoulsy
inside the file99 these 3 files should be present and executed simultaneously when i excute file99 (nohup... (1 Reply)
Hi All,
I have scheduled a script in cron which writes output to the below file.
....>> /data/Target/wrapper_invoke_ds_job_`date '+%Y%m%d'`.ksh_out 2>&1
But the date command is not getting resolved in the format specified. It just resolves to the following.
wrapper_invoke_MQ_ds_job_Tue... (3 Replies)
hi,
i have folder backup and it contains 3 sub-directories , i want to compare
/backup/1 with /recover/1 and /backup/2 with /recover/2 etc .
parallelly with using shell scripting .
pls help me
thanks (2 Replies)
Hello experts
I want to execute a awk command, which reads from txt files and sums the numbers from the first column for those listed only inside a <init> block -- The awk command is like
awk '/<\/?init>/{x = !x}x{a++}x && a > 2{sum+=$1}END{printf"%E" "\n", sum}
So, I want to execute... (2 Replies)
I would like to execute a commands in four different servers through ssh at a single instance(simultaneously).
Below are the details with examples,
ssh user1@server1 "grep xxxx logs"
ssh user1@server2 "grep xxxx logs"
ssh user1@server3 "grep xxxx logs"
Each statement will take some... (4 Replies)
Hi ,
I have 4 scripts example script1,script2,script3,script4 .
I have to run script1,script2 and script3 parallely since this 3 scripts dont have dependencies .
Once script1,script2 and script3 got completed successfully , I have to trigger script4.
Can someone help me on this how to... (10 Replies)
how do I do a double forloop or any other loops like this
reads txt file a
read first line
read txt file b
read first line
then run command
lun map $line1_from_txtA $line1_from_txtB
exit (14 Replies)
I want to run commands inside a bash script.
An example is
I want to pass the command in a string as regexp as an argument to the script, then run sed on the bash variable
sed.sh regexp
sed.sh "-i \"s/<p>//g\""
then call
sed "$regexp" $fl (3 Replies)
Discussion started by: Kangol
3 Replies
LEARN ABOUT FREEBSD
slapd-ldif
SLAPD-LDIF(5) File Formats Manual SLAPD-LDIF(5)NAME
slapd-ldif - LDIF backend to slapd
SYNOPSIS
/etc/ldap/slapd.conf
DESCRIPTION
The LDIF backend to slapd(8) is a basic storage backend that stores entries in text files in LDIF format, and exploits the filesystem to
create the tree structure of the database. It is intended as a cheap, low performance easy to use backend, and it is exploited by higher-
level internal structures to provide a permanent storage.
CONFIGURATION
These slapd.conf options apply to the LDIF backend database. That is, they must follow a "database ldif" line and come before any subse-
quent "backend" or "database" lines. Other database options are described in the slapd.conf(5) manual page.
directory <dir>
Specify the directory where the database tree starts. The directory must exist and grant appropriate permissions (rwx) to the iden-
tity slapd is running with.
ACCESS CONTROL
The LDIF backend does not honor any of the access control semantics described in slapd.access(5). Only read (=r) access to the entry
pseudo-attribute and to the other attribute values of the entries returned by the search operation is honored, which is performed by the
frontend.
FILES
/etc/ldap/slapd.conf
default slapd configuration file
SEE ALSO slapd.conf(5), slapd-config(5), slapd(8), ldif(5).
AUTHOR
Eric Stokes
OpenLDAP 2012/04/23 SLAPD-LDIF(5)