Linux operation and maintenance engineers face questions Daquan 01_Linux START

Disclaimer: This article is a blogger original article, reproduced, please declare the source! https://blog.csdn.net/weixin_42758707/article/details/90548922

The answer to the next line, saw the mouse to select
Like this
like this
Here Insert Picture DescriptionHere Insert Picture Description

Linux interview questions

1, if the host memory is 512MB, it is usually set to swap ()
1024MB

2, the 32-bit operating system can use the most zoomed (____) G memory.
4

3, linux has a lot of hair ⾏ version, in addition to redhat, centos, suse, what are (,, ____).
debian, ubuntu, fedora

4, the date is in linux () time clock is () time, Using the (____) command to date time is writing to clock time.
System, hardware, clock -w

5, linux system, special equipment is (____) accessed through.
file

6. Use (____) command reference kernel version information.
uname -r

7, centos Yes What is the relationship between redhat?
redhat is a company, its commercial paid version rhel system, free community version of centos system.

8, when installing the operating system, often choose what swap partition is? What do Use?
wap partition is linux swap partition; underexposed when the physical memory, a hard disk so ⼀ Use as part of the content in places where temporarily stored.

9, lists common linux based operating system of nuclear Center Weighted?
android MAC OS Kubuntu / ubuntu centos / rhel

10, in the linux system (____) shutter mode access device.
file

11, forget the root password should be (____) process.
a. reloading system b. shutdown c. Using the user gets into a single street ⽣, reset passwords Use passwd d. Production boot disk
C

12. Use the command to view the kernel version information is (____).
b.uname a.show c.NAME d.system
B

13. Use the host name to view the displayed order is (____).
b.dig c.hostname d.nslookup a.host
C

14. Use the command to view the system load and the number of days is boot (____).
b.power c.bootdir d.wc AW
A

15, the following (____) is not a shell wildcard.
A. * B.? C. # D. []
C

16, indicate the current time in the format: 2016-06-18 10:20:30
DATE "% T +% F."

17, the day before yesterday is displayed week to get accustomed
date +% A --date '2 days ago'

18, set the current date is 06:05:10 2019-08-07
DATE -s "2019-08-07 06:05:10"

19, when the terminal logs in the native character, is displayed in addition to the existing information, the login terminal reassert indicate the current number, host name and the current time
vim / etc / issue
in the last line is added:
the Hostname: \ n-
Terminal Number The: \ L
Current Time: \ t

20, 18:30 today set auto power off, and Tips Using household
shutdown -h 18:30 "it is will poweroff at 18:30"

Guess you like

Origin blog.csdn.net/weixin_42758707/article/details/90548922