rmdir
If you are just removing the directory, use the command: rmdir dir-name The dir-name directory has to be empty for this to work. If there are files or other subdirectories then use the command: rm -rf dir-name
You run the 'dcpromo' command to remove active directory and demote a domain controller to a member server. To remove AD completely you would have to do this process on all domain controllers.
The easiest way is to use the 'rm' command recursively. For example, the command: rm -rf /data/test/docs/fall would remove the directory 'fall' from /data/test/docs, even if it isn't empty.
PWD
Active Directory Domain Services. in server 2008 AD work as a service
"rd" is a command which is "Remove directory" and the full form of the command would be "rmdir" depending on the OS used. It's commonly associated with UNIX or Linux based OS's.
Dsquery is a command-line tool that is built into Windows Server 2008. It is available if you have the Active Directory Domain Services (AD DS) server role installed. To use dsquery, you must run the dsquery command from an elevated command prompt. To open an elevated command prompt, click Start, right-click Command Prompt, and then click Run as administrator dsquery -inactive <NumberOfWeeks> will give you the answer
To change to the /usr directory using an absolute pathname, you would use the command cd /usr. This command specifies the full path to the usr directory from the root of the filesystem. Ensure you have the necessary permissions to access that directory.
The pwd command prints the working directory. The working directory is the directory you are "in", where operations on files that don't have an absolute path specified will be performed. For instance, if my working directory is /home/username/stuff, then the command echo "test" > test.txt would place the file test.txt in that directory.
If for example we wanted to make i subdirictory called foo in Linux or UNIX it you use mkdir foo to change into it you would use CD foo to remove the directory rmdir foo but this will only work if the directory is empty to remove the directory called foo when it is not empty use rm -rf foo but please be sure this is what you really want to do.
Use the 'mkdir' command
mkdir testcopy