1. Command format:diff[parameter [file 1 or directory 1][file 2 or directory 2]2. Command function:The diff command can compare individual files or directory contents. If you specify that the comparison is a file, it is only valid if the input is a
1, gzip/bzip2/xz [-#] file, can only compress files, non-compressible directory.Common parameters:-#: Specify compression ratio 1-9, default is 6-D: Expand, unzipA. gzip,gunzip=gzip-d, the default compression has the original file deletion,
Linux System Engineer Interview questions: 1. View the maximum value (command) of the current single shared memory segment of the Linux system Ipcs-m ipcs-a 2. What command to query the server port for the specified IP address test instructions
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#include stdio.h>int Main (){printf ("Hello world!\n");return 0;}After saving the file as HELLO.C, compile the linker to generate the executable
is basically installing lampFirst, prepare LinuxCentOS 6.5 is used hereSecond, install ApacheYum Install httpdThird, the installation of mysql+ Building LibraryYum Install mysql-servermysql_secure_installationmysqladmin-uroot password
Because the main platform for the work of Linux, and Linux because there is no newer than the new GCC, only 4.7, and we use the c++11, have to upgrade their own, upgrade method is relatively simple, is time consuming. 1. Download the latest GCC
What boost is not much to say, here's how to compile all the modules that use boost under Linux.1. First go to the Boost website to download the latest boost version, I downloaded the boost_1_56_0 version, unzip.2. Go to the Unzip directory: CD
Respect the original, original address: Http://blog.csdn.net/xiaoguaihai/article/details/8705992#t281. Instructions for displaying dates: date2. Instructions for displaying the calendar: Cal3. Simple and easy to use calculator: BCWhy would 10/100
First through the physical terminal into Linux, manually check SSH discovery is not running/ETC/INIT.D/SSHD statusSSHD is stoppedManually start the service and discover that report permissions are incorrect./etc/init.d/sshd startStarting
If your iptables basic knowledge is not yet known, it is recommended to take a look first. Start configuration Let's configure a firewall for the filter table. (1) Check the setting of this institution in Iptables [ROOT@TP ~]# iptables-l-NChain
Disposable task--at, Batch command
At time, the user interactively submits a command task at the ' at> ' prompt to be executed at the specified times. Finally, the task is submitted with the ' Ctrl+d ' key combination.
- q queue
Download libevent:# wget http://www.monkey.org/~provos/libevent-1.2.tar.gz directly with wget instructions then, you need to specify an installation path during configuration, that is./configure–prefix=/usr; then make; then make install; the
Linux link filesLinks are available in two ways: hard links and soft links.(a) Soft linksSoft links are also called Symbolic links. The basic commands are:[Plain]View Plaincopy
Ln-s Sourceplace Newplace
a soft link can link to any file
Environment:1, there are two machines, a:windows (Win 7) and B:linux (CentOS)2, a:192.168.0.101 b:192.168.0.1023. Create a Yum sourcePurpose: Share folders in Windows iOS, Mount Windows shared folders to a local disk in LinuxFirst, WindowsFolders in
I. Installing module management such as node. JS and Npm,mysql on the Windows platform1. Download node. JS official Windows edition program and NPMhttp://nodejs.org/#downloadHttps://github.com/isaacs/npm/tags2. Create the D:\nodejs directory and
Linux Command find command details, linux Command find detailsFindSearchIt is a real-time Feature and does not require a database. It is relatively slow.1. Recursively search for files in a specified path2. Search by various criteria3. Support for
Linuxgrep command learning and summary-Grep description
The grep command is a powerful text search tool in linux. How does grep name it?
Grep:G(Globally) search forRe(Regular expression) andP(Print) the results
From the English explanation above, we
CentOS 6.5 Docker self-made CentOS Image
For how to install Docker on CentOS, see:
Installation:
Yum-y install febootstrap
Add User:
Adduser admin
Add the admin user to the docker group:
Usermod-a-G docker admin
Use admin user
Su admin
Cd/home/admin
Use MegaCLI to manage local disk arrays of PC servers
This article was written because part of the MegaCli64 command was related to the deployment of the Oracle Exadata x4-2, and when IBM X3850 X5 was installed and deployed, it is found that the SUN
Error prompt for enabling PHP In Ubuntu 14.04
In Ubuntu 14.04, the default PHP development environment configuration does not prompt all warning and error messages. This is very painful for developers. Record the configuration method here for
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