create directory(1m) create directory(1m)NAME
create directory - Creates a directory
SYNOPSIS
cdscp create directory directory-name [clearinghouse clearinghouse-name]
ARGUMENTS
The full name of the directory The name of the clearinghouse in which you create the directory.
DESCRIPTION
The create directory command creates a directory with the name that you specify. If you do not specify a clearinghouse, CDS creates the
master replica of the directory in the same clearinghouse as the new directory's parent directory.
Privilege Required
You must have the following permissions in order to create a directory: read and insert permission to the parent directory; write permis-
sion to the clearinghouse in which the master replica of the new directory is to be stored.
In addition, the server principal must have read and insert permission to the parent directory.
NOTES
To ensure that all replicas are consistent, perform an immediate skulk of the parent directory after issuing this command.
This command is replaced at Revision 1.1 by the dcecp command and may not be provided in future releases of DCE.
EXAMPLE
The following command creates a directory named /.:/sales. cdscp> create directory /.:/sales
RELATED INFORMATION
Commands: delete directory(1m), list directory(1m), set directory(1m), set directory to skulk(1m), show directory(1m)
create directory(1m)
Check Out this Related Man Page
create clearinghouse(1m) create clearinghouse(1m)NAME
create clearinghouse - Creates a clearinghouse on the local server system or makes an existing clearinghouse available
SYNOPSIS
cdscp create clearinghouse clearinghouse-name
ARGUMENTS
The full name of the clearinghouse.
DESCRIPTION
The create clearinghouse command creates a clearinghouse on the local server system or makes an existing clearinghouse available. The
server start-up command usually creates a new clearinghouse when you configure a new CDS server. Occasionally, you may need to create a
second clearinghouse on a particular server; for example, if you are temporarily relocating a clearinghouse on a different server. See the
OSF DCE Administration Guide for more information about relocating a clearinghouse.
Clearinghouses should be named only in the root. When you enter the command, CDS creates a read-only replica of the root directory and
stores it in the new clearinghouse as the initial replica. Because the process that creates the new clearinghouse initiates a skulk of the
root directory, all replicas of the root should be reachable when you enter the command.
Privilege Required
You need write permission to the server on which you intend to create the clearinghouse and administer permission to the cell root direc-
tory. The server principal needs read, write, and administer permission to the cell root directory.
NOTES
This command is usually executed only by the network configuration procedure. To ensure that all replicas of the root are reachable, per-
form an immediate skulk of /.: prior to issuing this command.
This command is replaced at Revision 1.1 by the dcecp command and may not be provided in future releases of DCE.
EXAMPLE
The following command creates a clearinghouse named /.:/Boston_CH on the local server system: cdscp> create clearinghouse /.:/Boston_CH
RELATED INFORMATION
Commands: clear clearinghouse(1m), delete clearinghouse(1m), list clearinghouse(1m), set cdscp preferred clearinghouse(1m), show cached
clearinghouse(1m), show cdscp preferred clearinghouse(1m), show clearinghouse(1m)
Books: OSF DCE Administration Guide
create clearinghouse(1m)
Hi,
Iam new to unix . I need to write a scritp which can create a file having sysdate as a part of it.and i also need to delete file which is created five days before in a directory.pls Help me out
thanks in advance (11 Replies)
Hello all,
I have a directory filling up. I need to determine the size of the files in the directory. How do I do that, what command should I run when I am in the directory?
Next question, can I expand the partition size? (10 Replies)
Hi Guys,
I want to know wheather it is possible to delete directory not files,
Example:
In one directory there are 10 dirs and 100 files but my req is to delete only dirs not file
Wheather it is possible ? (13 Replies)
What's wrong with this script?????
Please help!!!
!#/bin/sh
echo "please enter dir"
read input
cd $input
I'm trying to make a simple script to change dir. But does not work.
it stays at the same dir where i run the script.
What did i do wrong?? (21 Replies)
Hi
How to create a directory structure with getting input from a file.
I have file in that following lines are written.
./activemq-4.1.2/activemq-core-4.1.2.jar
./activemq-4.1.2/backport-util-concurrent-2.1.jar
./camel-1.4.0/apache-camel-1.4.0.jar
./camel-1.4.0/lib/activation-1.1.jar... (12 Replies)
Hi All,
I have a script written that creates a new directory within the shell program and if a parameter isn't passed in, it creates a strange directory name by mistake. So I have a directory like "-_12" and I am unable to remove it. I tried removing it using double quote and many others. I have... (12 Replies)
Hey guys im trying to check if the directory exists
i get a syntax error on the elif statement iv tried using else and still same result im not sure. If the directory does not exist can i just insert mkdir /tmp/old under the elif once that part gets working
if ; then
#do nothing
elif
echo... (20 Replies)
I have some empty files that were created from a script I ran that I cannot delete using the rm command.... any ideas as how I can delete them?
-rw-r--r-- 1 schroeks x_exp 0 Jul 21 08:24 rrd15CEC
-rw-r--r-- 1 schroeks x_exp 0 Jul 21 11:37 rrd15CEC
-rw-r--r-- ... (20 Replies)
Hello all,
I've been researching this problem for days, and have gotten no luck . =/
How do you copy a file to another directory without being in the same directory as the file? So, for example, say I wanted to copy the file 'my.txt' that is in the directory ' /export/hom0/user/asdf ' to the... (9 Replies)
I usually use ls -al | awk '{sum = sum + $5} END {print sum}' to sum the size of all files in a directory. However this command includes the hidden files.
Is there a command to just add up all the files/sub-directories excluding the hidden files (begins with . and ..)
I wanted to check the... (10 Replies)
I have many log files in various subdirectories of a parent directory.
The directory structure e something like this:
Parent directory:
/home/linus/logfiles/
This parent directory has many subdirectories, like this:
.../logfiles/jack
.../logfiles/helen
.../logfiles/sue... (13 Replies)
du -hs command calculates the space for all the subdirs under a dir ...but it is very slow if the dir is huge....is there any quick way ...I am using Sun OS.
Thanks,
Ajay (19 Replies)