linux top interview questions and answers for experienced with Example

Sdílet
Vložit
  • čas přidán 24. 01. 2020
  • In this video, I am going to explain the interview questions and answers with practical.
    How to check Kernel Version of Linux OS?
    How to check IP address of server?
    How to check default gateway of server?
    What is ulimit?
    How to check which RPM has created /etc/passwd file?
    Disk space is still full even after deleting a file of 5GB?
    How to ssh to your server?
    Sudo bash vs sudo su -
    What is use of /home/user/.bash_profile?
    How to create alias of a command?
    What is use of ~/.bashrc?
    What is use of curl?
    What is use of wget?
    What is file name to manage dns entires on Linux?
    What is use of /etc/hosts entires?
    What is use of W command?
    How to kill all process of any user?
    How to mount disk permanently?
    How to check hidden files and how to create it?
    How to start process at start up time?
    What does nameless directory represent?
    How do you check for free disk space?
    How do you manage services on a server?
    How do you check size of a directory or file on your system?
    How do you check open port on Linux Servers?
    How do you check CPU usage for a process?
    How do you deal with mounting partitions?
    How do you find use of a command you don’t know?
    How to check if ACL is set on a file?
    What command do you use to check attribute of a file?
    What would happen if I remove execute permission from a directory?
    I am getting message (No Space Left On Device) and df -Th show 50G free?
    How to check if OS is running on Virtual of Physical Machine?
    How to change owner and Group of a file?
    What is use of NMAP command?
    How to remove an INODE from Linux File system?

