Summary of high-frequency test points for technical interviews-Linux

Summary of high-frequency test points for technical interviews-Linux

Hello everyone, this is Xiaodai!

Linux is a Unix-like operating system first released in 1991 by Linus Torvalds of Finland. Linux is completely open source and has a huge community supporting its development and updates.

Linux is also a subject that is almost required in the interview. Today, let’s introduce the content that must be tested in the Linux interview~

You can use this summary of the compulsory content to check for gaps and check your Linux mastery .

Some features of this summary are:

1) Close to the interview : almost 100% of the problems encountered in the interview;

2) Concise and practical : It will not cover all aspects, but will include the most important knowledge and the most frequently tested knowledge under each topic.

3) Do not give official standard answers : On the one hand, you can test your own mastery, and on the other hand, you can remember more deeply in actively searching for answers.

Past content of this series:

Summary of high-frequency test points for technical interviews-computer network articles: https://mp.weixin.qq.com/s/13oOfB0z4C1wQc301TcLdQ

Summary of high-frequency test points for technical interviews-MySQL articles: https://mp.weixin.qq.com/s/n_lK4P7jF35ow39e3XhHtQ

Summary of high-frequency test points for technical interviews - C++: https://mp.weixin.qq.com/s/VRFkrTImrcUo5rH1gIqLfA

Summary of high-frequency test sites for technical interviews - Redis: https://mp.weixin.qq.com/s/nHKv3ZMpAdoHyBABX1uKzQ

Summary of test points for HR face-to-face and rhetorical questions: https://mp.weixin.qq.com/s/_eFbmQgEGvGxM2LFHWUpSQ

Tips: Although this test site summary will not give the answer, but in the follow-up basic computer knowledge, it will give Linux, C++, JAVA, computer network, operating system, design pattern, data structure and algorithm, Redis, MySQL, A detailed version of stereotyped essay PDF on JS, CSS, VUE, HTML and other knowledge topics, including questions and detailed answers to questions, including answers to questions in this push series, and answers to questions that are also frequently tested. Among them, the back-end knowledge is sorted out by me, and the front-end knowledge is sorted out by a front-end boss ~ it is already being sorted out!

Let's start now~

1. List of common test points for Linux

The questions listed below are the ones I was asked in the interview~

1) How to view logs in Linux

tail,head,cat,more,less,vim,sed

2) What to do if the CPU usage is too high

3) How to use the command to view the status of the TCP connection, what are the statuses of the TCP

4) An executable program crashes, how to deal with it

5) What is a signal

6) What should I do if I cannot connect to the Internet under the Linux system

7) File permissions

rwx of the file

directory rwx

8) How to find a file

9) row and cow

10) Memory overflow, how to troubleshoot

11) Linux lock mechanism and specific implementation

12) sed command

13) awk command

14) List Linux advanced commands

  • netstat network status monitoring

  • netstat -tunlp View port usage

  • top system running status view memory usage

  • iotop io read and write status

  • lsblk View hard disk partitions

  • df -lh view disk storage

  • find view

  • ps -aux View running processes

  • chkconfig View service startup status

  • systemctl manages system services

15) How to replace a line in a file

16) Operation of new disk in Linux

17) Linux gdb debugging

18) Check memory usage, check network usage and disk usage commands

19) Linux directory structure

20) How to check the number of threads in a process

21) How to view the last five lines of a file

22) How to kill a process, how to kill all threads under a process

23) How to view memory leaks

24) How to turn on and off the firewall

25) What are the system calls for creating a process?

26) How does Linux implement system calls?

27) How to make a program run in the background

28) Which Linux commands do you know, and list their functions

This question includes the use of common commands. There are many, so I won’t list them here. There will be a special PDF introduction here. Let’s list a few simple commands first~

  • cd
  • pwd
  • ls
  • ll
  • touch
  • mkdir
  • cat
  • more
  • less
  • tail
  • cp
  • mv
  • rm
  • ps
  • find

29) In Linux, what are the ways of inter-process communication

Two, Linux recommended learning materials

Let's briefly introduce some learning materials for Linux~

Linux belongs to the discipline of tools. You have to practice it yourself , type more related commands, and get familiar with it after playing. It is still very easy to deal with interviews!

1. Video lessons

Recommended for beginners: [Xiaobai Getting Started is easy to understand] 2021 Han Shunping learns Linux in a week

2. Books and Documents

"Brother Bird's Linux Private Kitchen"

Linux Quick Start Tutorial: https://linuxtools-rst.readthedocs.io/zh_CN/latest/index.html#, more suitable for getting started and quickly understanding Linux knowledge

Chinese version of the command book: https://www.runoob.com/linux/linux-command-manual.html

3. Summary

Ok, so far, the introduction of the required content and recommended learning materials for Linux is over~

The original intention of this series is to give you the fastest way to get started with technical interviews. After going through the questions, you can kill the basic questions of technical interviews~

I hope it can help everyone~

Digression

Here is a little bit about what Xiaodai wants to update recently:

Mainly update two topics, plus organize some PDFs:

Required interview topics : Linux, HR, Operating System, Cloud Native & Distributed & Microservices, Scenario Questions & Intellectual Questions, Test Development, Front-end Development

State-owned enterprises in-depth secret topics : CCB Operation Data Center, Bank of Communications Headquarters Financial Technology Guan Peisheng, Aerospace Science and Industry Institute Third Department, Bank of Communications Headquarters Software Development, Industrial and Commercial Bank of China Software Center, Telecom Headquarters Cloud Network Operations Department, Bohai Bank Headquarters Information Technology Department, Tianyi Cloud, Information Technology Department of China CITIC Bank Headquarters, Guan Peisheng, Information Technology Department of Bank of China Headquarters

PDF arrangement : Xiaodai's 100 face-to-face interviews with autumn recruits, recommendations by state-owned and central enterprises in various regions, stereotyped essays for state-owned and central enterprises PDF

Regarding PDF, there are a lot of PDF materials that have been sorted out, and they are all available for free~

[External link picture transfer failed, the source site may have an anti-theft link mechanism, it is recommended to save the picture and upload it directly (img-1bu86Are-1680914559943) (C:\Users\Zz\AppData\Roaming\Typora\typora-user-images\ image-20230403072227142.png)]

Guess you like

Origin blog.csdn.net/qq_46046431/article/details/130024349