Linux Jobs 8

Source: Internet
Author: User
Tags switches

1, describe the network bridge, hub, two-layer switch, layer three switch, router functions, usage scenarios and differences.

Hubs: Hubs work in the physical layer of the OSI model, and are broadcast-based, used to amplify and broadcast data bits, and are now applied only in specific networks, such as when a packet is needed for the network;

Bridge and Layer Two switches: Layer two switches belong to the Network Bridge, the bridge and the two layer switch work in the OSI model data link layer, based on the MAC port table connection to connect multiple host or two layer network, the data frame can be stored forward and verified, and be able to isolate the conflict domain.

Layer three switch: work in the OSI model of the third layer of network layer, is a partial routing function of the switch, the application of large-scale network to achieve fast exchange and forwarding of data packets;

Routers: Layer Three switches work in the OSI model's network layer, which is used to link multiple networks (which can be different interfaces, such as serial, fiber, telephone, twisted pair, etc.), to implement packet routing in the Internet based on routing protocols.


2. What are the classification of IP addresses? The representation of subnet mask and its function

3. What are the models of computer networks (OSI model and TCP/IP model), the functions of each layer and the physical devices involved?

4, how to access the Linux host to the TCP/IP network, please describe the detailed steps. (Manually specified mode)

5. What are the ways to configure network information for Linux hosts, please describe each process.

6, write a script, use the ping command to detect the online status of all hosts between 172.16.250.1-172.16.250.254;

The online host uses green display;

The non-online master uses red display;

7, detailed description of each network interface configuration file The meaning of each parameter and its corresponding value;

8, how to configure multiple addresses for the network interface, what are the ways?

9. What are the commonly used network management tools, and describe how they are used in an example format?

10, Linux system software package management methods (installation, upgrade, uninstall and other operations), and how to manage.

11, how to use the distribution CD as a yum repository, please describe the process.

12. Write a script to complete the following functions

(1) Suppose that a directory (/etc/rc.d/rc3.d/) has a number of files with the beginning of K and S;

(2) Displays the file name of all files that begin with K and appends a stop string to it;

(3) Displays the file name of all files beginning with S and appends a start string to it;

(4) The respective numbers of documents that begin with the beginning of S and K respectively;

13. Write a script to complete the following functions

(1) The script can accept the user name as the parameter;

(2) Calculate the sum of the IDs of these users;

14. Write a script

(1) Pass some catalogs to this script;

(2) Display the content type of all level files or subdirectories of each directory individually;

(3) How many directories are in the statistics, and how many file content types are displayed altogether;

15. Write a script

Pass a parameter to the script from the command line, the parameter is the user name

If the user's ID number is greater than or equal to 500, the user is displayed as a normal user;

16. Write a script

(1) Add 10 user user1-user10; password and user name;

(2) Add when the user does not exist, or skip when existing;

(3) Finally shows how many users have been added this time;

17, write a script, ping command to test the 172.16.250.20-172.16.250.100 within the host online, will be displayed online;

18, printing 99 multiplication table;


This article from "Silver Kay Blog" blog, declined reprint!

Linux Jobs 8

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.