Linux interview questions and answers

1. Linux What is that?

In simple language, Linux is an operating system (OS). We are all familiar with other operating systems such as Microsoft Windows, Apple Mac OS, iOS, and other Google android, linux is an operating system.

Operating system is a software that enables communication between the computer hardware and software. It is processed by the processor to transmit the input and outputs to the display hardware to it. This is the basic functions of the operating system. linux perform many other important tasks.

2. UNIX and Linux What is the difference?

UNIX was originally developed as Bell Laboratories proprietary operating system to start, and later released their commercial version of Linux is a free, open source operating systems and is suitable for large-scale use.

3. What is the Linux kernel?

Linux Kernel is the low-level system software. It is used to manage the user's hardware resources. It provides an interface for user-level interaction.

4. Edit the Linux kernel is legitimate?

Of course, legal. We can edit the Linux kernel, as it is released under the General Public License (GPL), and anyone can edit it. It belongs to the category of free and open source software.

 5. What is LILO?

LILO is the Linux boot loader. It is used to load the Linux operating system to the main memory to start its operation.

6. What are the benefits of open source?

Open source software will facilitate (including source code) free of charge to anyone interested. Therefore, you can add debugging and error correction function even source code.

What are the basic components 7. Linux is?

Like other operating systems, Linux has all the components of the kernel, shell, GUI, system utilities and applications.

8. Linux What are the advantages?

Other features included with every respect, and provide tools for free download all the code.

What 9. shell that?

It is in Linux interpreter. Similar to the dos batch Windows system.

10. Linux commonly used shell What?

Linux is the most commonly used shell: bash, csh, ksh, bsh.

Linux System Name 11. Sun Microsystems particular design?

Sun Microsystems is specially designed Linux system: the Solaris  .

12. Linux loader name is?

Name Linux loader is: LILO

13. If you want to rename files in Linux, you should use what order?

mvCommand is used to rename a file.

14. Please write Linux internal commands.

shellBuilt in command called internal command.

15. In Linux, inode what is?

The operating system assigns a unique name for each file, called the inode.

16. In Linux, if you want to execute instructions at a specified time, which command should be used?

You should use the atcommand.

17. What process ID?

Operating system by using a unique ID to uniquely identify each process, the ID called the process ID.

Which variants (versions) 18. Linux have?

What Linux variant (version) is:

  • CentOS
  • Ubuntu
  • Red Hat (Redhat)
  • Debian
  • Fedora

19. What is the swap space?

Space for Linux swap space designated for temporary save some concurrently running programs. When the RAM is not enough space to accommodate all running programs using it.

20. What is the BASH?

BASH Bourne Again SHell is short. It replaces the original Bourne shell written by Steve Bourne.

What is the basic difference between the 21. BASH and DOS are?

BASH commands are case sensitive, and DOS commands are not case sensitive.
DOS files follow the naming convention. In DOS, the file name extension to eight characters followed by a dot and three characters. BASH does not follow this practice.

22. What is the root account?

root account as a system administrator account. It provides complete control of the system for you. You can create and maintain user accounts, assign different permissions for each account and so on.

23. What is CLI?

CLI is the command-line interface. It allows users to type is a command to indicate a declarative interface of the computer to perform an operation.

24. What is a GUI?

GUI represents the graphical user interface. It uses a user clicks on the icon image and communicate with the system. Due to the use of graphics and icons, it more attractive and user-friendly.

25. Microsoft and Linux which offers popular office suite for free?

Microsoft and Linux are free to use Open Office Suite. You can install and use it on Microsoft and Linux.

26. assume from Microsoft to switch to Linux and MS Word documents using Linux, how should I do?

Install Open Office Suite on Linux. So that you can use the Microsoft documentation.

27. What is SMTP?

SMTP Simple Mail Transfer Protocol behalf, it is the Internet standard mail transfer.

28. What is Samba? Why use it?

Samba support services for Linux computer to connect to a Microsoft network resources by providing Microsoft SMB.

What are the basic commands 29. Linux user management is?

Linux basic commands in the user management are:

  • last,
  • chage,
  • chsh,
  • lsof,
  • chown,
  • chmod,
  • useradd,
  • userdel,
  • newusers

The maximum length of 30. Linux in the filename is how much?

255 characters.

31. Linux operating system a lot of virus?

Not a lot, so far there is no operating system, no virus, but a small number of Linux viruses known.

32. The system configuration file storage which partition Linux system?

/stcSystem configuration file storage partition Linux system.

33. Which command is used to decompress the gzip file?

gunzipCommand is used to decompress gzip files.

34. Why developers to use MD5 encryption on the password?

MD5 is an encryption method for encrypting the password thus before saving.

35. What is a virtual desktop?

Virtual desktops used to minimize and maximize the current alternatives of different windows on the desktop. Virtual Desktop enables you to open one or more programs on a clean flat, rather than minimize or restore all programs need.

36. The soft and hard mount point mount point what is the difference?

In soft installation, if the client can not connect to the server, it will provide error reporting and close the connection, but hard to install, if the client can not access the server, the connection will be suspended; Once the system is activated, it will access the server again .

37. Alt + Ctrl + Del key combination to apply to Linux?

Yes, it works the same as the Windows system.

What file permissions 38. Linux is?

In the Linux OS There are three types of permissions, as follows:

  • Read: The user can read the file and directory listing.
  • Write: Users can write new files in the directory.
  • Execution: Users can access files and run directory.

39. VI editor mode used what?

vi editor There are three types of modes:

  • Conventional mode or command mode
  • Or insert mode edit mode
  • Ex mode or replace mode

40. How to exit the vi editor?

The following command is used to exit the vi editor.

  • :wq - save the current work and quit VI.
  • :Q! - Quit VI without saving the current work.

41. How to delete information from a file in vi?

The following command is used to delete information from the vi editor.

  • xDelete current character.
  • ddDelete the current line.

42. How to create a new file in vi or modify existing files?

In vi you can create new or modify files using the following command -

$ vi file_name
Published 72 original articles · won praise 7 · views 10000 +

Guess you like

Origin blog.csdn.net/qq_39399966/article/details/104345579