Linux Basics Practice Test: Linux Environment — Flashcards | Linux | FatSkills

Linux Basics Practice Test: Linux Environment — Flashcards

Fast review mode: answers are shown by default so you can skim quickly. Hide them if you want to self-test.

A Linux environment is a space that contains information about the behavior of applications and programs. Environment variables (ENVs) are dynamic values that control the behavior of programs and processes in the Linux operating system. ENVs are essential components of the Linux operating system, allowing processes and applications to access important configuration information.

There are two types of ENVs:
Environment variables:
These are system wide and are inherited by all system processes and shells.
Shell variables: These only apply internally to the current shell instance. 

Here are some ways to list Linux environment variables:
printenv:
Displays all current environment variables
env: Lists all environment variables
echo: Displays a single environment variable 

You can also check your .profile available in your home directory. Open it using the vi editor and check all the variables set for your environment. 

1 of 27 Ready
To increase the response time and throughput, the kernel minimizes the frequency of disk access by keeping a pool of internal data buffer called
Buffer cache
Shortcuts
Prev Space Show / hide Next
Turn this into a study set.
Sign in with Google to save tricky questions to your reminder list and resume on any device.
Sign in with Google Free • no extra password