{"id":6938,"date":"2019-10-07T11:09:13","date_gmt":"2019-10-07T11:09:13","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=6938"},"modified":"2020-05-28T07:17:19","modified_gmt":"2020-05-28T07:17:19","slug":"linux-interview-questions-and-answer-part-7","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/linux-interview-questions-and-answer-part-7\/","title":{"rendered":"Linux Interview Questions and Answer &#8211; Part 7"},"content":{"rendered":"\n<ul class=\"wp-block-list\"><li>What is the name and the UID of the administrator user?<\/li><li>How to list all files, including hidden ones, in a directory?<\/li><li>What is the Unix\/Linux command to remove a directory and its contents?<\/li><li>Which command will show you free\/used memory? Does free memory exist on Linux?<\/li><li>How to search for the string &#8220;my konfu is the best&#8221; in files of a directory recursively?<\/li><li>How to connect to a remote server or what is SSH?<\/li><li>How to get all environment variables and how can you use them?<\/li><li>I get &#8220;command not found&#8221; when I run&nbsp;<code>ifconfig -a<\/code>. What can be wrong?<\/li><li>What happens if I type TAB-TAB?<\/li><li>What command will show the available disk space on the Unix\/Linux system?<\/li><li>What commands do you know that can be used to check DNS records?<\/li><li>What Unix\/Linux commands will alter a files ownership, files permissions?<\/li><li>What does&nbsp;<code>chmod +x FILENAME<\/code>&nbsp;do?<\/li><li>What does the permission 0750 on a file mean?<\/li><li>What does the permission 0750 on a directory mean?<\/li><li>How to add a new system user without login permissions?<\/li><li>How to add\/remove a group from a user?<\/li><li>What is a bash alias?<\/li><li>How do you set the mail address of the root\/a user?<\/li><li>What does CTRL-c do?<\/li><li>What does CTRL-d do?<\/li><li>What does CTRL-z do?<\/li><li>What is in \/etc\/services?<\/li><li>How to redirect STDOUT and STDERR in bash? (&gt; \/dev\/null 2&gt;&amp;1)<\/li><li>What is the difference between UNIX and Linux.<\/li><li>What is the difference between Telnet and SSH?<\/li><li>Explain the three load averages and what do they indicate. What command can be used to view the load averages?<\/li><li>Can you name a lower-case letter that is not a valid option for GNU&nbsp;<code>ls<\/code>?<\/li><li>What is a Linux kernel module?<\/li><li>Walk me through the steps in booting into single user mode to troubleshoot a problem.<\/li><li>Walk me through the steps you&#8217;d take to troubleshoot a 404 error on a web application you administer.<\/li><li>What is ICMP protocol? Why do you need to use?<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>What is the name and the UID of the administrator user? How to list all files, including hidden ones, in a directory? What is the Unix\/Linux command to remove a&#8230; <\/p>\n","protected":false},"author":1,"featured_media":7810,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[4957],"tags":[],"class_list":["post-6938","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/6938","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=6938"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/6938\/revisions"}],"predecessor-version":[{"id":6939,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/6938\/revisions\/6939"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media\/7810"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=6938"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=6938"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=6938"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}