All I/O, including files, pipes, and sockets, are handled by the kernel via a mechanism called the file descriptor. A file descriptor is a small unsigned integer, an index into a file-descriptor table maintained by the kernel and used by the kernel to reference open files and I/O streams. Each process inherits its own file-descriptor … Continue reading File descriptors
Day: July 6, 2017
diff,cut,head,tail,more,less,paste,join,uniq,comm,tr,sort,
The diff command mohammedrafi@NOC-RAFI:~$ vim file1 I go for shopping on Saturday I rest completely on Sunday I use Facebook & Tweeter for social networking mohammedrafi@NOC-RAFI:~$ vim file2 Today is Monday. I go for shopping on Saturday I rest completely on Sunday I use Facebook & Tweeter for social networking mohammedrafi@NOC-RAFI:~$ diff file1 file2 0a1 … Continue reading diff,cut,head,tail,more,less,paste,join,uniq,comm,tr,sort,
