Unlock the Power of Open Source! The " Linux New " SWAYAM Plus Course is live now and about 2,500 learners have already registered for it.

If you are a registered learner, the forum page is now active. Visit the page and get all your questions answered.

Using File Descriptors - Hindi

1338 visits



Outline:

Using File Descriptors (फाइल डिस्क्रिप्टर्स प्रयोग करना) fd पर परिचय फाइल डिस्क्रिप्टर (fd), फाइल आउटपुट (exec fd > filename) को असाइन करना। 'date' और 'echo' का उदाहरण प्रयोग करके समझाना। आउटपुट fd(exec fd<&-) बंद करना। fd बंद करने के बाद परिभाषित स्टेटमेंट्स के लिए एरर की व्याख्या। फाइल डिस्क्रिप्टर (fd), इनपुट के लिए फाइल (exec fd < filename) को असाइन करना। इनपुट फाइल डिस्क्रिप्टर (exec fd<&-) को बंद करना। 'cat' प्रयोग करके इनपुट fd की व्याख्या।