The following command-line tools can be used to manage Active Directory
CSVDE
Import and export Active Directory data using comma-separated format.
Dsadd
Add users, groups, computers, contacts, and organizational units to Active Directory.
Dsmod
Modify an existing object of a specific type in the directory. The types of objects that can be modified are: users, groups, computers, servers, contacts, and organizational units.
Dsrm
Remove objects of the specified type from Active Directory.
Dsmove
Rename an object without moving it in the directory tree, or move an object from its current location in the directory to a new location within a single domain controller. (For cross-domain moves, use the Movetree command-line tool.)
Dsquery
Query and find a list of objects in the directory using specified search criteria. Use in a generic mode to query for any type of object or in a specialized mode to query for for selected object types. The specific types of objects that can be queried through this command are: computers, contacts, subnets, groups, organizational units, sites, servers and users.
Dsget
Display selected attributes of specific object types in Active Directory. Attributes of the following object types can be viewed: computers, contacts, subnets, groups, organizational units, servers, sites, and users.
LDIFDE
Ceate, modify, and delete directory objects. This tool can also be used to extend the schema, export Active Directory user and group information to other applications or services, and populate Active Directory with data from other directory services.
Ntdsutil
General purpose Active Directory management tool. Use Ntdsutil to perform database maintenance of Active Directory, to manage single master operations, and remove metadata left behind by domain controllers that were removed from the network without being properly uninstalled.
There is generally only 1 standard command for permissions on a file or directory - chmod. You can affect permissions by other commands such as changing the ownership or group ownership of a file or directory. Other commands may be specific to different versions of Unix and Linux, so are not listed here.
the command 'cd ~' will get you there .
type in DIR & for list of commands under the directory: DIR/?
Use the 'ls' command with the '-l' (long listing) option
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.
Use the 'ls' command with the long listing option: ls -l
The typical way to view file permissions is to use the 'ls' command with the long listing options enabled, For example, to see the file permissions for everything in the current directory, type: ls -lsa
To execute the touch command in a directory, you need write permission on that directory. This permission allows you to create or modify files within the directory. Additionally, you also need execute permission on the directory itself to access it and perform operations within it. Without these permissions, you won't be able to create or change files using the touch command.
Use the 'du' command in the directory you are interested in.
ls is the default command that lists the contents of a directory. vdir is a common alias for the command: ls -al That command lists the contents of a directory as well as information about the file such as owner, group, file size, permissions, last modified, etc.
The command you should type at the shell prompt or command prompt depends on what you want to accomplish. For example, to display the current directory, you can use pwd in Unix/Linux or cd without arguments in Windows. To list files, type ls in Unix/Linux or dir in Windows. Always ensure you have the appropriate permissions for the commands you intend to execute.
Dos commands are used to create or delete directories. The ATTRIB Command is used for locking and unlocking of files.