In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you what the common Linux basic interview questions are, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
Q.1: what is the core of the Linux operating system?
Shell
Kernel
Command
Script
Terminal
A: the Kernel is the core of the Linux operating system. Shell is a command line interpreter, Command is an instruction for a computer, Script is a collection of commands stored in a file, and Termial is a command line interface.
Q.2: what has Linus Torvalds created?
Fedora
Slackware
Debian
Gentoo
Linux
A: Linux Torvalds created Linux,Linux, which is the core of all these operating systems, as well as some other Linux operating systems.
Q.3: Torvalds, wrote most of the code for the Linux kernel in C++, right?
A: no! The Linux kernel contains 12020528 lines of code, of which comments take up 2151595 lines. So the remaining 9868933 lines are pure code. And 7896318 of them are written in C language.
The remaining 1972615 lines are compiled, compiled, Perl, Shell Script, Python, Bash Script, HTML, awk, yacc, lex, sed, etc.
Note: the number of lines of code changes every day, with an average of more than 3509 lines of code added to the kernel every day.
Q.4: at first, Linux was written for the Intel X86 architecture, but then there were more hardware platforms migrated than other operating systems, right?
A: yes, I agree. Linux was written for x86 machines at the time and has now been moved to all types of platforms. Today, more than 90% of supercomputers use Linux. Linux has a bright future in mobile phones and tablets. In fact, we are surrounded by Linux, remote control, space science, research, Web, desktop computing and so on.
Q.5: is it legal to edit the Linux kernel?
A: yes, the kernel is released based on GPL, and anyone can edit the kernel at will based on the permissions allowed by GPL. The Linux kernel belongs to free and open source software (FOSS).
Q.6: what is the essential difference between UNIX and Linux operating systems?
A: the Linux operating system is free and open source software, and the kernel is jointly developed by Linus Torvalds and the open source community. Of course, we can't say that the UNIX operating system has nothing to do with free open source software (FOSS). BSD is a variant of UNIX based on the FOSS category. And big companies such as Apple,IBM,Oracle,HP are contributing code to the UNIX kernel.
Q. 7: pick out a different one.
HP-UX
AIX
OSX
Slackware
Solaris
A: Slackware. HP-UX, AIX, OSX and Solaris are developed by HP, IBM, APPLE and Oracle respectively, and are all variants of UNIX. Slackware is a Linux operating system.
Q.8: won't Linux be infected with the virus?
A: of course I will! There is no operating system on earth that will not be infected with the virus. But Linux is known for its small number of viruses so far, yes, even less than UNIX. There are only 60-100 viruses on Linux's list, and none of them is spreading. The number of Unix is roughly estimated at 85-120.
Q.9: what type of operating system does Linux belong to?
Multi-user
Multitasking
Multithreading
All of the above
None of the above
A: all the above. Linux is an operating system that supports multiple users and can run multiple processes to perform multiple tasks at the same time.
Q.10: the syntax format of a general Linux command is:
Command [options] [parameters]
Command options [parameters]
Command [options] [parameters]
Command option parameters
Answer: the correct syntax for the Linux command is Command [options] [parameters].
Q.11: pick out a different one.
Vi
Vim
Cd
Nano
A: cd is different from other commands. Vi,vim and nano are both editors for editing documents, while cd is a command for switching directories.
That's it. How many of the above questions have you learned? What's the effect? We look forward to your comments. Next week, there will be new problems. Let's wait and see. Stay healthy, lock links, and remember to come to Tecmint.
The above is all the contents of the article "what are the common Linux basic interview questions?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.