You are asking for two different things here.
For a sorted list of users, type 'users'.
For the number of lines containing any text, type:
grep -c IGNOU list-of-files
There are several ways to verify a directory. You could use the following test in a shell script: if [ -d some-directory ]; then # directory exists else # directory does not exist fi of use commands such as 'ls 'to see if it exists.
the command 'cd ~' will get you there .
type in DIR & for list of commands under the directory: DIR/?
For Unix, try the following: ls -1 | grep -v '^\.' | wc -l
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.
mkdir directoryname mkdir "directory name with spaces"
The DS tools consist of the following commands DSQUERY - search for active directory objects matching criteria DSGET - retrieves selected attributes from active directory objects DSMOD - modify attributes for one or more active directory objects DSADD - create active directory objects DSMOVE - move active directory objects DSRM - removes/deletes active directory objects
Use the 'du' command in the directory you are interested in.
Dos commands are used to create or delete directories. The ATTRIB Command is used for locking and unlocking of files.
AFAIK there's only one command to delete a directory. "rmdir" Removes the directory. If you only want to delete the content of the directory you can use "del <dir name>"
cp - copy a file rm - delete a file mv - rename a file mkdir - create a directory rmdir - remove a directory etc...
cp * /tmp