answersLogoWhite

0

The DIR command in MS-DOS and the Windows command prompt can do this.

Since this is in the Linux category the way to do it would be by using the df utility. be sure and use the -h (human) option to make the output more easily understandable.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What command can be used to view a list of directory hierarchies, including the file system type?

The df utility displays a list of the directory hierarchies available on the file system. NFS is the file system type.


What is the working of attrib command?

The attrib command is a Recovery Console command used to change the file attributes for a file or directory while in Recovery Console. An attrib command is also available from the Command Prompt. attrib [+r|-r] [+s|-s] [+h|-h] [+c|-c] [filename] +r = This assigns the read-only file attribute to the file or directory. -r = This removes the read-only attribute. +s = This assigns the system file attribute to the file or directory. -s = This removes the system attribute. +h = This assigns the hidden file attribute to the file or directory. -h = This removes the hidden attribute. +c = This assigns the compressed file attribute to the file or directory. -c = This removes the compressed attribute. filename = This is the file or directory that you are wanting to change the attributes of.


What is working of Attrib command?

The attrib command is a Recovery Console command used to change the file attributes for a file or directory while in Recovery Console. An attrib command is also available from the Command Prompt. attrib [+r|-r] [+s|-s] [+h|-h] [+c|-c] [filename] +r = This assigns the read-only file attribute to the file or directory. -r = This removes the read-only attribute. +s = This assigns the system file attribute to the file or directory. -s = This removes the system attribute. +h = This assigns the hidden file attribute to the file or directory. -h = This removes the hidden attribute. +c = This assigns the compressed file attribute to the file or directory. -c = This removes the compressed attribute. filename = This is the file or directory that you are wanting to change the attributes of.


Where is the DIR command located?

The DIR or directory command is located in the system32 directory of Windows. It is an executable file that gives DOS access to a user.


Which traversal computes the total size of each directory in the unix system?

You could use the 'du -s' command to get the size of each directory/sub-directory from wherever you are currently in the file system.


What command will return you to your home directory regardless of where you are in the file system?

PWD Although pwd will tell you where you are it won't change back to your home directory. For that, use the 'cd' command without any parameters


How do you enter text file to root directory?

To enter a text file into the root directory on a Unix-like system, you can use the command line. First, ensure you have the necessary permissions, then use a command like sudo cp /path/to/yourfile.txt /. This command copies the specified text file from its current location to the root directory. Alternatively, you can use a text editor with root privileges, like sudo nano /yourfile.txt, to create or edit a file directly in the root directory.


What happens when a program is launched from a command prompt or from the desktop?

The user interface interprets the command and passes the program name to the file system, which reads the directory.


What is CWD?

CWD stands for Current Working Directory. It is the directory in a file system from which a command is executed or a script is run. It helps to determine the context in which a command operates within the file system.


In Unix what is the command for Displaying whether a file is a simple file or a directory?

Use the file type test: if [ -d $file ]; then echo $file is a directory elif [ -f $file ]; then echo $file is a file else echo $file is not a directory or a file fi


What is the concept of mounting a file system?

Mounting a file system is what allows one to access the access, read, and modify it. It doesn't matter where the file system is mounted, either (though an empty directory is preferable). The mount command binds the physical device to whichever directory you choose and calls the proper kernel driver to allow actual file operations.


Where can you get a SquashFS file system?

You don't "get" it. You create one from a directory containing the files you want to be in the file system image. A SquashFS image can be created by using the command mksquashfs /path/to/dir imagename.sqsh