linux top interview questions and answers for experienced with Example

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

КОМЕНТАРІ • 61

  • @kushgupta5772
    @kushgupta5772 10 місяців тому +1

    Very infomatically videos clasess Thankx sir

  • @namitgupta352
    @namitgupta352 9 місяців тому +1

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

  • @akhilakki8574
    @akhilakki8574 4 роки тому +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  4 роки тому

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

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

    Excellent Sessions.

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

    Excellent video plz continue

  • @nagendrajosh
    @nagendrajosh 4 роки тому +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  4 роки тому +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 4 роки тому

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

  • @kushgupta5772
    @kushgupta5772 10 місяців тому +1

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

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

    Super bro, upload more interview video on linex

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

    Great teacher.

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

    Thank you anna for giving information

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

      Welcome Subba, Happy Learning

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

    Great Video sir ...keep it up 👍

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

      Thank you dear, happy learning

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

    Thank you

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

    Very nice

  • @dillibabu5165
    @dillibabu5165 4 роки тому +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  4 роки тому

      Sure dear, I will explain shall scripts

  • @nitinrawat9477
    @nitinrawat9477 4 роки тому +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  4 роки тому +1

      Okay, u will add in today's video

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

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

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

      Sure dear
      I will do that in coming time

  • @nandhiniselvaraj3454
    @nandhiniselvaraj3454 8 місяців тому

    Please make a video for shell scripts?

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

    Hi Sir, please make video on TCPDUMP and Strace

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

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

  • @anilKumar-wm1bg
    @anilKumar-wm1bg 3 роки тому +1

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

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

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

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

    Thanks

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

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

  • @anilKumar-wm1bg
    @anilKumar-wm1bg 3 роки тому +2

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

    • @ServerGyan
      @ServerGyan  3 роки тому +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

  • @tejav143
    @tejav143 4 роки тому +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  4 роки тому

      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

  • @DabPanda710
    @DabPanda710 4 роки тому +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  4 роки тому

      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.

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

    Plz Upoload real time scenarios..

  • @Sneha-iu6nq
    @Sneha-iu6nq 4 роки тому +1

    Sir
    Please upload aws from the very basic

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

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

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

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

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

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

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

      Thank you very much for your quick response

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

    You have missed couple of questions in between related to bashrc

  • @Sneha-iu6nq
    @Sneha-iu6nq 4 роки тому +1

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

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

      Dear Bharat,
      Can you please elaborate your question?

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

    Next video when will u update

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

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

  • @kuntlamanikantaswamy3095
    @kuntlamanikantaswamy3095 4 місяці тому

    Hai sir plese telme pitr

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

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

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

      Dear srikanth,
      Next video is coming today

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

    How to restore the grub if it's deleted

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

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

  • @cutting-edgehub5360
    @cutting-edgehub5360 Рік тому

    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 Рік тому

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