The Linux egrep command is used to find the specified string within a file.Egrep execution effect is similar to "GREP-E", the syntax and parameters used can refer to the GREP directive, and the difference between grep is the method of interpreting
commands for viewing the contents of a file under LinuxCommands to view the contents of a file:Cat starts displaying content from the first line and outputs all contentThe TAC displays the contents in reverse from the last line and outputs all the
View Linux kernel version current system release information (distribution): Lsb_release-a, LSB (Linux standard Base) and distribution information. Use this command to know if it is Redhat, CentOS, Ubuntu. and the specific version number.Print
Fifth Chapter system callFirst, communication with the kernelThe system call adds a middle tier between the user space process and the hardware device. function :
Provides a hardware abstraction interface for user space.
System calls
Full Name:output The first part of the filesPurpose: View only the previous part of the fileformat:head [OPTION] ... [FILE] ...type:head is/usr/bin/headDescription-C,--bytes=[-]k: Displays the first k bytes of the file, and if it is negative,
Files and directories
Command
Options
Annotations
Example
Basic operation of the file
Ls
Options File
Show All files and directories
Ls-al
-A (a)
Displays all
1. Piping limitations:(1) Half duplex;(2) can only be used between processes that have a common ancestor;2. Pipeline creation Function:#include int pipe (int filedes[2]); ret = 0-Success-1-FailureReturn two file descriptor via Filedes: filedes[0]
when troubleshooting, be sure to develop the habit of looking at the log, the system is the core of a log/var/log/messages. #cat/etc/logrotate.conf This is a log-cut profile. Kill-hup is a new configuration file from the freshman. Killall process
Some days ago, my Ubuntu old hint "Filesystem root" lack of space, so, I idiot with win PE to expand space, the result, space expansion is not, but lost the guide ....So on the Internet to check information, see How to repair the boot, and finally
Transferred from: http://www.cnblogs.com/peida/archive/2012/11/01/2749048.htmlThe NL command is used in a Linux system to calculate the line number of a file. NL can automatically add a line number to the output file content! The default result is a
How to install Light Table 0.8 in Ubuntu
After more than one year of development, Light Table has launched a new stable release version. Now it only provides 64-bit binary packages for Linux.
Changes to Light Table 0.8.0:
Change: we switched from
Install Python in CentOS
Install gcc before installing python
Yum install gcc
Find your desired pythonversion at https://www.python.org/ftp/python /.
Like https://www.python.org/ftp/python/3.4.1/Python-3.4.1.tgz
Download python
Wget
Install Webmin on the CentOS Server
1. log on to the server
2. Create a folder to save webmin. We recommend that you create a folder under your account .,
3. Download The Webmin Installation File,
Command is: wget
Install unzip CT on CentOS
CT is created on the basis of tcl, so you need to install tcl before installing CT
Install TCL
: Http://www.tcl.tk/software/tcltk/download.html
[Root @ test ~] # Cd/tools/
[Root @ test tools] # wget
Install SS5 server on centos
Ss5 Server Installation Steps, first install software:
wgethttp:
//jaist
.dl.sourceforge.net
/project/ss5/ss5/3
.8.9-8
/ss5-3
.8.9-8.
tar
.gz
tar
zxvfss5-3.8.9-2.
tar
.gz
cd
ss5-3.8.9
.
/configure
make
make
install
Set
Some extensions for running the YII2 framework in Ubuntu
Intl extension (PHP intl is an international extension and a package for the ICU database .)
Sudo apt-get install php5-intlSudo service apache2 restart
PDO SQLite extensionSudo apt-get install
Setting up Samba in Ubuntu Linux
Samba is no stranger to Linux developers. Now we have a Windows version. When developing a Linux driver or application, we usually need a Linux development environment. For large companies, there is a server 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