Linux Interview Questions and Answers with Practical - Real Time

Поділитися
Вставка
  • Опубліковано 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?

КОМЕНТАРІ • 102

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

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

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

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

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

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

  • @fahimparvez
    @fahimparvez 3 роки тому

    Awesome, well explained 👍

  • @nikhilSharma-zl3px
    @nikhilSharma-zl3px 2 роки тому

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

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

  • @samiryadav4538
    @samiryadav4538 Рік тому

    One of the best video..

  • @RavindraKumar-to4zl
    @RavindraKumar-to4zl 4 роки тому

    great work.. thanks

  • @joshiv027
    @joshiv027 3 роки тому +2

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

    • @ServerGyan
      @ServerGyan  3 роки тому

      Welcome 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

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

  • @saisumanth2289
    @saisumanth2289 6 днів тому

    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

  • @Mhmdd786
    @Mhmdd786 4 роки тому

    Thank you sir...

  • @sinishapk813
    @sinishapk813 Рік тому +1

    Good presentation 👍

  • @sairamn2863
    @sairamn2863 4 роки тому

    Awesome... 👌👌

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

  • @wtalwade
    @wtalwade 3 роки тому

    Thanks a lot sir..

  • @ausometv2415
    @ausometv2415 Рік тому

    Thank you sir

  • @avcoe123
    @avcoe123 2 роки тому +1

    Thanks

  • @sureshk12888
    @sureshk12888 3 роки тому

    Good presentation

  • @MySidhartha
    @MySidhartha 4 роки тому +4

    Please create a separate video on troubleshooting only.

  • @urvashibhatia9200
    @urvashibhatia9200 4 роки тому

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

  • @shivprasadgurjar487
    @shivprasadgurjar487 3 роки тому +1

    Very useful information brother

    • @ServerGyan
      @ServerGyan  3 роки тому

      Thanks dear
      Happy learning

  • @ssp4039
    @ssp4039 2 роки тому +1

    Pls pls pls upload more linux interview questions

  • @SilentSolution
    @SilentSolution 2 роки тому +1

    Thank you sir for uploading vedio sir

  • @shivananduppar1130
    @shivananduppar1130 4 роки тому

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

  • @tabrezkhan453
    @tabrezkhan453 2 роки тому

    Please make a video on troubleshooting.

  • @mrlight1997
    @mrlight1997 9 місяців тому

  • @komedybideos
    @komedybideos Рік тому

    please create separate video on troubleshooting sir.

  • @asifhu4091
    @asifhu4091 11 місяців тому

    Please make video on trouble shooting issues

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

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

  • @amitsinghnegi8102
    @amitsinghnegi8102 4 роки тому +1

    superbbbbbbbbbbb

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

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

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

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

  • @asifhu4091
    @asifhu4091 11 місяців тому

    Please make video on disaster recovery in rhel

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

  • @AsifAliRizwaan
    @AsifAliRizwaan Рік тому

    The sar command collects and reports system activity information.

  • @shivprasadgurjar487
    @shivprasadgurjar487 3 роки тому

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

  • @Ana-vd1rl
    @Ana-vd1rl Рік тому

    Make L2 LEVEL QUESTIONS

  • @karamjeetdalal3024
    @karamjeetdalal3024 4 роки тому +1

    thanks sir..

    • @ServerGyan
      @ServerGyan  4 роки тому

      Welcome dear, happy learning

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

  • @hemanthreddy248
    @hemanthreddy248 4 роки тому +1

    Sir can you provide aws terraform tutorial

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

  • @KrishnaRac
    @KrishnaRac 2 роки тому +1

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

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

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

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

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

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

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

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

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

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

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

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