A simple Linux Ops interview question,

Source: Internet
Author: User
Tags arch linux

A few days ago a friend to interview, got a Linux OPS interview, not too full, the database did not get, some did not answer, welcome the big God to add

1. write a minimum of four Linux distributions

Redhat,centos, SuSE, Ubuntu, Debian, Gentoo,Slackware, Fedora,arch Linux

Suse is a two- time release based on Slackware

Ubuntu is a two- time release based on Debian

Fedora belongs to Red Hat series

Arch Linux is lightweight, is a standalone release, no other version based

2. Write out The common software of FTP, VPN, DNS,SQL,firewall, Web,respectively

FTP:vsftp

VPN:OpenVPN,Ipsec,L2TP,SSL VPN.

DNS:

SQL:Nosql,MySQL

Firewall:

Web:Apache, Nginx,Tomcat,squid

2. write out ftp, VPN, DNS,SQL,firewall,web Common software

FTP:vsftp

VPN:OpenVPN,Ipsec,L2TP,SSL VPN.

DNS:

SQL:Nosql,MySQL

Firewall:

Web:Apache, Nginx,Tomcat,squid


3, write a shell script, realize every morning eight o /I directory compression package to the/data directory, the file name is yymmdd_etc.

Ask Netizens

4, the preparation of routine tasks, respectively, to achieve the task

Every one hours from eight o'clock to six o'clock in the afternoon, the first domain contents of each line in the passwd file in the/etc directory are written to the directory in the txt file under/data

0008-18/1 * * * cut–d ":" –f 1/etc/passwd>/data/txt

0008-18/1 * * * awk–f ": ' {print $} ' >/data/txt

every Tuesday five o'clock in the afternoon , Package/etc directory is compressed into the/data directory, named etc.bak.tar.gz

0017 * * zcvf/data/etc.bak.tar.gz/etc/tar

4 ARP Effect

5 QQ is using the OSI protocol that layer of protocol, if the ban on the internet QQ, what should be done.

Application layer protocol used by QQ,

using aggregated network management is easy to implement

6.proc directory contents under Linux

the /proc directory on a Linux system is a file system, the proc file system. Unlike other common file systems,/proc is a pseudo-file system (also known as a virtual file system) that stores a series of special files that are currently running on the kernel, which users can use to view information about system hardware and the processes currently running. You can even change the running state of the kernel by changing some of these files.

7, the role of the Gateway

access to the extranet through the gateway

8, a company to apply to a class C IP address, but to connect 6 subsidiaries, the largest subsidiary has 26 computers, each subsidiary in a network segment, the subnet mask should be set to

255.255.255.224

This article is from the "Tosagta" blog, please be sure to keep this source http://tsoagta.blog.51cto.com/9747076/1681654

Simple Linux Ops interview question,

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.