Linux Interview Questions and Answers with Practical - Real Time

In this video, I am going to explain some real-time interview questions and answers for 2-4 years of experience.
Linux Interview Questions and Answers
Q- How will you change the default user id value in Linux?
Q- root# rm -rf /tmp/test gives error operation not permitted. Reason?
Q- /etc/hosts (Which RPM is responsible for creating this file).
Q- What is the difference between RPM and YUM?
Q- What is the difference between Hard and Soft Link?
Q- What is a sticky bit?
Q- How will you check open ports on Linux Server?
Q- How will you check open ports on remote servers (without login)
Q- Your site is throwing 500 error, how will you start troubleshooting?
Q- How will you start troubleshooting if your site is down?
Q- How will you create space on disk if it is showing 100% used?
Q- What is a package of sar command and what does it do?

Пікірлер: 102

  • @tabrezkhan453
    @tabrezkhan4532 жыл бұрын

    Thank you sir for uploading such type of videos. It's very helpful for us to crack the interview. I appreciate your great efforts. 🙂

  • @shridharsofts
    @shridharsofts4 жыл бұрын

    You are rocking....And Iam learning from you a lot Thank you. And I solved so many issues by seeing your videos in red hat as well as in Aws devops. Once again thank you

  • @atanupal9776
    @atanupal97762 жыл бұрын

    Linux Interview Questions and Answers with Practical - Real Time Q1 0:22 How will you chagne default user id value in linux? Q2 3:00 root# rm -rf /tmp/test gives error operation not permitted. Reason? Q3 3:58 /etc/hosts (Which RPM is responsible for creating this file). Q4 5:06 What is difference between RPM and YUM? Q5 7:20 What is difference between Hard and Soft Link Q6 11:00 What is sticky bit? Q7 11:45 How will you check open ports on Linux Server? Q8 11:58 How will you check open ports on remote servers (without login) Q9 12:48 Your site is throwing 500 error, how will you start troubleshooting? Q10 14:02 How will you start troubleshooting if your site is down? Q11 14:09 How will you create space on disk if it is showing 100% used? Q12 15:55 What is package of sar command and what does it do?

  • @md.shahnawazkhan9932
    @md.shahnawazkhan99324 жыл бұрын

    Dear Lokendra sir, all the videos that you have uploaded for linux very supportive content and this video really make me help for crack the interview , request to you that kindly upload more such videos for real time scenario based.. and for troubleshoot....

  • @ServerGyan

    @ServerGyan

    4 жыл бұрын

    Thank you dear, sure dear, I will upload it soon.

  • @saisumanth2289
    @saisumanth22897 күн бұрын

    Please post what type of issues, that you face in real-time while we are doing in these steps productions. More the errors = more you learn

  • @prabhakard3247
    @prabhakard32474 жыл бұрын

    Hello Sir, I am following your tutorial videos, It is very useful, please make a video on troubleshooting Linux OS with different error codes as you mentioned in this. Thank you

  • @gtmixtape2416
    @gtmixtape24163 жыл бұрын

    Hello Sir, Can you also make a video on Application Support interview questions based on Linux (and SQl) With practical examples.

  • @speniji3
    @speniji34 жыл бұрын

    Hi sir, thanks for telling valuable information. Could you please make video on server issues and server down and troubleshooting scenarios .it will help ful to interview as well as getting knowledge.

  • @balrajgk435
    @balrajgk4354 жыл бұрын

    @ServerGyanThanks for your videos. Its helping a lot can you create some more videos are scenario based questions.

  • @prabhakarant542
    @prabhakarant5424 жыл бұрын

    Very good information Thank you so much

  • @nikhilSharma-zl3px
    @nikhilSharma-zl3px2 жыл бұрын

    Really Appreciating Sir!!! your videos are helpful for everyone like beginner to experienced person. thank you so much

  • @ServerGyan

    @ServerGyan

    2 жыл бұрын

    Thanks dear Happy learning

  • @fahimparvez
    @fahimparvez3 жыл бұрын

    Awesome, well explained 👍

  • @samiryadav4538
    @samiryadav4538 Жыл бұрын

    One of the best video..

  • @sureshk9160
    @sureshk91603 жыл бұрын

    I subscribed 👌... Pls uploaded more 2 to 5 years of experience

  • @ServerGyan

    @ServerGyan

    3 жыл бұрын

    Sure dear I will keep it uploading

  • @RavindraKumar-to4zl
    @RavindraKumar-to4zl4 жыл бұрын

    great work.. thanks

  • @devops_singh
    @devops_singh4 жыл бұрын

    Hi sir thanks for the informative video, and yes there we need a separate video on Website troubleshooting steps, including apache going 100%,or mysql using 100%,.n ssl certificate based errors. Thanks allot. Thanks in advance.

  • @joshiv027
    @joshiv0273 жыл бұрын

    Thank you very much sir. Your videos are very informative. 🙏

  • @ServerGyan

    @ServerGyan

    3 жыл бұрын

    Welcome dear Happy learning

  • @sinishapk813
    @sinishapk813 Жыл бұрын

    Good presentation 👍

  • @MySidhartha
    @MySidhartha4 жыл бұрын

    Please create a separate video on troubleshooting only.

  • @hrfighter7980
    @hrfighter79804 жыл бұрын

    Sir make more video on linux and docker interview it will very helpfull for us to clear the interviews long time i am searching but now getting something great video of interview. Interview questions and answers for 2-4 years of experience. we want this more video ...................................please upload it ..................................

  • @ausometv2415
    @ausometv2415 Жыл бұрын

    Thank you sir

  • @wtalwade
    @wtalwade3 жыл бұрын

    Thanks a lot sir..

  • @Mhmdd786
    @Mhmdd7864 жыл бұрын

    Thank you sir...

  • @urvashibhatia9200
    @urvashibhatia92004 жыл бұрын

    Sir, Please make videos on the topics like clusture, patching, Nagios, high availability management.

  • @sairamn2863
    @sairamn28634 жыл бұрын

    Awesome... 👌👌

  • @avcoe123
    @avcoe1232 жыл бұрын

    Thanks

  • @sureshk12888
    @sureshk128883 жыл бұрын

    Good presentation

  • @tabrezkhan453
    @tabrezkhan4532 жыл бұрын

    Please make a video on troubleshooting.

  • @shivananduppar1130
    @shivananduppar11304 жыл бұрын

    Hii, lokendra, please do videos on docker and ansible, Kubernetes, Jenkins

  • @ssp4039
    @ssp40392 жыл бұрын

    Pls pls pls upload more linux interview questions

  • @shivprasadgurjar487
    @shivprasadgurjar4873 жыл бұрын

    Very useful information brother

  • @ServerGyan

    @ServerGyan

    3 жыл бұрын

    Thanks dear Happy learning

  • @komedybideos
    @komedybideos Жыл бұрын

    please create separate video on troubleshooting sir.

  • @asifhu4091
    @asifhu409111 ай бұрын

    Please make video on trouble shooting issues

  • @preciouspearl5957
    @preciouspearl59573 жыл бұрын

    Very informative and helpful video. I have one issue when I tried chattr command it’s not worked for me.

  • @ServerGyan

    @ServerGyan

    3 жыл бұрын

    What error are you getting

  • @mrlight1997
    @mrlight19979 ай бұрын

  • @SilentSolution
    @SilentSolution2 жыл бұрын

    Thank you sir for uploading vedio sir

  • @ServerGyan

    @ServerGyan

    2 жыл бұрын

    Happy learning dear

  • @AsifAliRizwaan
    @AsifAliRizwaan Жыл бұрын

    The sar command collects and reports system activity information.

  • @bibhudattasahoo2174
    @bibhudattasahoo21743 жыл бұрын

    how you will execute command in remote server (without login)

  • @asifhu4091
    @asifhu409111 ай бұрын

    Please make video on disaster recovery in rhel

  • @mouador4747
    @mouador47474 жыл бұрын

    Another question please How can I get the value of date ssh connection that is mentionned in login banner (PrintLastLog yes) without using the command last or lastlog

  • @ServerGyan

    @ServerGyan

    4 жыл бұрын

    Just check /var/log/auth.log

  • @mouador4747

    @mouador4747

    4 жыл бұрын

    @@ServerGyan thanks for the reply Actually I code a script to audit our parc The prb is the option (-F) of the command last doesn't work in RHEL 5, that gives me the complete date with year field in RHEL7&6, that's why I need that value from ssh banner We have RHEL hosts from 3 to 7 If you have any suggestions you're welcome Thanks a lot

  • @ServerGyan

    @ServerGyan

    4 жыл бұрын

    Sure dear, I will check if I have rhel 5 and get back to you. Moreover, you can try auditd

  • @sangitamalav4969
    @sangitamalav4969 Жыл бұрын

    How to resolve df -kh hung issue ?

  • @hemanthreddy248
    @hemanthreddy2484 жыл бұрын

    Sir can you provide aws terraform tutorial

  • @shivprasadgurjar487
    @shivprasadgurjar4873 жыл бұрын

    how can you help me, i am looking for storage and backup solution

  • @chittururamana590
    @chittururamana590 Жыл бұрын

    Of course, you are lecturing in a suitable manner even though you are not explaining from its root level..please take 5 questions atleast and explain completely ...in this lecture you r not given clearity about some questions... please lecture slowly,becoz i hope you r a great lecturer but please go slowly and explain slow with an understanding way...i am very sorry sir...

  • @i.suavee
    @i.suavee Жыл бұрын

    here any of the notes i click on. Any idea why? (I'm a beginner)

  • @siyaramkumar9912
    @siyaramkumar99124 жыл бұрын

    hi sir i have qa question. in my interview session create 2 user and give the permission of first user to read and write the server and second user have only read permission of that server. is it possible? if possible tell me the command because i search on google but never find that type question or command.

  • @ServerGyan

    @ServerGyan

    4 жыл бұрын

    Sure dear, I will explain it

  • @ServerGyan

    @ServerGyan

    4 жыл бұрын

    Hello Dear, You can find the answer to your question in today's video.

  • @lakshayarora3935
    @lakshayarora39354 жыл бұрын

    good video. Please create some troubleshooting and project related videos on jenkins, ansible and git Many Thanks for your help.

  • @ServerGyan

    @ServerGyan

    4 жыл бұрын

    Sure dear, I will create video on troubleshooting

  • @rajdeepchatterjee9035
    @rajdeepchatterjee9035 Жыл бұрын

    Sir How to up the processes?

  • @srikanthhousenoor1845
    @srikanthhousenoor18454 жыл бұрын

    Hi Sir its a kind request you to answer my question quickly that if i wnt to do patch on 4 servers without downtime how will i do..!

  • @moizshaikh4480

    @moizshaikh4480

    Жыл бұрын

    In industry, Patching is done with Ansible Roles and Redhat Satelite servers. We can patch multiple servers at same time. No downtime required for this activity.

  • @amitsinghnegi8102
    @amitsinghnegi81024 жыл бұрын

    superbbbbbbbbbbb

  • @ankitvarshney5989
    @ankitvarshney59894 жыл бұрын

    Hi Sir, I have a question asked in the interview. A user has launched one EC2 instance in the US West region. The user wants to access the RDS instance launched in the US East region from that EC2 instance. How can the user configure the access for that EC2 instance?

  • @jskr456

    @jskr456

    3 жыл бұрын

    I think you can access RDS from any region using Endpoint, you need to allow connection from ec2 by adding its public ip address in RDS. correct me if I am wrong.

  • @ServerGyan

    @ServerGyan

    3 жыл бұрын

    Yes we can add But this brings latency

  • @Hanake_Artist
    @Hanake_Artist3 жыл бұрын

    Plz make video on a performance tunning

  • @ServerGyan

    @ServerGyan

    3 жыл бұрын

    Okay dear I will plan and create the same

  • @tekendrasharma2250
    @tekendrasharma22503 жыл бұрын

    i did'nt understand how i can create space on disk if its 100 % full

  • @Ana-vd1rl
    @Ana-vd1rl Жыл бұрын

    Make L2 LEVEL QUESTIONS

  • @diwakarsingh3808
    @diwakarsingh38083 жыл бұрын

    I have qstn.. that if their is file named abc.. and there are 100 file having the same name in any directory. So if i wnt to know last modified file only.. Then which cmd i have to use so any last modified file will be visible as output except those 99 one's. Plz ans this.

  • @ServerGyan

    @ServerGyan

    3 жыл бұрын

    hello dear Run ls-lrth command as it will show last modified files

  • @diwakarsingh3808

    @diwakarsingh3808

    3 жыл бұрын

    @@ServerGyan wht does small r indicates here ? And sir we have use file name e.g abc after this cmd.. becuase i want to particular file from anywhere .. and their are 100 files having the same name.. I only need last modified file named abc.. How can I ?

  • @ServerGyan

    @ServerGyan

    3 жыл бұрын

    R is used for recursive

  • @diwakarsingh3808

    @diwakarsingh3808

    3 жыл бұрын

    @@ServerGyan thank uh so mch..

  • @naveenrr2123
    @naveenrr21235 ай бұрын

    Most of the information was given us not very relevant, please correct the video with updated details like on Sar -q

  • @ramireddypoli8873
    @ramireddypoli88733 жыл бұрын

    my hard disk was not full but if we are writing files it shows hard disk full will you please give answer sir thank you sir

  • @ServerGyan

    @ServerGyan

    3 жыл бұрын

    Please check inode if available to use for creating files

  • @karamjeetdalal3024
    @karamjeetdalal30244 жыл бұрын

    thanks sir..

  • @ServerGyan

    @ServerGyan

    4 жыл бұрын

    Welcome dear, happy learning

  • @pinkyshashank
    @pinkyshashank3 жыл бұрын

    one morething most of the commands are not same in cento and ubuntu please try to make vedio particulr to ubuntu as most of the interviews wil be on ubuntu

  • @abhinavpaul5960
    @abhinavpaul59604 жыл бұрын

    differnece between df -ht and du- ?

  • @moizshaikh4480

    @moizshaikh4480

    Жыл бұрын

    df -hT shows you disks space along with filesystem type and Du is used inside / for check size of directories.(disk utilization)

  • @KrishnaRac
    @KrishnaRac2 жыл бұрын

    Interview question : How to change user from one group to other

  • @ServerGyan

    @ServerGyan

    2 жыл бұрын

    user mod -G user newgrp

  • @sheetalrajput9203
    @sheetalrajput9203 Жыл бұрын

    sir is it compulsory to learn AWS after linux for getting job or not ? plz sir reply ?

  • @moizshaikh4480

    @moizshaikh4480

    Жыл бұрын

    Yes mam. Bcoz for survive in industry, only linux admin is not enough. So along with OS you will need to technology like Aws. Once you become expert in AWS then you can go with DevOps. After mastering devOps you can move into "Security". This is Career path after linux admin. Along with time and upgrading to new technology ,you will get much better hike.

  • @karamjeetdalal3024
    @karamjeetdalal30243 жыл бұрын

    Hello Sir warning: boot has failed. to debug the issue add "rd.shell rd.debug" to the kernel command line. system halted. this issue is coming , Plz guide how to resolve the issue.

  • @moizshaikh4480

    @moizshaikh4480

    Жыл бұрын

    HeY bro i can help you with trouble shooting. Can u please share with me error screenshot?? So that i can assist you accordingly.

  • @moizshaikh4480

    @moizshaikh4480

    Жыл бұрын

    Some one has made changes in Kernel file thats why your system booting is getting failed. So we will need to check kernel file.

  • @nitinrawat9477
    @nitinrawat94774 жыл бұрын

    Around 1.5-2 months back i repeatedly asked u about difference between permissions given by chmod and suid ....but despite saying you would include it in ur coming videos...u never answered it or included it in any of ur videos.........

  • @moizshaikh4480

    @moizshaikh4480

    Жыл бұрын

    @nitinrawat9477 Hey bro, Chmod comes under category permission and Suid comes under special permission. With chmod permission you can run only normal commands but with suid permission you can run super user commands allowed by root user and its gets tracked in a particular directory. Thats the diffrence bro.hope i have clarified your dought.

  • @diwakarsingh3808
    @diwakarsingh38083 жыл бұрын

    Sir please ans of my question..

  • @ServerGyan

    @ServerGyan

    3 жыл бұрын

    ls -lrth

  • @diwakarsingh3808

    @diwakarsingh3808

    3 жыл бұрын

    Thank you sir but explain me little bit more acc to my qstn ..

  • @kalishaabdul102
    @kalishaabdul1023 жыл бұрын

    Bro y your videos are not playing...

  • @ServerGyan

    @ServerGyan

    3 жыл бұрын

    Which video you are talking about

  • @kalishaabdul102

    @kalishaabdul102

    3 жыл бұрын

    @@ServerGyan hey sorry bro.. just now I rectify the issue is from my side.. actually I downloaded every important video of yours in my youtube playlist.. but unfortunately those videos are deleted.. just now I removed those videos from my playlist and re downloaded your videos.. ( We need more stuff videos from your side..) 👍 ❤️❤️❤️

  • @ServerGyan

    @ServerGyan

    3 жыл бұрын

    Sure dear

  • @newbollywoodsongs9976
    @newbollywoodsongs99764 жыл бұрын

    is it possible to change root name for ssh login

  • @ServerGyan

    @ServerGyan

    4 жыл бұрын

    Changing root name is not suggested, as it is a superuser and preforms multiple things.

Келесі