answersLogoWhite

0


Best Answer

both these will show you

ls -l file

du -h file

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you determine the size of a file in Linux?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the Linux Filesystem hierarchy used for?

The Linux Filesystem Hierarchy is used to help determine the file structure in the Linux Operating System. It defines the Directory structure and directory contents.


Which command is used to create an empty file with file size zero bytes so that you can write in these files later in unix and Linux?

touch newfile will make a new empty file in linux os !


What is the oldest Linux file system?

The first file system Linux supported was the MINIX file system.


How do you know how many bytes are in an audiobook?

You can determine the file size of an audiobook by checking the properties of the file on your computer or device. The file size will be displayed in bytes, kilobytes, megabytes, or gigabytes depending on the size of the file.


What is file manager in Linux?

There is no set file manager in linux. Examples of Linux file managers include but: Nautilus (GNOME) Thunar (XFCE) Dolphin (KDE)


How do you get the class file size in java?

You look at the file. A program such as Windows Explorer - or the equivalent in other operating systems - can tell you the size. Also, a command such as "dir" (in Windows), or "ls" (in Linux or Unix).


What property of a file is used to determine it's file type?

The file extension. .doc, .xml, .exe, etc. Only applicable to Windows files. Linux does not use file extension and MAC uses file types and creator codes.


What is a superblock Linux?

Super block is supposed to be the first sector of any file system that can be mounted on Linux operating system. It is supposed to contain information about the entire file system in that partition. It has magic number to specify which file system is used in that partition and other parameters to help read/write to that file system.


What is the minimum number of configuration file Input Device sections in Linux?

If you are referring to the xorg.conf file, it can be operated with no InputDevice sections at all, and will use a "best-guess" to determine the input devices instead.


How do you change the file system size in Linux?

You can't resize a mounted partition, so you can't resize the root file system while the installed copy of Linux is running. To resize it, you should use a LiveCD like GParted that contains a partition editor.


What is the Linux Virtual File System used for?

The Linux VFS (Virtual File System) may be thought of as a sort of interface between the Linux kernel and the mounted file systems. There can be many different file system types mounted simultaneously and VFS allows the Linux kernel to see and address them all in a similar way. This provides Linux with a great deal of flexibility. [JMH]


What file system does Red Hat Enterprise Linux use?

ext3 is the default file system for Red Hat Enterprise Linux.