Integrated UNP The first five chapters, wrote a server-client program.Main function: The client reads the string from the standard input to the server and the server is displayed. After the server accepts the connection, the fork () child process
For privacy needs, do not want to expose the real MAC address, the following script to add the contents of the/ETC/INIT.D, you can at each boot time for the network card randomly set a MAC address.#!/bin/bash#Chorder#2016/12/08 mhash=' Date+%s|md5
IP address configurationVM VirtualBox is different from the NIC configuration file and VM ware, as followsVIM/ETC/SYSCONFIG/NETWORK-SCRIPTS/IFCFG-ENP0S3 no Vim By default, after configuring the network, use Yum to install.Configuration Item
Umask 003 Directory permissions for 774 files for 664 files are odd when the results are calculated by default in addition to 1Catalog filesrwx rwx rwx 777 rw-rw-rw-666-------WX 003-----WX 003rwx rwx r--774 rw-rw-r--664 (rw-minus-wx-no number will
1, create user Gentoo, additional group is bin and root, the default shell is/BIN/CSH, the annotated message is "Gentoo distribution"Useradd-c "Gentoo distribution"-s/bin/csh-g Bin,root Gentoo2, create the following user, group and group membership,
As a beginner of Linux, we may sometimes forget the root password to make their own haste, some people may have to choose to re-install the system, learning this operation will be able to easily solve the forgotten password problemSelect Restart
I. Commands for setting network parametersIfconfig: Query, set network card and IP network and other related parameters[[email protected] ~]# ifconfig {interface} {down|up}[[email protected] ~]# ifconfig interface
First, the hardware problem1, the problem of network cableClass A type B straight line and crossoverNetwork cable is truncatedBad signal due to excessive distortion of network cablePoor quality of homemade network interfacePoor network interface and
Explanation of the meaning of Drwxr-xr-x:LS-Al Gets the following list: Drwxr-xr-x4Oracle DBA4096May - One: -ORALOG1DRWXR-X--- -Root root4096May - -:WuyiRoot Explanation: D: The first bit represents the file type, D is the directory file, L is the
1.autoconf.h fileOlder Linux kernel, after executing make Menuconfig, the compilation system will save all configuration information to the. config file in the top-level directory of the source code,The contents of the. config are then converted to
Reference: https://zhidao.baidu.com/question/621368750657770092.html1. Check the memory size:Cat/proc/meminfo |grep Memtotal2, some other commands and methods to view detailed Linux system information:UNAME-A # Linux System Information command to
1. Virtual machine Linux Installation and considerations
Modify boot in BIOS before Linux installation, choose which disk to read system code to boot
Partition
mount point boot file system type EXT4 size 500MB
File
A netizen asked me how to enter Chinese in the QT application of Linux, I didn't think it was a problem at first, but I tried it on the back. Not only QT-made applications, even QT creator are not supported. After reading some information,
At Command: One: Introduction:Schedule a task, perform a work at a specific time, execute at a specific time, need to install at service, Apt-get installed atTwo: Time definition:At allows you to use a fairly complex set of time-specific methods.Be
Ls-l |grep "^-" |wc-lCount the number of directories under a folderLs-l |grep "^d" |wc-lThe number of files under the statistics folder, including subfoldersLs-lr|grep "^-" |wc-lAll txt files in the statistics/imagedata/data/20161108 directory
First do one thing, modify the hosts, the file server's IP and Domain name Mapping (single-machine trackerserver environment), because many of the configuration inside to configure the server address, IP changed, only need to modify the hosts
Ls-list Directory Contents-A: Lists all files and directories in the current directory, including hidden files (infrequently used files)-A: Lists all files and directories under the current directory, including hidden files, but not including.
I want to tinker with Linux in a virtual machine, do Ubuntu,debian,kali in Windows, and so on (currently does not support CentOS), install the latest version of Windows creators 1803. However, installation in the WIN10 store encountered an
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