For windows:
dir *.doc
For Unix/Linux:
ls *.doc
mkdir [name of directory you wat to make] [second directory] [third directory] [fourth directory]
CD stands for "change directory". For instance, if you are in the directory of c:\files\ and you want to navigate to a folder within the "files" directory called "documents", you can type "cd documents" to change the directory you are in. Once you've done that you will be at c:\files\documents\. Inversely you can use "cd.." to go back to the parent directory "files".
The mv command is used to move a file or directory to another location. Its syntax ismv target destinationFor example:mv myfile /home/user/mystuff
The rm command is used to delete a file or directory. Its syntax isrm file or rm -r directoryExample:rm myfilerm -r /home/user/mystuff
You can get a list of all the files in the current directory with the "ls -a" command.
use the chmod command syntax: chmod #### -option1 -option2 filename man chmod (for more information)
Mat lab has got a predefined command for this purpose. The command is 'imread'. Syntax: A = IMREAD(FILENAME,FMT) It reads a grayscale or color image from the file specified by the string FILENAME. If the file is not in the current directory, or in a directory on the MATLAB path, specify the full pathname.
They are different languages, so you need to use a different word with different syntax to do the same thing. For example, to display the contents of the current directory, the command in MS-DOS is dir, but in UNIX it's ls.
The rd command, short for "remove directory," is used in command line interfaces to delete empty directories. It is commonly used in Windows Command Prompt and can be executed with options to remove multiple directories or to force the deletion of directories that contain files, depending on the specific syntax used. If a directory is not empty, the command will fail unless additional parameters, like /S, are specified to remove all contents.
Internal ms-dos commands with syntax
The most simple DOS command has to be RUN. A way to view files in a particular directory is DIR. To change to a new directory is CD /C. This means if your hard drive is letter C then it will become available as the new directory with CD(change directory). FORMAT C is an example of how to wipe out your hard drive completely to when it was brand new.
you learn the rules for correctly entering a specific command at the command line