Linux Interview Questions and Answers with Practical - Real Time

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ส.ค. 2024
  • 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

  • @md.shahnawazkhan9932
    @md.shahnawazkhan9932 4 ปีที่แล้ว +8

    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.

  • @gtmixtape2416
    @gtmixtape2416 3 ปีที่แล้ว +22

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

  • @atanupal9776
    @atanupal9776 2 ปีที่แล้ว +11

    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?

  • @saisumanth2289
    @saisumanth2289 หลายเดือนก่อน

    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

  • @tabrezkhan453
    @tabrezkhan453 3 ปีที่แล้ว +6

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

  • @MySidhartha
    @MySidhartha 4 ปีที่แล้ว +4

    Please create a separate video on troubleshooting only.

  • @sureshk9160
    @sureshk9160 3 ปีที่แล้ว +2

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

    • @ServerGyan
      @ServerGyan  3 ปีที่แล้ว +1

      Sure dear
      I will keep it uploading

  • @devops_singh
    @devops_singh 4 ปีที่แล้ว +5

    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.

  • @prabhakard3247
    @prabhakard3247 4 ปีที่แล้ว +1

    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

  • @shridharsofts
    @shridharsofts 4 ปีที่แล้ว

    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

  • @speniji3
    @speniji3 4 ปีที่แล้ว +1

    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.

  • @hrfighter7980
    @hrfighter7980 4 ปีที่แล้ว

    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 ..................................

  • @nikhilSharma-zl3px
    @nikhilSharma-zl3px 2 ปีที่แล้ว

    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

  • @prabhakarant542
    @prabhakarant542 4 ปีที่แล้ว +1

    Very good information Thank you so much

  • @balrajgk435
    @balrajgk435 4 ปีที่แล้ว

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

  • @joshiv027
    @joshiv027 4 ปีที่แล้ว +2

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

    • @ServerGyan
      @ServerGyan  4 ปีที่แล้ว

      Welcome dear
      Happy learning

  • @preciouspearl5957
    @preciouspearl5957 3 ปีที่แล้ว +1

    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

  • @sinishapk813
    @sinishapk813 2 ปีที่แล้ว +1

    Good presentation 👍

  • @mouador4747
    @mouador4747 4 ปีที่แล้ว +2

    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 ปีที่แล้ว +1

      @@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 ปีที่แล้ว +1

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

  • @ssp4039
    @ssp4039 2 ปีที่แล้ว +1

    Pls pls pls upload more linux interview questions

  • @urvashibhatia9200
    @urvashibhatia9200 4 ปีที่แล้ว

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

  • @ramireddypoli8873
    @ramireddypoli8873 3 ปีที่แล้ว +1

    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

  • @komedybideos
    @komedybideos ปีที่แล้ว

    please create separate video on troubleshooting sir.

  • @samiryadav4538
    @samiryadav4538 ปีที่แล้ว

    One of the best video..

  • @tabrezkhan453
    @tabrezkhan453 3 ปีที่แล้ว

    Please make a video on troubleshooting.

  • @asifhu4091
    @asifhu4091 ปีที่แล้ว

    Please make video on trouble shooting issues

  • @siyaramkumar9912
    @siyaramkumar9912 4 ปีที่แล้ว +2

    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.

  • @shivananduppar1130
    @shivananduppar1130 4 ปีที่แล้ว

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

  • @SilentSolution
    @SilentSolution 2 ปีที่แล้ว +1

    Thank you sir for uploading vedio sir

    • @ServerGyan
      @ServerGyan  2 ปีที่แล้ว

      Happy learning dear

  • @shivprasadgurjar487
    @shivprasadgurjar487 4 ปีที่แล้ว +1

    Very useful information brother

    • @ServerGyan
      @ServerGyan  4 ปีที่แล้ว

      Thanks dear
      Happy learning

  • @ankitvarshney5989
    @ankitvarshney5989 4 ปีที่แล้ว +1

    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 4 ปีที่แล้ว +1

      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  4 ปีที่แล้ว +1

      Yes we can add
      But this brings latency

  • @srikanthhousenoor1845
    @srikanthhousenoor1845 4 ปีที่แล้ว +1

    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.

  • @hemanthreddy248
    @hemanthreddy248 4 ปีที่แล้ว +1

    Sir can you provide aws terraform tutorial

  • @AsifAliRizwaan
    @AsifAliRizwaan ปีที่แล้ว

    The sar command collects and reports system activity information.

  • @rajdeepchatterjee9035
    @rajdeepchatterjee9035 ปีที่แล้ว

    Sir How to up the processes?

  • @asifhu4091
    @asifhu4091 ปีที่แล้ว

    Please make video on disaster recovery in rhel

  • @lakshayarora3935
    @lakshayarora3935 4 ปีที่แล้ว +1

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

    • @ServerGyan
      @ServerGyan  4 ปีที่แล้ว +1

      Sure dear, I will create video on troubleshooting

  • @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...

  • @naveenrr2123
    @naveenrr2123 7 หลายเดือนก่อน +1

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

  • @sureshk12888
    @sureshk12888 3 ปีที่แล้ว

    Good presentation

  • @Hanake_Artist
    @Hanake_Artist 3 ปีที่แล้ว +1

    Plz make video on a performance tunning

    • @ServerGyan
      @ServerGyan  3 ปีที่แล้ว

      Okay dear
      I will plan and create the same

  • @fahimparvez
    @fahimparvez 3 ปีที่แล้ว

    Awesome, well explained 👍

  • @diwakarsingh3808
    @diwakarsingh3808 3 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

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

    • @diwakarsingh3808
      @diwakarsingh3808 3 ปีที่แล้ว +1

      @@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 ปีที่แล้ว +1

      R is used for recursive

    • @diwakarsingh3808
      @diwakarsingh3808 3 ปีที่แล้ว +1

      @@ServerGyan thank uh so mch..

  • @i.suavee
    @i.suavee ปีที่แล้ว

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

  • @sangitamalav4969
    @sangitamalav4969 ปีที่แล้ว

    How to resolve df -kh hung issue ?

  • @bibhudattasahoo2174
    @bibhudattasahoo2174 3 ปีที่แล้ว

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

  • @avcoe123
    @avcoe123 3 ปีที่แล้ว +1

    Thanks

  • @sairamn2863
    @sairamn2863 4 ปีที่แล้ว

    Awesome... 👌👌

  • @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.

  • @RavindraKumar-to4zl
    @RavindraKumar-to4zl 4 ปีที่แล้ว

    great work.. thanks

  • @ausometv2415
    @ausometv2415 ปีที่แล้ว

    Thank you sir

  • @wtalwade
    @wtalwade 3 ปีที่แล้ว

    Thanks a lot sir..

  • @tekendrasharma2250
    @tekendrasharma2250 3 ปีที่แล้ว

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

  • @Mhmdd786
    @Mhmdd786 4 ปีที่แล้ว

    Thank you sir...

  • @shivprasadgurjar487
    @shivprasadgurjar487 4 ปีที่แล้ว

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

  • @pinkyshashank
    @pinkyshashank 3 ปีที่แล้ว

    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

  • @KrishnaRac
    @KrishnaRac 2 ปีที่แล้ว +1

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

    • @ServerGyan
      @ServerGyan  2 ปีที่แล้ว +1

      user mod -G user newgrp

  • @mrlight1997
    @mrlight1997 11 หลายเดือนก่อน

  • @abhinavpaul5960
    @abhinavpaul5960 4 ปีที่แล้ว

    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)

  • @nitinrawat9477
    @nitinrawat9477 4 ปีที่แล้ว

    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.

  • @karamjeetdalal3024
    @karamjeetdalal3024 3 ปีที่แล้ว

    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.

  • @Ana-vd1rl
    @Ana-vd1rl ปีที่แล้ว

    Make L2 LEVEL QUESTIONS

  • @kalishaabdul102
    @kalishaabdul102 4 ปีที่แล้ว +1

    Bro y your videos are not playing...

    • @ServerGyan
      @ServerGyan  4 ปีที่แล้ว +1

      Which video you are talking about

    • @kalishaabdul102
      @kalishaabdul102 4 ปีที่แล้ว +1

      @@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  4 ปีที่แล้ว +1

      Sure dear

  • @amitsinghnegi8102
    @amitsinghnegi8102 4 ปีที่แล้ว +1

    superbbbbbbbbbbb

  • @diwakarsingh3808
    @diwakarsingh3808 3 ปีที่แล้ว +1

    Sir please ans of my question..

    • @ServerGyan
      @ServerGyan  3 ปีที่แล้ว +1

      ls -lrth

    • @diwakarsingh3808
      @diwakarsingh3808 3 ปีที่แล้ว

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

  • @karamjeetdalal3024
    @karamjeetdalal3024 4 ปีที่แล้ว +1

    thanks sir..

    • @ServerGyan
      @ServerGyan  4 ปีที่แล้ว

      Welcome dear, happy learning

  • @newbollywoodsongs9976
    @newbollywoodsongs9976 4 ปีที่แล้ว +1

    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.