File input and output concepts along with the associated system calls are explained with an example program. https://www.softprayog.in/programming/file-io-in-linux
0:00 Introduction
4:17 open
10:07 creat
11:29 read
12:13 write
13:30 lseek
15:16 close
15:34 unlink
17:04 sync
18:05 fsync
19:50 truncate and ftruncate