File systems and basic Linux concepts
45 min · Intermediate
A file system is the part of the OS that organises data on a disk into named files and folders and remembers where each piece is stored. Interviews pair it with Linux basics, because most servers that run Java applications run Linux.
Topics in this lesson
- Files, directories, inodes and allocation methods
- Disk scheduling at a glance (FCFS, SSTF, SCAN)
- Linux basics: kernel, shell, permissions and processes
- Common Linux commands asked in interviews
- Interview questions with model answers
Interview questions this lesson answers
- What is a file system?
- What is a file, and what attributes does it have?
- What is an inode?
- Where is the file name stored, then?
- What is the difference between a hard link and a soft link?
- Why can a hard link not point to a directory or another file system?
- What are the file allocation methods?
- What are the pros and cons of contiguous allocation?
- What are the pros and cons of linked allocation?
- How does indexed allocation work, and how do inodes extend it?
Sign in free to continue this lesson
Create a free account to read every lesson, practise with the exercises and keep track of your progress.