DevOps

Linux Fundamentals

File system, permissions, users & groups, package managers, systemd, logs, processes

22 mülakat soruları·
Junior
1

What is the /etc directory in Linux?

Cevap

The /etc directory contains system and application configuration files installed on the system. It is a standard location where administrators find configuration files to modify to customize system behavior. Common files include /etc/passwd for users, /etc/hosts for local DNS resolution, and /etc/fstab for file system mounting.

2

What is the role of the /var directory in Linux?

Cevap

The /var directory stores variable data that changes frequently during system operation. This includes logs in /var/log, caches in /var/cache, print spools in /var/spool, and local databases. The name var comes from variable because its content varies constantly unlike static files in /usr or /etc.

3

Which command lists files and directories in the current directory?

Cevap

The ls command lists files and directories in the current directory. It can be used with various options like -l for detailed display showing permissions, -a to show hidden files starting with a dot, and -h to display sizes in human-readable format. It is one of the most commonly used Linux commands in daily work.

4

What does the first character represent in file permissions displayed by ls -l?

5

Which command changes the current working directory?

+19 mülakat soruları

Bir sonraki mülakatın için DevOps'de uzmanlaş

Tüm sorulara, flashcards'a, teknik testlere, code review alıştırmalarına ve mülakat simülatörlerine eriş.

Ücretsiz başla