10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I have a very puzzling problem. I have a binary file, it is executable but it says "No such file or directory" when I try to run it :
root@debian:~# ls -l bmcfwul
-rwxr-xr-t 1 root root 762808 Mar 11 2010 bmcfwul
root@debian:~# ./bmcfwul
-su: ./bmcfwul: No such file or directory... (9 Replies)
Discussion started by: chebarbudo
9 Replies
2. UNIX for Dummies Questions & Answers
Hi ,
i am trying to make a symbolic link for an existing directory, but i am facng some problems regarding the usage of command.
If there is no directory i can make a symbolic link, but for an existing directory i am not able to.
can anyone post me the exact usage if we already have the... (1 Reply)
Discussion started by: sahasra
1 Replies
3. Shell Programming and Scripting
what's the command to find the creation date of a certain dirctory? (1 Reply)
Discussion started by: miss_dodi
1 Replies
4. UNIX for Dummies Questions & Answers
Hello, Buddies:
I am a database administrator. we want to split existing 32G filesystem into separate chunks of 8G and map them into separate filesystems ?
For example:
/abc1/appl/oracle to be split into:
/def1/appl/oracle
/ghi7/appl/oracle
/jkl23/appl/oracle ... (2 Replies)
Discussion started by: GreatJerry
2 Replies
5. Shell Programming and Scripting
Hiiii,
here is my script--
BackupLocation="$OPTARG"
if ]; then
echo "Either option l or L should be given to $Programname"
echo "$Usage"
echo "$Programname is terminated"
... (1 Reply)
Discussion started by: namishtiwari
1 Replies
6. Programming
hi all
i have a file with server id's and I need to create a directory corresponding to each server id listed in the text file.
eg:
id directory name
1 node_1
2 ... (6 Replies)
Discussion started by: mridula
6 Replies
7. UNIX for Dummies Questions & Answers
I have a couple thousand data files that all have to have there own directory named exactly the same as the file name. Then the file needs to be moved to that directory. For example files test1.mat, test2.mat, test3.mat in directory X need to have directories test1, test2, test3 created... (6 Replies)
Discussion started by: AeroEngy
6 Replies
8. UNIX for Advanced & Expert Users
Hi Friends,
I am trying to move some files from one directory to another.
but if the destination directory doesnt exist then i have to create one and then move files to that.
For this i have to write a script.
please help.
thanks in advance
Veera (4 Replies)
Discussion started by: sveera
4 Replies
9. UNIX for Advanced & Expert Users
Is there a way to create a directory in some remote location from a local location?
I understand that we can use 'rcp' to copy a local file to a remote location.
I am looking for a command in similar lines which lets us create directories in remote locations.
Could someone help? (5 Replies)
Discussion started by: srinivay
5 Replies
10. Filesystems, Disks and Memory
What are the Steps involved in Creating Filesystem on Unix Box. Sun solaris 5.8 installed on this box (1 Reply)
Discussion started by: abdulmunaf
1 Replies
LDIF2LDAP(8) System Manager's Manual LDIF2LDAP(8)
NAME
ldif2ldap - Directory Server script for adding entries
SYNOPSIS
ldif2ldap [-Z serverID] [-D <rootdn>] -w <password> -f <ldifFile> [-P protocol] [-h]
DESCRIPTION
Performs an import operation over LDAP to the Directory Server. To run this script, the server must be running.
OPTIONS
A summary of options is included below:
-Z Server Identifier
The server ID of the Directory Server instance. If there is only one instance on the system, this option can be skipped.
-D Root DN
The Directory Manager DN, or root DN. If not specified, the script will search the server instance configuration for the value.
-w password
The rootdn password.
-f LDIF file
The LDIF file with the entries to add.
-P Protocol
The connection protocol to connect to the Directory Server. Protocols are STARTTLS, LDAPS, LDAPI, and LDAP. If this option is
skipped, the most secure protocol that is available is used. For LDAPI, AUTOBIND is also available for the root user.
-h
Display the usage.
EXAMPLE
ldif2ldap -Z instance3 -D 'cn=directory manager' -w password -f /LDAP/ldif/entries.ldif -P STARTTLS
Note: security must be enabled to use protocol STARTTLS. If STARTTLS is not available it will default to next strongest/available protocol
automatically.
DIAGNOSTICS
Exit status is zero if no errors occur. Errors result in a non-zero exit status and a diagnostic message being written to standard error.
AUTHOR
ldif2ldap was written by the 389 Project.
REPORTING BUGS
Report bugs to http://bugzilla.redhat.com.
COPYRIGHT
Copyright (C) 2013 Red Hat, Inc.
Mar 5, 2013 LDIF2LDAP(8)