Summary of the Three Musketeers ' grep command1. grep(1) The grep command plus the-v parameter indicates that the content containing Linux is not output[email protected] data]# CAT ABCI am OldboyOldboyOldgirlI am studying LinuxI am Eric[[email
How to use 1.awk, pattern supports regular expressions1 ' Pattern{action} ' {Filenames}where pattern represents what AWK looks for in the data, and the action is a series of commands that are executed when a match is found. Curly braces ({}) do not
Start The first step --Load BIOS When you turn on the computer, the computer loads the BIOS information first, and the BIOS information is so important that the computer must find it at the very beginning. This is because the BIOS contains
In this essay, we mainly introduce some commands related to the management of archives and directories in the Linux environment, including the following aspects:
Directory related operations: Cd,pwd,mkdir,rmdir (RM)
File and directory
Use the rz and sz commands to transfer files between windows and linux.
Files are often uploaded and downloaded between windows and linux. If you use ftp tools to work, you may find it troublesome. it is inconvenient to switch between them. If you
Installation of vnc in linux and installation of linuxvnc
Whether the VNC service has been installed and check the installed VNC version:
> Rpm-q vnc-server
If not, you can download the vnc-server-4.1.2-14.el5_6.6.x86_64.rpm and install:
(1) When
12 commands for linux beginners and 12 commands for linux beginnersI believe that the fear of command line is the biggest mistake made by new Linux users. For this reason, let's take a look at some basic command lines that Linux users should know.1.
CentOS uses dd commands to create a USB disk boot diskFormat the USB flash disk first: Use fdisk-l to view the USB flash disk to the mount point, for example,/dev/sdb1. Unmount the USB flash disk and run the format command mkfs. vfat/dev/sdb1.
Then
CentOS6 offline bash vulnerability repair
Today, we are all fixing the bash vulnerability. I have also made some offline upgrades, as shown below:
1. Test whether upgrade is required
# Env x = '() {:;}; echo vulnerable' bash-c "echo this is a test" #
12 linux commands for beginners
I believe that the fear of command line is the biggest mistake made by new Linux users. For this reason, let's take a look at some basic command lines that Linux users should know.1. ManI started with the "man"
CentOS6/Linuxsu: unable to set user ID: Resource temporarily unavailableSystem Environment: CentOS 6.5When switching user doiido using su today, the following error occurs:# Su-doiidoSu: unable to set user ID: Resource temporarily unavailableAt the
Solution to tomcat port 80 in linuxFault: the website cannot be accessed. Analysis: netstat-an shows that a large number of port 80 processes are dead and tomcat is restarted. tomcat fails to start and the webpage cannot be opened. stop the tomcat
CentOS calls the. Net Web Service and prompts the connection timeout solution. centos.net
I use axis to call. NET Web Service, run under the Window is no problem, deploy the project to Linux, found that the Web Service connection times out, Baidu,
Linux and linux
Simple mode:
#!/usr/bin/expect -f set timeout 5 spawn ssh root@192.168.0.1expect "*assword*" send "root\r" expect "#" send "ifconfig \r" expect eof
Explanation:
Send: used to send a string to the process: receive a string
Introduction to CentOS 7 firewalldTo learn how to install apache, open port 80. Since the firewalld is used by default after centos 7, the iptables setting method on the internet is no longer used, and the iptable will not be used anyway, simply
Detailed explanation and practice of centos shutdown and restart commands
Centos restart command:
1. reboot
2. shutdown-r now restarts immediately (used by the root user)
3. shutdown-r restarts automatically after 10 minutes (used by root
CentOS auto-start service settings
Standard method:
/Sbin/chkconfig list view the list of services that can be started/sbin/chkconfig httpd on enable auto-start
If you cannot find the file in the service, try to use the rc. local file.
1. Edit
CentOS6.4 install Nginx
Nginx is a high-performance reverse proxy server that supports Server Load balancer configuration, which is easy to use and easy to configure. In addition, Nginx can be easily expanded through modules, so Nginx has a large
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