mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-01-25 23:11:02 +08:00
translated
This commit is contained in:
parent
45a7471ee2
commit
331aaaa565
@ -1,103 +0,0 @@
|
||||
l3b2w1 translating
|
||||
|
||||
11 Basic Linux Interview Questions and Answers
|
||||
================================================================================
|
||||
Theories apart, we are proud to announce a new section on Tecmint, dedicated to Linux Interview. Here we will bring to you Linux Interview Questions and all other aspects of Linux, which is must for a professional in this cut-throat competition world.
|
||||
|
||||
![](http://www.tecmint.com/wp-content/uploads/2013/11/Basic-Interview-Questions.png)
|
||||
|
||||
A new article in this section (**Linux Interview**) will be posted on every weekend. The initiative taken by **Tecmint** is first of it’s kind among other **Linux Dedicated** websites, along with quality and unique articles.
|
||||
|
||||
We will start with **Basic Linux Interview Question** and will go advance article by article, for which your response is highly appreciated, which put us on a higher note.
|
||||
|
||||
#### Q.1: What is the core of Linux Operating System? ####
|
||||
|
||||
- Shell
|
||||
- Kernel
|
||||
- Command
|
||||
- Script
|
||||
- Terminal
|
||||
|
||||
> **Answer** : Kernel is the core of Linux Operating System. 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
|
||||
|
||||
#### Q.2: What Linus Torvalds Created? ####
|
||||
|
||||
- Fedora
|
||||
- Slackware
|
||||
- Debian
|
||||
- Gentoo
|
||||
- Linux
|
||||
|
||||
> **Answer** : Linux Torvalds created Linux, which is the kernel (heart) of all of the above Operating System and all other Linux Operating System.
|
||||
|
||||
#### Q.3: Torvalds, Wrote most of the Linux Kernel in C++ programming Language, do you agree? ####
|
||||
|
||||
> **Answer** : No! Linux Kernel contains 12,020,528 Lines of codes out of which 2,151,595 Lines are comments. So remaining 9,868,933 lines are codes and out of 9,868,933 Lines of codes 7,896,318 are written in C Programming Language.
|
||||
|
||||
The remaining Lines of code 1,972,615 is written in C++, Assembly, Perl, Shell Script, Python, Bash Script, HTML, awk, yacc, lex, sed, etc.
|
||||
|
||||
**Note** : The Number of Lines of codes varies on daily basis and an average of more than 3,509 lines are being added to Kernel.
|
||||
|
||||
#### Q.4: Linux initially was developed for intel X86 architecture but has been ported to other hardware platform than any other Operating System. Do you agree?. ####
|
||||
|
||||
> **Answer** : Yes, I do agree. Linux was written for x86 machine, and has been ported to all kind of platform. Today’s more than 90% of supercomputers are using Linux. Linux made a very promising future in mobile phone, Tablets. In-fact we are surrounded by Linux in remote controls, space science, Research, Web, Desktop Computing. The list is endless.
|
||||
|
||||
#### Q.5: Is it legal to edit Linux Kernel? ####
|
||||
|
||||
> **Answer** : Yes, Kernel is released under General Public Licence (GPL), and anyone can edit Linux Kernel to the extent permitted under GPL. Linux Kernel comes under the category of Free and Open Source Software (FOSS).
|
||||
|
||||
#### Q.6: What is the basic difference between UNIX and Linux Operating System. ####
|
||||
|
||||
> **Answer** : Linux Operating System is Free and Open Source Software, the kernel of which is created by Linus Torvalds and community. Well you can not say UNIX Operating System doesn’t comes under the category of Free and Open Source Software, BSD, is a variant of UNIX which comes under the category of FOSS. Moreover Big companies like Apple, IBM, Oracle, HP, etc. are contributing to UNIX Kernel.
|
||||
|
||||
#### Q. 7: Choose the odd one out. ####
|
||||
|
||||
- HP-UX
|
||||
- AIX
|
||||
- OSX
|
||||
- Slackware
|
||||
- Solaris
|
||||
|
||||
> **Answer** : Slackware is the odd in the above list. HP-UX, AIX, OSX, Solaris are developed by HP, IBM, APPLE, Oracle respectively and all are UNIX variant. Slackware is a Linux Operating System.
|
||||
|
||||
#### Q.8: Is Linux Operating system Virus free? ####
|
||||
|
||||
> **Answer** : No! There doesn’t exist any Operating System on this earth that is virus free. However Linux is known to have least number of Viruses, till date, yes even less than UNIX OS. Linux has had about 60-100 viruses listed till date. None of them actively spreading nowadays. A rough estimate of UNIX viruses is between 85 -120 viruses reported till date.
|
||||
|
||||
#### Q.9: Linux is which kind of Operating System? ####
|
||||
|
||||
- Multi User
|
||||
- Multi Tasking
|
||||
- Multi Process
|
||||
- All of the above
|
||||
- None of the above
|
||||
|
||||
> **Answer** : All of the Above. Linux is an Operating System which supports Multi User, Running a Number of Processes performing different tasks simultaneously.
|
||||
|
||||
#### Q.10: Syntax of any Linux command is: ####
|
||||
|
||||
- command [options] [arguments]
|
||||
- command options [arguments]
|
||||
- command [options] [arguments]
|
||||
- command options arguments
|
||||
|
||||
> **Answer** : The correct Syntax of Linux Command is Command [options] [arguments].
|
||||
|
||||
#### Q.11: Choose the odd one out. ####
|
||||
|
||||
- Vi
|
||||
- vim
|
||||
- cd
|
||||
- nano
|
||||
|
||||
> **Answer** : The odd one in the above list is cd. Vi, vim and nano are editors which is useful in editing files, while cd command is used for changing directory.
|
||||
|
||||
That’s all for now. How much you learned for the above questions? How it helped you in your Interview? We would like to hear all these from you in our comment section. Wait till the next weekend, for new set of questions. Till then stay healthy, tuned and connected to **Tecmint**.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.tecmint.com/basic-linux-interview-questions-and-answers/
|
||||
|
||||
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
97
translated/11 Basic Linux Interview Questions and Answers.md
Normal file
97
translated/11 Basic Linux Interview Questions and Answers.md
Normal file
@ -0,0 +1,97 @@
|
||||
11个基础性Linux问答访谈
|
||||
================================================================================
|
||||
没有理论,我们在此高调宣布Tecmint新的板块诞生,专门致力于Linux。我们将带领你走进"Linux访谈"以及Linux其它的方方面面。在这样一个激烈竞争的世界,对于一个行业来说,此举必不可少。
|
||||
|
||||
![](http://www.tecmint.com/wp-content/uploads/2013/11/Basic-Interview-Questions.png)
|
||||
|
||||
该板块 (**Linux 访谈**) 每个周末都会发表新的文章。**Tecmint**开创的这个访谈栏目在所有致力于linux发展的网站中尚属首创,文章独有,质量上乘。
|
||||
|
||||
我们以**基础Linux访谈**开始,逐步引入涉及高级话题的文章,对此,我们非常期待你的答复,因为这将使我们万众瞩目。
|
||||
|
||||
#### Q.1: Linux 操作系统的核心是什么? ####
|
||||
- Shell
|
||||
- Kernel
|
||||
- Command
|
||||
- Script
|
||||
- Terminal
|
||||
|
||||
> **答**: 内核是Linux 操作系统的核心。Shell是一个命令行解释器,命令是针对计算机的指令,脚本是存储在文件中的命令的集合,终端是命令行接口。
|
||||
|
||||
#### Q.2: Linus Torvalds 都创建过什么东东? ####
|
||||
- Fedora
|
||||
- Slackware
|
||||
- Debian
|
||||
- Gentoo
|
||||
- Linux
|
||||
|
||||
> **答**: Linux Torvalds 创建了Linux,Linux是所有上述操作系统的核心,同样也是其他一些Linux 操作系统的核心。
|
||||
|
||||
#### Q.3: Torvalds, 使用C++语言编写了Linux内核的大部分代码,你同意吗? ####
|
||||
|
||||
> **答**: 不! Linux内核包含了12,020,528行代码,其中注释占去了2,151,595 行。因此剩下的9,868,933 行就是纯代码了。而其中7,896,318行都是用C语言写的。
|
||||
|
||||
剩下的1,972,615行则是使用C++,汇编,Perl, Shell Script, Python, Bash Script, HTML, awk, yacc, lex, sed等。
|
||||
|
||||
**注**:代码行数每天都在变动,平均每天超过3,509行代码被添加到内核。
|
||||
|
||||
#### Q.4: 起初,Linux 是为 Intel X86 架构编写的,但是后来移植到了其它平台上,你同意吗 ?. ####
|
||||
|
||||
> **答**: 是的,我同意。Linux那时候是为x86机器写的,而且现已移至到所有类型的平台。今天超过90%的超级计算机都在使用Linux。Linux在移动手机和平板电脑领域前景广阔。事实上我们被Linux包围着,遥控器,太空科学,研究,网络,台式机。举之不尽。
|
||||
|
||||
### Q.5: 编辑 Linux Kernel 合法吗? ####
|
||||
|
||||
> **答**: 是的,内核基于GPL发布,任何人都可以随意编辑内核,当然得基于GPL。Linux内核起源于免费开源软件(FOSS)的概念。
|
||||
|
||||
#### Q.6: UNIX和Linux操作系统,本质上的不同在哪里?####
|
||||
|
||||
> **答**: Linux操作系统属于开源软件,内核是由 Linus Torvalds 和开源社区共同开发的。你不能说UNIX操作系统不是来源于免费开源软件的范畴,BSD 是基于FOSS 范畴的UNIX 的变种。而且大公司如,Apple,IBM,Oracle,HP等,都在为UNIX内核贡献代码。
|
||||
|
||||
#### Q. 7: 挑出来一个与众不同的来. ####
|
||||
- HP-UX
|
||||
- AIX
|
||||
- OSX
|
||||
- Slackware
|
||||
- Solaris
|
||||
|
||||
> **答** : Slackware 就是那个稀奇古怪的那个. HP-UX, AIX, OSX, Solaris 分别是由 HP, IBM, APPLE, Oracle 开发的,并且都是UNIX的变种. Slackware 则是一个Linux操作系统.
|
||||
>
|
||||
#### Q.8: Linux 不会感染病毒码? ####
|
||||
|
||||
> **答** : 当然会! 这个地球上不存在不会感染病毒的操作系统。但是Linux以病毒数量的稀有而著称,至今,是的,甚至比UNIX还要少。Linux迄今榜上有名的病毒只有60-100个。而如今没有一个病毒在传播蔓延。Unix粗略估计有85-120个。
|
||||
|
||||
#### Q.9: Linux is which kind of Operating System? ####
|
||||
#### Q.9: Linux 属于哪种类型的操作系统? ####
|
||||
- 多用户
|
||||
- 多任务
|
||||
- 多线程
|
||||
- 以上所有
|
||||
- 以上都不是
|
||||
|
||||
> **答** : 以上所有. Linux是一个支持多用户,可以同时运行多个进程执行多个任务的操作系统。
|
||||
|
||||
#### Q.10: 任意 Linux 命令的语法格式: ####
|
||||
- command [选项] [参数]
|
||||
- command 选项 [参数]
|
||||
- command [选项] [参数]
|
||||
- command 选项 参数
|
||||
|
||||
> **答** : Linux 命令的正确语法是, 命令 [选项] [参数].
|
||||
|
||||
#### Q.11: Choose the odd one out. ####
|
||||
#### Q.11: 挑出来一个与众不同的来. ####
|
||||
|
||||
- Vi
|
||||
- vim
|
||||
- cd
|
||||
- nano
|
||||
|
||||
> **答** : cd 与其他命令不同。Vi,vim和 nano都是编辑器,用于编辑文档,而cd是用于切换目录的命令。
|
||||
|
||||
就这么多了。上述问题你学到手几个?效果如何?我们期待着你的评论。下周,会有新的问题,让我们拭目以待。保持健康,协调,记得链接**Tecmint**哦。
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.tecmint.com/basic-linux-interview-questions-and-answers/
|
||||
|
||||
译者:[译者ID](https://github.com/l3b2w1) 校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
Loading…
Reference in New Issue
Block a user