asked 12.5k views
3 votes
Which is an example for character special file?
1) Hard disk
2) CD-ROM
3) Terminal

1 Answer

4 votes

Final answer:

A terminal is an example of a character special file, which handles I/O in a non-buffered, character-by-character manner, unlike block devices.

Step-by-step explanation:

An example of a character special file is a terminal. Unlike block devices like hard disks and CD-ROMs, character special files handle I/O in a manner that is non-buffered and character-by-character. This means data is read or written one character at a time, making terminals (which include keyboards, mice, and serial ports for example) a fitting demonstration of such files in a Unix or Unix-like operating system.

answered
User Ajmal Noushad
by
8.5k points

Related questions

1 answer
3 votes
157k views
1 answer
5 votes
53.4k views