Using File Descriptors - Khasi

300 visits



Outline:

Ban pyndonkam ia ki File Descriptors Lamphrang halor ka fd Assign ia ka file descriptor (fd) sha ka file ban ioh ia ka output (exec fd > filename) Batai da kaba pyndonkam ia kawei ka nuksa jong ka 'date' bad 'echo' Ban khang ia ka output fd(exec fd<&-) Jingbatai halor ka error na ka bynta ki statements ba la defined hadien ba la khang ia ka fd Assign ia ka file descriptor (fd) sha ka file na ka bynta ka input(exec fd < filename) Ban khang ia ka input file descriptor(exec fd<&-) Jingbatai halor ka input fd da kaba pyndonkam 'cat'