Each file has an inode. Is there an inode for every directory ? If not, how does Linux manage directories.
Directories are special files, hence they have inodes.
You can test that with
stat -c '%F : %i : %n' *
% stat -c '%F : %i : %n' * regular file : 670637 : bar.csv regular file : 656301 : file.txt directory : 729178 : foobar
The number in the middle is the inode number.
Yes, it is.
stat *directory name* in order to obtain inode number