July 5, 2016 | Author: Vijay Kumar Pulluri | Category: N/A
Linux Interview Questions_ Best Answers to Get That Job...
26/7/2014
Linux Interview Questions: Best answers to get that job
(https://www.udemy.com/blog? tc=blog.button)
Linux interview questions: Best answers to get your foot in the Linux door JANUARY 15, 2014 BY TIFFANY TAY (HTTPS://WWW.UDEMY.COM/BLOG/AUTHOR/TIFFANYTAY/)
TOP UDEMY COURSES (50% OFF FOR BLOG READERS):
Become a Web Developer from Scratch! (8100+ students) (https://www.udemy.com/how-to-becomea-web-developer-from-scratch/? tc=blog.widget.webdev.p&couponCode=blog13&utm _source=blog&utm_medium=udemyads&utm_conte nt=post0&utm_campaign=content-marketingblog&xref=blog)
(https://www.udemy.com/mastering-thelinux-command-line/?
Excel Mastery Course (1010+ students) (https://www.udemy.com/excel-mastery-coursepart-1-of-5-calculate/? tc=blog.widget.excel.p&couponCode=blog13&utm_s ource=blog&utm_medium=udemyads&utm_content =post0&utm_campaign=content-marketingtc=blog.linuxinterviewquestions&utm_source=blog&utm_medium=udemyads&utm_content=post27738&utm_campaign=contentblog&xref=blog)
marketing-blog&xref=blog)Linux is an open-source operating system. It has gained immense popularity through the years, setting the bar for ease-of-usability, high-grade security features, advanced shell scripting terminals, and free to users. Consequently, these great features of Linux have made the hiring process more competitive than ever. The good news is, technical questions asked during phone interviews and even face-to-face interviews tend to be fairly predictable. Employers rarely ever go into detailed technical scenarios. Even better, you will encounter many of the same technical questions at almost all interviews you attend. Read on to see the most commonly asked questions and answers at a Linux interview. If you’re new to Linux, here’s an introductory
course to setup, manage, and customize your
own Linux desktop. (https://www.udemy.com/introductiontolinux/?
Advanced Excel Training (42,660+ students) (https://www.udemy.com/advanced-excel/? tc=blog.widget.excel.p&couponCode=blog13&utm_s ource=blog&utm_medium=udemyads&utm_content =post0&utm_campaign=content-marketingblog&xref=blog) Coding for Entrepreneurs (4810+ students) (https://www.udemy.com/coding-forentrepreneurs/?
tc=blog.linuxinterviewquestions&utm_source=blog&utm_medium=udemyads&utm_content=post27738&utm_campaign=contenttc=blog.widget.coding.p&couponCode=blog13&utm_ marketing-blog&xref=blog) Let’s start with some basic questions that might not necessarily be asked (because they’re too easy) but are
source=blog&utm_medium=udemyads&utm_conten t=post0&utm_campaign=content-marketingblog&xref=blog)
essential basics everyone interested in Linux needs to know. What is the core of Linux Operating System? The core of the Linux operating system is Kernel. It is broken down into Shell, Command, Script, and Terminal. Shell is a command Line Interpreter, Command is user Instruction to Computer, Script is collection of commands stored in a file, and Terminal is a command Line Interface. What is the basic difference between UNIX and Linux Operating System? Linux is free and open-source software (allowing programmers to program with Linux not around it), the kernel of which is created by Linus Torvalds and community. UNIX, on the other hand, is UNIX is copyrighted name only big companies are allowed to use the UNIX copyright and name, so IBM AIX and Sun Solaris and HP-UX all are UNIX operating systems. What is an INODE? All files have its description stored in a structure called ‘inode’. The inode contains info about the file-size, access and modification time, permission and so on. In addition to descriptions about the file, the inode contains pointers
iOS Development Code Camp (1155+ students) (https://www.udemy.com/ios-development-codecamp/? tc=blog.widget.ios.p&couponCode=blog13&utm_sou rce=blog&utm_medium=udemyads&utm_content=p ost0&utm_campaign=content-marketingblog&xref=blog) Advanced Java Programming (735+ students) (https://www.udemy.com/advanced-javaprogramming/? tc=blog.widget.java.p&couponCode=blog13&utm_so urce=blog&utm_medium=udemyads&utm_content= post0&utm_campaign=content-marketingblog&xref=blog)
to the data blocks of the file. State the syntax of any Linux command. The correct syntax of Linux command is Command [options] [arguments]. Master
the Linux command
POPULAR POSTS
(https://www.udemy.com/blog/how-to-build-aniphone-app-from-scratch-for-non-technical-people/) How to Build an iPhone App from Scratch for line/? Non-Technical People: Your quick and dirty tc=blog.linuxinterviewquestions&utm_source=blog&utm_medium=udemyads&utm_content=post27738&utm_campaign=contentguide (https://www.udemy.com/blog/how-tomarketing-blog&xref=blog). build-an-iphone-app-from-scratch-for-nontechnical-people/)
line with this guide (https://www.udemy.com/mastering-the-linux-command-
Now let’s move on to the meatier questions that are more likely to be asked: What is the difference between TCP and UDP?
(https://www.udemy.com/blog/excel-formulas/) Excel Formulas: 10 Formulas That Helped Me Keep My Job
The basic difference is that TCP establishes a connection before sending data and this allows it to control the
(https://www.udemy.com/blog/excel-formulas/)
dataflow and guarantee that all packets get delivered. UDP simply chucks datagrams onto the wire and if some get lost or arrive in bad order there’s no way to request a resend. However UDP has low network overhead so some
https://www.udemy.com/blog/linux-interview-questions/
(https://www.udemy.com/blog/modern-
1/4
26/7/2014
Linux Interview Questions: Best answers to get that job
lost or arrive in bad order there’s no way to request a resend. However UDP has low network overhead so some
services such as DNS resolution, SNMP, DHCP, RIP and VOIP use UDP for its speed and any errors are usually dealt with on the application layer rather than network layer. How does DNS resolution work? A client application requests an IP address from the name server usually by connecting to UDP port 53. The name server will attempt to resolve the FQDN based on its resolver library, which may contain authoritative information about the host requested or cached data about that name from an earlier query. If the name server does not already have the answer, it will turn to root name servers to determine the authoritative for the FQDN in question. Then, with that information, it will query the authoritative name servers for that name to determine the IP address.
(https://www.udemy.com/blog/modernlanguage-wars/) Code Wars: Ruby vs Python vs PHP [Infographic] (https://www.udemy.com/blog/modernlanguage-wars/) (https://www.udemy.com/blog/bestprogramming-language/) Top 10 Programming Languages to Learn in 2014 (https://www.udemy.com/blog/bestprogramming-language/)
What is an MX record? An MX record numerically ranks the mail servers you would prefer to receive email for a domain. The MX record with the lowest number is preferred over the others, but you can set multiple email servers with the same value for simple load balancing. Please describe the Linux boot-up sequence. There are seven steps to the boot-up sequence. 1) BIOS (basic input/output system) – executes the MBR where Boot Loader sits, 2) MBR- Master boot reads Kernel into memory, 3) GRUB (Grand Unified Bootloader) Kernel starts Init process, 4) Kernel – Kernel executes the /sbin/init program. Init reads inittab, executes rc.sysinit, 5) Init – the rc script than starts services to reach the default run level and 6) Run level programs – these programs are executed from /etc/rc.d/rc*.dl/
(https://www.udemy.com/blog/how-to-addringtones-to-iphone/) How to Add Ringtones To Your iPhone (Updated for iOS 7) (https://www.udemy.com/blog/howto-add-ringtones-to-iphone/) (https://www.udemy.com/blog/bestpowerpoint-presentations/) 8 Best PowerPoint Presentations: How To Create Engaging Presentations (https://www.udemy.com/blog/bestpowerpoint-presentations/)
How do you search for a pattern and then replace it in an entire file? You use Sed, or in Vi editor, the search uses character ‘s’ slash the pattern to be searched, slash the pattern to replace it with, slash ‘g’ which stands for entire file. How do you list and flush all IPtables? First you use the –L switch to view all the currently present rules and then –F to flush them. What is a shell? What are their names? The shell is the part of the system with which the user interacts. A Unix shell interprets commands such as “pwd”, “cd” or “traceroute” and sends the proper instructions to the actual operating system itself. The shells currently available areAns SH, BASH, CSH, TCSH, NOLOGIN, KSH. Other functions of a shell include scripting capability, path memory, multitasking, and file handling.
(https://www.udemy.com/blog/java-interviewquestions/) Java Interview Questions: How to crack the TOP 15 questions (https://www.udemy.com/blog/java-interviewquestions/) (https://www.udemy.com/blog/drupal-vsjoomla-vs-wordpress/) Drupal vs Joomla vs WordPress: CMS Showdown [infographic] (https://www.udemy.com/blog/drupal-vsjoomla-vs-wordpress/)
What is a zombie? Cheeky answers get bonus points for this one. But in the Linux world, a zombie process is the process output of ‘ps’ by the presence of ‘Z’ in the STAT column. Zombies are essentially the premature processes whose mature parent processes died without reaping its children. Note that zombies can’t be killed with the usual ‘kill’ signal.
(https://www.udemy.com/blog/making-an-app/) Making an App: 6 Things You Should Consider Before Getting Started (https://www.udemy.com/blog/making-an-app/)
We hope this questions have helped you in your Linux interview preparation. If you’d like a more advanced tutorial
(https://www.udemy.com/blog/10-formulas-deexcel/) 10 Fórmulas de Excel para ser Más Productivo (https://www.udemy.com/linuxacademy/? (https://www.udemy.com/blog/10-formulas-detc=blog.linuxinterviewquestions&utm_source=blog&utm_medium=udemyads&utm_content=post27738&utm_campaign=contentexcel/) on Linux and running Linux administration, learn to run Linux
servers from scratch here
marketing-blog&xref=blog).
You may also like...
https://www.udemy.com/blog/linux-interview-questions/
2/4
26/7/2014
Linux Interview Questions: Best answers to get that job
(https://www.udemy.com/blog/unix(https://www.udemy.com/blog/learn(https://www.udemy.com/blog/change(https://www.udemy.com/blog/inshell-scripting-
linux/)
ssh-port/)
unix-shell-script/)
interview-questions/)
Learn Linux: The What,
Change SSH Port in
In Unix Shell Script:
Common UNIX Shell
The Why and The How
Four Simple Steps
Save Yourself Some
Scripting Interview
for the Linux Beginner
(https://www.udemy.com/blog/changeTime!
Questions
(https://www.udemy.com/blog/learnssh-port/)
(https://www.udemy.com/blog/unixlinux/)
(https://www.udemy.com/blog/inunix-shell-script/)
shell-scriptinginterview-questions/)
(https://www.udemy.com/blog/customer(https://www.udemy.com/blog/best(https://www.udemy.com/blog/scp(https://www.udemy.com/blog/linuxservice-skills/)
photo-editor/)
Customer Service
Best Photo Editors: Four The ‘SCP’ Command in
command-in-linux/)
syslog/)
Skills: More than
Packages That Stand
Linux – The Easiest Way Configuring a Logging
Providing Information
Out
to Copy Securely
Linux Syslog – Server
(https://www.udemy.com/blog/customer(https://www.udemy.com/blog/best(https://www.udemy.com/blog/scp(https://www.udemy.com/blog/linuxservice-skills/)
photo-editor/)
command-in-linux/)
syslog/)
Filed Under: For Students (https://www.udemy.com/blog/category/for-students/), Technology (https://www.udemy.com/blog/category/for-students/technology-for-students/)
22 comments
Add a com m ent
mssm197624 (signed in using yahoo) gud one.. ... guys i work as linux admin at CTS and have mode my own collection of questions and answers, if u want u can email me at
[email protected] Reply · Like · July 20 at 2:46am Priti Anturkar Bhange · K.K.WAGH COLLEGE OF ENGG,NASHIK please send me study material of linux in detail.....
[email protected] Reply · Like · July 17 at 2:52am amrutha.bapat (signed in using yahoo) send me
[email protected] Reply · Like ·
1 · July 2 at 11:06pm
jyotan137 (signed in using yahoo) Please send me linux study material with command and configuration. That is really helpful to me. My mail id is :
[email protected] Reply · Like ·
1 · June 25 at 1:23pm
Kumar Pavan ·
Top Commenter
pls send to me aslo
[email protected] Reply · Like · June 29 at 4:07am Sudha Rani · Works at Project Engineer at WIPRO Hi, Could you please send me the linux material with examples.my email ID:
[email protected] Reply · Like · June 7 at 1:03am Pradeep Kumar · Mumbai, Maharashtra, India great collection Reply · Like ·
1 · June 5 at 9:01am
DiVya Shree · Works at Hewlett Packard Can you please mail me the linux notes.
[email protected] Reply · Like ·
1 · May 22 at 6:58am
Kumar Pavan ·
Top Commenter
pls send to me aslo
[email protected] thnks in advance Reply · Like · June 29 at 4:08am Sonu Saifi · IT Executive at Effort BPO can u plzzzz send me the linux notes. My email id....
[email protected] Reply · Like ·
1 · May 8 at 11:18pm
https://www.udemy.com/blog/linux-interview-questions/
3/4
26/7/2014
Linux Interview Questions: Best answers to get that job Reply · Like ·
1 · May 8 at 11:18pm
Kumar Pavan ·
Top Commenter
pls send to me aslo
[email protected] thnks in advance Reply · Like · June 29 at 4:08am Sagar Ikhankar · SNJB's College of Engineering Nice Add one More , what is default permission of folder or file and how to change it ? Reply · Like · April 15 at 10:35am Abdul Kadir · System Administrator at Ballistic Learning pvt Ltd You are talking about umask settings. The default umask setting is 022 and default folder permission is 755 and files permission is 644. it comes from 777 for the folder and 666 for the file. For more information go through this link : http://www.thegeekstuff.com/2010/04/unix-file-and-directory-per missions/ Reply · Like · April 22 at 9:54pm Sagar Ikhankar · SNJB's College of Engineering Abdul Kadir I gone through it but what is 0022 why these extra zero added to it. in Umask default settings. Reply · Like · April 22 at 11:34pm Sagar Ikhankar · SNJB's College of Engineering I gone through it but what is 0022 why these extra zero added to it. in U mask default settings. Normal Interview question. what if we add one more 0 like 00022 to it ? Reply · Like · April 22 at 11:37pm Muhammad Merajuddin Ansar · HKBK College of Engineering can u ppl send me the linux notes. My email id:
[email protected] Reply · Like ·
2 · April 6 at 1:21am
Kumar Pavan ·
Top Commenter
pls send to me aslo
[email protected] thnks in advance Reply · Like · June 29 at 4:09am View 4 more Facebook social plugin
Return to top of page Copyright © 2014 · Epik Theme (http://appfinite.com/themes/epik) on Genesis Framework (http://www.studiopress.com/) · WordPress (http://wordpress.org/) · Log in (https://www.udemy.com/blog/wp-login.php)
https://www.udemy.com/blog/linux-interview-questions/
4/4