✦ Practice Mode

Patch & Diff Quiz

Choose the best answer. Your answer will be checked immediately.

QUESTION 01

Your colleague sent you a patch called fix_names.patch, which fixes a config file called fix_names.conf. What command do you need to run to apply the patch to the config file?

💡 Quick Explanation

QUESTION 02

You're helping a friend with a bug in a script called fix_permissions.py, which fixes the permissions of a bunch of files. To work on the file, you make a copy and call it fix_permissions_modified.py. What command do you need to run after solving the bug to send the patch to your friend?

💡 Quick Explanation

QUESTION 03

The _____ command highlights the words that changed in a file instead of working line by line.

💡 Quick Explanation

QUESTION 04

How can we choose the return value our script returns when it finishes?

💡 Quick Explanation

QUESTION 05

In addition to the original files, what else do we need before we can use the patch command?

💡 Quick Explanation

0%
Keep practicing!
🚀 رفتن به جلسهٔ بعدی 🚀

🌐 با ما همراه باشید

برای دریافت آخرین مطالب، پرسش و پاسخ و اطلاع از رویدادهای مرتبط، ما را در شبکه‌های اجتماعی دنبال کنید.