Linux Interview Questions and Answers with Practical - Real Time

Поделиться
HTML-код
  • Опубликовано: 15 апр 2020
  • 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?

Комментарии • 101

  • @atanupal9776
    @atanupal9776 2 года назад +10

    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?

  • @tabrezkhan453
    @tabrezkhan453 2 года назад +5

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

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

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

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

  • @balrajgk435
    @balrajgk435 4 года назад

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

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

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

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

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

  • @prabhakarant542
    @prabhakarant542 4 года назад +1

    Very good information Thank you so much

  • @joshiv027
    @joshiv027 3 года назад +2

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

    • @ServerGyan
      @ServerGyan  3 года назад

      Welcome dear
      Happy learning

  • @fahimparvez
    @fahimparvez 3 года назад

    Awesome, well explained 👍

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

  • @samiryadav4538
    @samiryadav4538 Год назад

    One of the best video..

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

  • @MySidhartha
    @MySidhartha 3 года назад +4

    Please create a separate video on troubleshooting only.

  • @RavindraKumar-to4zl
    @RavindraKumar-to4zl 4 года назад

    great work.. thanks

  • @sinishapk813
    @sinishapk813 Год назад +1

    Good presentation 👍

  • @urvashibhatia9200
    @urvashibhatia9200 4 года назад

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

  • @sairamn2863
    @sairamn2863 4 года назад

    Awesome... 👌👌

  • @sureshk12888
    @sureshk12888 2 года назад

    Good presentation

  • @Mhmdd786
    @Mhmdd786 4 года назад

    Thank you sir...

  • @wtalwade
    @wtalwade 3 года назад

    Thanks a lot sir..

  • @ausometv2415
    @ausometv2415 11 месяцев назад

    Thank you sir

  • @avcoe123
    @avcoe123 2 года назад +1

    Thanks

  • @shivprasadgurjar487
    @shivprasadgurjar487 3 года назад +1

    Very useful information brother

    • @ServerGyan
      @ServerGyan  3 года назад

      Thanks dear
      Happy learning

  • @tabrezkhan453
    @tabrezkhan453 2 года назад

    Please make a video on troubleshooting.

  • @ssp4039
    @ssp4039 2 года назад +1

    Pls pls pls upload more linux interview questions

  • @shivananduppar1130
    @shivananduppar1130 4 года назад

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

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

  • @komedybideos
    @komedybideos 11 месяцев назад

    please create separate video on troubleshooting sir.

  • @SilentSolution
    @SilentSolution 2 года назад +1

    Thank you sir for uploading vedio sir

  • @asifhu4091
    @asifhu4091 11 месяцев назад

    Please make video on trouble shooting issues

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

  • @mrlight1997
    @mrlight1997 8 месяцев назад

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

  • @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 3 года назад +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  3 года назад +1

      Yes we can add
      But this brings latency

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

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

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

  • @AsifAliRizwaan
    @AsifAliRizwaan Год назад

    The sar command collects and reports system activity information.

  • @asifhu4091
    @asifhu4091 11 месяцев назад

    Please make video on disaster recovery in rhel

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

  • @sangitamalav4969
    @sangitamalav4969 Год назад

    How to resolve df -kh hung issue ?

  • @amitsinghnegi8102
    @amitsinghnegi8102 4 года назад +1

    superbbbbbbbbbbb

  • @bibhudattasahoo2174
    @bibhudattasahoo2174 3 года назад

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

  • @shivprasadgurjar487
    @shivprasadgurjar487 3 года назад

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

  • @hemanthreddy248
    @hemanthreddy248 4 года назад +1

    Sir can you provide aws terraform tutorial

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

  • @Ana-vd1rl
    @Ana-vd1rl Год назад

    Make L2 LEVEL QUESTIONS

  • @naveenrr2123
    @naveenrr2123 5 месяцев назад +1

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

  • @rajdeepchatterjee9035
    @rajdeepchatterjee9035 Год назад

    Sir How to up the processes?

  • @tekendrasharma2250
    @tekendrasharma2250 3 года назад

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

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

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

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

  • @karamjeetdalal3024
    @karamjeetdalal3024 4 года назад +1

    thanks sir..

    • @ServerGyan
      @ServerGyan  4 года назад

      Welcome dear, happy learning

  • @KrishnaRac
    @KrishnaRac 2 года назад +1

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

    • @ServerGyan
      @ServerGyan  2 года назад +1

      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.

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

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

  • @kalishaabdul102
    @kalishaabdul102 3 года назад +1

    Bro y your videos are not playing...

    • @ServerGyan
      @ServerGyan  3 года назад +1

      Which video you are talking about

    • @kalishaabdul102
      @kalishaabdul102 3 года назад +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  3 года назад +1

      Sure dear

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

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