Komentáře • 61

  • @kushgupta5772
    @kushgupta5772 Před 9 měsíci +1

    Very infomatically videos clasess Thankx sir

  • @akhilakki8574
    @akhilakki8574 Před 4 lety +6

    I'm searching for a job, this video is Very important video for me sir.... To learn interview point of questions... Please continue this video sir .. thank you

    • @ServerGyan
      @ServerGyan  Před 4 lety

      Thanks, Akhil for your works, It matters a lot to me.

  • @smahesh9211
    @smahesh9211 Před 3 lety +1

    Excellent Sessions.

  • @prabhakarant542
    @prabhakarant542 Před 4 lety +1

    Excellent video plz continue

  • @namitgupta352
    @namitgupta352 Před 8 měsíci +1

    Thank you. I'm preparing for the interviews for Canonical.

  • @naumansiddique645
    @naumansiddique645 Před rokem

    Great teacher.

  • @kiruthigasubramanian7737

    Thank you

  • @vipinkaushal2560
    @vipinkaushal2560 Před 4 lety +1

    Great Video sir ...keep it up 👍

  • @ssmeo5771
    @ssmeo5771 Před 4 lety +1

    Thank you anna for giving information

  • @nagendrajosh
    @nagendrajosh Před 4 lety +1

    Hello brother, thanks for helping Us!!!
    I have a questions which was asked me in an interviewers?
    1. How to reduce the size of 5gb docker image?
    2. A file contains 100 lines or some lines. How to print some like servergyan data in a file on wherever or which line it is in that file??
    3. what is webhooks in git?
    4. How to find a file in entire linux server without knowing any path details? We have only file name?
    5. Write an Ansible playbook for downloading antivirus in 10 systems?

    • @ServerGyan
      @ServerGyan  Před 4 lety +3

      How to reduce the size of 5gb docker image?
      Copy only Required files in docker.
      Don't install additions software like vim nmap etc.
      Remove apt cache after installing software.
      Don't run apt-get install multiple times (but mentions all required package in one command)
      A file contains 100 lines or some lines. How to print some like servergyan data in a file on wherever or which line it is in that file??
      grep -r root /etc/passwd
      what is webhooks in git?
      This is used to trigger an event-based Jenkins build.
      How to find a file in entire linux server without knowing any path details? We have only file name?
      Use can use:_
      locate filename
      If locate command is not available you can use
      yum install mlocate -y ; updatedb
      Ansible playbool I will explain in some videos

    • @nagendrajosh
      @nagendrajosh Před 4 lety

      @@ServerGyan thank you so much brother for spending your valuable time for my questions...very helpful...thanks a lot

  • @dillibabu5165
    @dillibabu5165 Před 4 lety +2

    Thank you Soo much for this video bro..,can you kindly tell me what are the sample shell script/ python used in day to day Life by devops engineer

    • @ServerGyan
      @ServerGyan  Před 4 lety

      Sure dear, I will explain shall scripts

  • @rajeshe6853
    @rajeshe6853 Před 2 lety +1

    Super bro, upload more interview video on linex

  • @kushgupta5772
    @kushgupta5772 Před 9 měsíci +1

    Hi Sir, Good Morning Sir one video, what work is done on the live production and how is it done ?

  • @soubhagyashaktisingh2930
    @soubhagyashaktisingh2930 Před 3 lety +1

    Very nice

  • @hussainbasha4607
    @hussainbasha4607 Před 4 lety +1

    Thanks

    • @hussainbasha4607
      @hussainbasha4607 Před 4 lety

      This video very helpful for me. Please complete remaining questions as soon.

  • @Woolovetoyou
    @Woolovetoyou Před 3 lety +1

    Hi Sir, Can you upload kubernetes & container interview q&a along with practical scenario

    • @ServerGyan
      @ServerGyan  Před 3 lety

      Sure dear
      I will do that in coming time

  • @nandhiniselvaraj3454
    @nandhiniselvaraj3454 Před 7 měsíci

    Please make a video for shell scripts?

  • @abhimanyuvi
    @abhimanyuvi Před 4 lety +1

    Hi Sir, please make video on TCPDUMP and Strace

    • @ServerGyan
      @ServerGyan  Před 4 lety

      Okay, I was planning for network troubleshooting, thank you for your suggestions

  • @tejav143
    @tejav143 Před 4 lety +1

    My question is that " we are using web hooks in git and that will not triggering any build in Jenkins". How will we troubleshoot that Issue????

    • @ServerGyan
      @ServerGyan  Před 4 lety

      Hello dear, you need to check 3 things
      1- changes made to git
      2- Jenkins proper url given in github
      3- Jenkins job accepting webhook triggers

  • @anilKumar-wm1bg
    @anilKumar-wm1bg Před 3 lety +1

    superb, if application is down what would be the root cause and how to troubleshoot??

    • @ServerGyan
      @ServerGyan  Před 3 lety

      HI Anil,
      That will completely depend on the error code you get from the side of your applicaiton.

  • @tdp744
    @tdp744 Před 4 lety +1

    Plz Upoload real time scenarios..

  • @nitinrawat9477
    @nitinrawat9477 Před 4 lety +1

    what is difference between giving permission through chmod and suid?? please include this also in ur coming videos?? BTW g8 video..thanks ...

    • @ServerGyan
      @ServerGyan  Před 4 lety +1

      Okay, u will add in today's video

  • @Sneha-iu6nq
    @Sneha-iu6nq Před 4 lety +1

    Sir
    Please upload aws from the very basic

    • @ServerGyan
      @ServerGyan  Před 4 lety

      Sure Dear, Well Multiple videos are already there on Channel explaining basic things related to AWS.

  • @narendranukala8605
    @narendranukala8605 Před 4 lety +1

    If we have route added but no DNS entry, then can I get download anything from internet

    • @ServerGyan
      @ServerGyan  Před 4 lety +1

      Using IP address online, because DNS won’t be able to resolve name.

    • @narendranukala8605
      @narendranukala8605 Před 4 lety +1

      Thank you very much for your quick response

  • @anilKumar-wm1bg
    @anilKumar-wm1bg Před 3 lety +2

    Disk space is still full even after deleting a file of 5GB? i did not understand the explanation of this question

    • @ServerGyan
      @ServerGyan  Před 3 lety +2

      If a file is being used by any process and you delete it, operating system doesn’t release the disk space.
      In order to reclaim the space you need to figure out the file and service
      Then you can get space back

  • @Sneha-iu6nq
    @Sneha-iu6nq Před 4 lety +1

    Sir
    How to eject add-on harddisk from command in rhel 7

    • @ServerGyan
      @ServerGyan  Před 4 lety

      Dear Bharat,
      Can you please elaborate your question?

  • @AntiPakistani
    @AntiPakistani Před 4 lety

    You have missed couple of questions in between related to bashrc

  • @DabPanda710
    @DabPanda710 Před 4 lety +1

    I have a CSE: Linux Interview Coming up with AWS
    Feel free to send me any recommendations
    Excited to check these out

    • @ServerGyan
      @ServerGyan  Před 4 lety

      Hello Dear, Firstly, good luck for your coming interview, Moreover, I will suggest not to prepare for any specific organization. Just be ready for any interview which comes in future. I know you can do it in a very good manner.

  • @speniji3
    @speniji3 Před 4 lety +1

    Next video when will u update

    • @ServerGyan
      @ServerGyan  Před 4 lety +1

      Hello dear, it is scheduled for tomorrow 8:00 am

  • @ramyasai708
    @ramyasai708 Před 2 lety

    How to restore the grub if it's deleted

    • @ServerGyan
      @ServerGyan  Před 2 lety

      There is no backup file
      You can restore it in recovery mode

  • @kuntlamanikantaswamy3095
    @kuntlamanikantaswamy3095 Před 3 měsíci

    Hai sir plese telme pitr

  • @srikanthhousenoor1845
    @srikanthhousenoor1845 Před 4 lety +1

    #..Don't escape the questions brother.. try to explain all..

    • @ServerGyan
      @ServerGyan  Před 4 lety +1

      Dear srikanth,
      Next video is coming today

  • @cutting-edgehub5360
    @cutting-edgehub5360 Před rokem

    I have observed in most of your videos, either you simply skip few questions without even touching them or even if you touch them then you don't elaborate properly at all. In this video also you didn't speak about the question# 9,10 and 11 from the top. This is very disappointing. If you didn't have to elaborate them then why did you put them in the list ?? This is very frustrating and utter time waste that i have to google them separately. This is not about this video only. In most of your videos you have done such things..

  • @suthakarsush5688
    @suthakarsush5688 Před rokem

    ( Lsof | grep deleted ) here what you are actually trying to do...tell me clearly