Common commands1. Date and timeDate: View, set current system timeHwclock Display Hardware clock timeCal View CalendarUptime viewing system run time2. Output, view commandEcho: Used to display input contentCat: Used to display folder contentsHead:
A. Command prompt [[Email protected]~]# whichRoot: Is the currently logged on userlocalhost: Host name~: Current directory (home directory)#: Super User prompt$: Normal user promptTwo. command format command [options] [parameters]Note: There
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
"Disclaimer: Copyright all, welcome reprint. Do not use for commercial purposes. Contact mailbox: feixiaoxing @163.com "From the beginning of graduate school, I see kernel time is not short. Although the code read a lot, the principle of the book
Permission control under Linux system1.file Permissionsin our Linux system , the permissions of a file or directory can be divided into 3 types :R:4 ReadW:2 WriteX:1 ExecutionExample :644: (4+2) (4) (4)First 6: The permissions of the owner of the
1. Create a disk partitionFdisk/dev/vda1P: Displays the partition of the current hardware, including unchanged changesN: Create a new partitionD: Delete a partitionW: Keep exitingQ: Do not keep exitingT: Modify the partition typeLL: Show all
The Linux process has a certain relationship with each other. For example, on the basis of the Linux process, we see that each process has a parent process, and all processes are rooted in the init process, forming a tree structure. We are here to
Locate
Usage: Locate file name
Search by file name in background database, search faster, database is/var/lib/mlocate
UpdateDB: Updating the database
Search by file name only
Whereis command to search for commands
grep :Searches for text based on pattern (mode) and displays lines of text that conform to the pattern, without modifying the original file.Usage: grep [options] ' pattern '/file #也可以利用管道进行匹配-I ignore ignoring case--colour the matched string with a
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
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
1, LS2. PWD Displays the current directory location3. Date datetime4. Cal CalendarThe current month is displayed by defaultCal 2012: View the 2012 calendarCal Month Year: View calendar for a month of the year5. BC CalculatorBC Default execution
Linux Everyone is not strange, I was in junior high time to start contact with Linux, class when a teacher to us in class chat, said that your computer professional students to learn Linux, It will be very helpful for you to develop or to be
In Linux, the color of the file is meaningful. whichBlue indicates directoryGreen indicates an executable fileRed indicates compressed filesLight blue indicates a linked fileGrey means other filesFlashing red indicates a problem with the linked
In the enterprise management of the Linux server, you have to face a problem that is the partition, next to share with you how to properly manage the disk.Partition Table TypeMBR 4 Primary partitionsGPT supports 128 primary partitionsBased on MBR
Linux is a free and open source Unix-like operating system that uses the Linux kernel. There are many different Linux distributions that can be installed on a wide variety of computer hardware devices, from phones, tablets, routers and video game
650) this.width=650; "src=" Http://img.baidu.com/hi/jx2/j_0011.gif "alt=" J_0011.gif "/> Story background: My surname is Wu, name Rainbow Forest, 1 Wives ' husbands (a joke), The father of 2 children. 86a day of success from the fantasy mainland
Tomcat is self-started in centos and centostomcat is started.
1. Create a script in the specified directory and grant the 755 permission
Vim/etc/init. d/tomcat
#!/bin/bash## kenny kenny.zhou@tom.com# /etc/rc.d/init.d/tomcat# init script for tomcat
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: //
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