Dashboard

Learn faster. Build smarter.

Back to Categories
39 questions0 learned

Linux

Processes, permissions, services, system behavior, and troubleshooting.

Results: 39
Junior

What is the difference between a hard link and a soft link?

A hard link points to the same inode, while a soft link points to the file path.

Junior

What is the difference between a process and a thread?

A process has its own memory space, while threads share memory inside the same process.

Junior

How do Linux file permissions work?

Permissions define read, write, and execute access for owner, group, and others.

Junior

What is systemctl used for?

systemctl is used to manage services and systemd units.

Junior

What is the difference between top and htop?

Both show running processes, but htop is more interactive and user-friendly.

Middle

What is load average in Linux?

Load average shows how many processes are actively running or waiting for CPU or uninterruptible resources.

Middle

What is iowait in Linux?

iowait is CPU time spent waiting for disk or other I/O operations to complete.

Middle

What is the difference between SIGTERM and SIGKILL?

SIGTERM asks a process to stop gracefully, while SIGKILL forces it to stop immediately.

Middle

What is a zombie process?

A zombie process is a finished process whose exit status has not yet been collected by its parent.

Junior

What is the Linux kernel?

The kernel is the core of the operating system that manages hardware and processes.

Junior

What is a shell?

A shell is a command-line interface to interact with the system.

Junior

What is a filesystem?

A filesystem organizes how data is stored and accessed on disk.

Junior

What is the root directory?

The root directory is the top-level directory in Linux, represented by '/'.

Junior

What is the home directory?

It is the personal directory for a user.

Junior

What does the cat command do?

cat displays file contents.

Junior

What is grep used for?

grep searches for patterns in text.

Junior

What is the find command?

find searches for files and directories.

Junior

What does the ps command do?

ps shows running processes.

Junior

What is the kill command?

kill sends signals to processes.

Junior

What does df do?

df shows disk usage.

Junior

What does du do?

du shows file and directory size.

Junior

What is chmod?

chmod changes file permissions.

Junior

What is chown?

chown changes file ownership.

Junior

What is SSH?

SSH is a secure protocol for remote access.

Middle

How do you check CPU usage in Linux?

Using top, htop, or vmstat.

Middle

How do you check memory usage?

Using free or top.

Middle

How do you monitor disk I/O?

Using iostat or iotop.

Middle

What is netstat?

netstat shows network connections.

Middle

What is ss command?

ss is a faster alternative to netstat.

Middle

What is systemd?

systemd is a system and service manager.

Middle

What is journalctl?

journalctl reads system logs.

Junior

What is cron?

cron schedules tasks.

Junior

What is crontab?

crontab stores scheduled jobs.

Junior

What are environment variables?

They store configuration values for processes.

Junior

What is PATH?

PATH defines where executables are searched.

Junior

How do you create a symbolic link?

Using ln -s.

Junior

What does chmod 777 mean?

It gives full permissions to everyone.

Junior

What is sudo?

sudo runs commands with elevated privileges.

Middle

Where are logs stored in Linux?

Usually in /var/log.