1 Flashcards

(6 cards)

1
Q

role/function of kernel in linux

A

Memory Management – Allocates and manages system memory for processes.

Process Management – Starts, stops, and switches between running tasks.

Resource Allocation – Distributes CPU, memory, and other resources to applications.

Device Handling – Manages input/output operations and hardware devices.

System Startup – Initializes the system and starts essential services after boot.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

2 linux distribution

A

Red Hat-based Distribution

Focuses on enterprise and server use. Known for stability and support. Examples include Red Hat Enterprise Linux (RHEL) and CentOS.

Debian-based Distribution

Popular for desktops and servers. Known for being user-friendly and reliable. Examples include Ubuntu and Linux Mint.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

ls [option] [arguments] command

A

-l (long listing format)

Shows detailed information like permissions, owner, size, and modification date.

-a (all files)

Lists all files, including hidden ones (those starting with a dot .).

-h (human-readable sizes)

Used with -l to show file sizes in KB, MB, etc.

-R (recursive)

Lists all files in the current directory and its subdirectories.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

pwd

A

Print working directory
Shows the current directory you are in.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

$HOME

A

Refers to your home directory, no matter where you currently are.

It stores the path to your personal user directory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

installation process of Linux distro to become dual boot in Window OS.

A
  1. Backup Your Data
  2. Create Space on Windows
  3. Download Linux ISO & Make Bootable USB
  4. Boot from USB Drive
  5. Install Linux
  6. Reboot and Choose OS
How well did you know this?
1
Not at all
2
3
4
5
Perfectly