Socket programming under Linux

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

Linux randomly set MAC address

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

Linux network configuration and Troubleshooting (virtual machines)

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

Linux Unzip command

. tar.gz and. tgz Unzip tar zxvf filename.tar.gz.rar unzip rar x filename.rar.zip extract unzip Filename.zip.tar unpack tar xvf Filename.tar . GZ Decompression 1 gunzip filename.gz.gz decompression 2 gzip-d filename.gz.bz2 decompression 1 bzip2-d

0 Simple commands for Basic Learning Linux (second week)

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

Linux users, groups, permissions, combination exercises

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,

Beginners Learn Linux: Single-user mode under CentOS7

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

Common network commands in Linux

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

Network Troubleshooting for Linux

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

Detailed description of Linux file attributes

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

Linux kernel configuration

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

How to query server information under Linux

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

Linux Common commands

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

Solutions for QT programs not being able to input Chinese in Linux

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,

The AT command in Linux is detailed

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

Linux statistics the number of files in a folder

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

Linux installation Fastdfs

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

Linux Regular and user management exercises

1. Who | Cut-d ""-f1 | Sort-u2, Lastlog | grep "\Lastlog | Grep-v "[*]"3, cut-d:-f7/etc/passwd | Sort-f | Uniq-c-D | Sort-r | head-1 | GREP-E-O "/.*"4, CAT/ETC/PASSWD | SORT-NRK 3-t: | head-10 | Tr ' A-Z ' A-Z ' >/tmp/maxusers.txt5, ifconfig eth0 |

Linux file and directory processing commands

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.

Win10 running Kali Linux installation error:0x8007019e

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

Total Pages: 5467 1 .... 2918 2919 2920 2921 2922 .... 5467 Go to: GO

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.