Linux Common commands and operations

Shutdown--h now shutdown reboot restartStartX into the graphical interfacechmod +x 777 file name authorization and executable 777 for binary 111-111-111 (System user-current user-other user)Ls-a-s-color Show All Files (a shows all, s display size,

Linux I/O multiplexing

Sockets are also a kind of IO, blocking socket operations include: Input: recv (), Recvfrom (), block when buffer is empty Output: Send (), SendTo (), block when buffer is empty Accepted: Accept (), blocked when not connected

Common commands in Linux

1, VI, and VIM are all Linux-brought editors, like the Notepad under win. Vim vs. VI more advancedBasic operation of Vim1, "I", "a" are insert mode (note the different position of the cursor)2, "ESC" exit the insert mode, press [shift+:] Enter "Q":

Why programmers must use Linux

650) this.width=650; "src=" Http://img.mp.sohu.com/upload/20170518/5bfac79fd56a4ceaa1a6711c6bd99e73_th.png "alt=" 5bfac79fd56a4ceaa1a6711c6bd99e73_th.png "/>Most people who refer to Linux basically say that Linux makes you more efficient and

Common basic commands for Linux

1. Instructions for displaying dates: date 2. Instructions for displaying the calendar: CalCal shows this monthCal 4 2017 Displays calendar for April 2017Cal 2017 displays 2017-year 12-month calendar3. Simple and easy to use calculator: BC 4. Data

grep search usage in Linux

There is a test file Test.txt, the contents are as followsAaabbbcccAaadddeeeAbcSdfjasldjfBcdOkmAbcFirst, basic search commonly used1, now want to filter out the ABC okmgrep "ABC\|OKM" test.txtResults:AbcOkm2, the line with a is filtered out, not

Linux Chinese output

#include 2#include 3#include string>4#include 5#include 6#include 7#include 8 9 intMain ()Ten { Onestd::basic_ifstream > FS ("./test.txt"); A if(Fs.fail ()) - { -printf"cannot open, errno!\n"); the return-1; -

Linux Contract process

Reprint: http://www.verydemo.com/demo_c167_i125773.htmlSendto-->sys_sendto (socket.c)-->sock_sendmsg (socket.c)-->__sock_sendmsg (socket.c)-->sendmsg ( SOCKET.C) This call is implemented through SOCK->OPS->SENDMSG, sock is the socket structure

Linux Management shared libraries

How does Linux manage shared libraries (*.so) when it runs? Under Linux, the search and load of shared libraries is implemented by/lib/ld.so. Ld.so is looking for shared libraries used by applications in the standard path (/lib,/usr/lib).However, if

Linux Note _day09

1. operator, controller, memory, input/output (IO)Address bus: Memory addressingData bus: Transferring dataControl Bus: Control instructionsRegister: CPU Ephemeral memory2. System settingsDefault output device: Standard output, stdout,1 (descriptor)

Linux subsystem usage under Windows 10--tmux split-screen tool usage

1 How to activate Linux subsystem see Baidu;2 Open PowerShell, enter bash to start subsystem terminal; Enter exit to exit;3 input Tmux attach connection session; Ctrl-b+d return to terminal; Ctrl-b+s list session;4 Enter ctrl-b+c new window;ctrl-b+&

Add VLAN tags to the Centos command line

Add VLAN tags to the Centos command line 1. Add modules Modprobe -- first-time 8021q Query module status Modinfo 8021q 2. Create a VLAN configuration file cd/etc/sysconfig/network-scriptscatifcfg-eth0.10 DEVICE = ethX.10BOOTPROTO = noneONBOOT =

Install and configure vncserver on centos7

Install and configure vncserver on centos7 Configuring vncserver is actually very simple. However, it is easy to see a variety of black screens, and other wonderful errors. We recommend that you use vncvivwer to log on. 1, Press esc to display

CentOS7 uses the traditional Nic name

CentOS7 uses the traditional Nic name CentOS7 is based on hardware to name the network card. Although it is more unique, it will bring about script compatibility issues. The following implements a change back to the traditional eth naming

Enable. htaccess in centOS (Remove php suffix access)

Enable. htaccess in centOS (Remove php suffix access) My requirement is: Change api/x. PHP to api/x for access. I tried to find a lot of information on the Internet and I agree with the following statement. Prepare the. htaccess file as follows:

Configure static IP addresses and DNS for centos 7

Configure static IP addresses and DNS for centos 7Configure static IP addresses and DNS for centos 7 cd /etc/sysconfig/network-scripts/Find the corresponding Nic configuration and edit it vim ifcfg-eno16777736Configure eno-16777736 TYPE =

Set up a DHCP server on centos7

Set up a DHCP server on centos7 In recent years, I want to build a complete Intranet in a virtual environment. At present, the server has set up LNMP and DHCP Which of the DNS has been tossing for a long time last night, but it has not passed yet. I

Install mysql5.7.17 on centos7.2

Install mysql5.7.17 on centos7.2 MariaDB is used in the default source of yum Versions later than CentOS 7 to replace the original MySQL version. Therefore, the installation method has changed a little bit: Download the mysql Source Wgethttp: //

Summary of apache installation under Centos7

Summary of apache installation under Centos7 In Linux, Apache is actually called "httpd" and can be installed using yum.1. Check whether the httpd package is available: # Yum list | grep httpd 2. install Apache # Yum install httpd 3. Configure

Install MySQL at rpm in CentOS 7.1

Install MySQL at rpm in CentOS 7.1 1. Download the MySQL repo Source Wgethttp: // repo.mysql.com/mysql57-community-release-el7-8.noarch.rpm 2. Install the mysql57-community-release-el7-8.noarch.rpm package Rpm-ivh

Total Pages: 5467 1 .... 3836 3837 3838 3839 3840 .... 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.