answersLogoWhite

0

For windows:

dir *.doc

For Unix/Linux:

ls *.doc

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What is the syntax of the mkdir command?

mkdir [name of directory you wat to make] [second directory] [third directory] [fourth directory]


What does the command CD do?

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".


What is the mv command in Unix?

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


What is the rm command in Unix?

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


Which command is used to see the content of file?

You can get a list of all the files in the current directory with the "ls -a" command.


How do you change the permission modes of a file and directory in Linux?

use the chmod command syntax: chmod #### -option1 -option2 filename man chmod (for more information)


How do you read image in matlab?

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.


What is the difference between unix command and dos command?

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.


What is the purpose of rd command in command line interface?

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 Command with syntax?

Internal ms-dos commands with syntax


What is syntax in dos commands?

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.


What do you learn from the syntax of a command?

you learn the rules for correctly entering a specific command at the command line