DevOps

Linux Fundamentals

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

22 면접 질문·
Junior
1

What is the /etc directory in Linux?

답변

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?

답변

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?

답변

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 면접 질문

다음 면접을 위해 DevOps을 마스터하세요

모든 질문, flashcards, 기술 테스트, 코드 리뷰 연습, 면접 시뮬레이터에 접근하세요.

무료로 시작하기