How to use the free command: 2-Minute Linux Tips

How to use the free command: 2-Minute Linux Tips

Assessment

Interactive Video

Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

The video tutorial explains the 'free' command in Linux, which provides information on memory usage, including physical and swap memory. It distinguishes between free and available memory, and discusses how the command displays memory in different units like kibibytes and kilobytes. The tutorial also covers how to use the command with various options to display memory metrics in a preferred format.

Read more

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary function of the free command in Linux?

To list all running processes

To manage user permissions

To display the current CPU usage

To show the amount of free and used memory

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does free memory differ from available memory in Linux?

Free memory is always larger than available memory

Available memory is not used at all

Available memory includes caches and buffers that can be freed

Free memory is used for swap space

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In what unit does the free command display memory by default?

Megabytes

Bytes

Kilobytes

Kibibytes

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between kibibytes and kilobytes?

Kibibytes are larger than kilobytes

There is no difference

Kibibytes are based on 1024, kilobytes on 1000

Kibibytes are based on 1000, kilobytes on 1024

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command can you use to see all the options for displaying memory statistics with the free command?

free -a

free --options

free -l

free --help