Ravindra Bagale · AWSसर्व coursesया course चे lessonsशोधाEnglish

AWS · मराठी आवृत्ती

Linux basics interview प्रश्नोत्तरं

रवींद्र बागले यांच्या course वर आधारित · सहज मराठीत explanation

या page मध्ये

प्रत्येक उत्तरासोबत एक command उदाहरण द्या.

Q1. 755 आणि 644?

755 = owner rwx, group/others r-x — folders/scripts. 644 = owner rw-, group/others r-- — सामान्य files.

Q2. apt आणि yum?

दोन्ही package managers. Ubuntu/Debian मध्ये apt/.deb. Amazon Linux/CentOS-family मध्ये yum/.rpm; नवीन versions मध्ये yum मागे dnf असतो.

Q3. su आणि sudo?

su दुसऱ्या user कडे switch करतो; साधारण त्या user चा password लागतो. sudo नियमांनुसार वेगळ्या privileges ने command run करतो आणि audit log मिळतो.

Q4. सर्वात जास्त memory कोण वापरतंय?

top मध्ये M; किंवा ps aux --sort=-%mem | head.

Q5. kill आणि kill -9?

kill = SIGTERM 15, cleanup ची संधी. kill -9 = SIGKILL, जबरदस्ती बंद; शेवटचा पर्याय.

Q6. Accounts/passwords कुठे?

Local account entries /etc/passwd, hashes /etc/shadow, groups /etc/group.