The end sign of document of LinuxI tried all the Linux version and found that the end of the file be 0a (alias LF), this is the operating system requirement , Windows is \ r \ n character to end the file, and I hope to help everyoneLinux under the
1. Turn off SELinux#临时关闭setenforce 0# permanently closed vim/etc/selinux/configselinux=disabled2. Set the run level to 3#设定运行级别vim/etc/inittabid:3:initdefault: #查看当前级别 [[email protected] ~]# Runleveln 33. Streamlined boot-up#系统安装后只保留crond, sshd,
The less tool is also a tool for paging through files or other output, which is a very powerful tool for Linux to view the contents of a file. The usage of less is more resilient than more. In more, we have no way to turn front, can only look back,
Before you begin, verify that the GCC g++ Development class Library is installed, and that the default is set.The UBUBTU platform compilation environment can use the following directivesapt-get install build-essentialapt-get install libtool The
This example uses the centos6.5 version, the details are as followsFirst, to the official download Tomcat servicehttp://tomcat.apache.org/download-70.cgiIi. uploading Tomcat to a Linux serverI set up a rommr folder in the root directory is generally
General Linux comes with git version is very old, there will be some problems, you can uninstall the system comes with Git:yum remove gitDownload and install Git:wget https://github.com/git/git/archive/v2.2.1.tar.gztar zxvf v2.2.1.tar.gzcd
operating system : Ubuntu 17.04Development language: Qt program is in qt below compile c Code, implemented ftp upload function. At the same time I need to combine my own application to control the file upload and download function. You
# total number of cores = number of physical CPUs x number of cores per physical CPU # Total Logical CPUs = number of physical CPUs x number of cores per physical CPU X number of hyper-threads # View the number of physical CPUs cat/proc/cpuinfo|
Linux SET commandFeature Description: Set up the shell.Syntax: Set [+-ABCDEFHHKLMNPPTUVX]Additional instructions: Use the SET command to set various shell options or to list shell variables. A single option sets commonly used attributes. After some
Basic Command 1.1 View disk partition usage: DFParameters:
L: Show only local disks (default)
A: Displays disk usage for all file systems, including, for example,/proc/
H: The most appropriate unit to display the
ACL: An extension of its own permissionsPackage: Zip 111.zip a.txt b.txt .....Zip-r/etc/sysconfig/* (can be returned to all content 0)Chebao: Uzip 111.txt-d Path (-D sigh Yes to the specified directory)Some options for tar-C Create a package-R joins
Install the font on CentOS1. Copy the font to CentOS in Windows XP or Vista or download it here: [html] view plaincopy
Http://linux.linuxidc.com/pub/2009/11/12/%E9%9D%A2%E5%90%91Ubuntu%E7%9A%84%E5%BE% AE
Four common file search commands in linux1. File SEARCH Command locate (locate, search)The greatest benefit is high speed.Format: locate file namePath of the returned FileSearch Method: search by file name in the background database, updated every
Summary of CentOS kernel upgrade1. Download the kernel package to the local machine and update it locally.
# Download the kernel package you want to update
Http://ftp.scientificlinux.org/linux/scientific/6/x86_64/updates/security/kernel-2.6.32-696.13
Linux shutdown and restart commandShutdown and restart command:Shutdown [Option] TimeOption:-C: cancel the previous shutdown command.-H Shutdown-R restartExample:Shutdown-r & (& indicates that the background is ready to be restarted at a specified
Add PATH environment variables in linux
In Linux, add the command to the PATH to classify the blog:LinuxLinuxApacheBash
Simply put, PATH is a string variable of a group of paths. If the command you enter does not contain any PATH, LINUX searches for
Common firewalld commands in CentOSInstall
Firewalld has been installed by default in Centos7. If you need to install it yourself, you can directly use yum to install it.
# Yuminstallfirewalld
To use the graphical Configuration tool, install
Use of telnet commands in CentOSParameter description:
-8: 8 characters are allowed, including input and output.
-A tries to automatically log on to the remote system.
-B uses the alias to specify the remote host name.
-C does not read the.
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