There are several ways to run the background process of Linux, such as Nohup,screen, but, if it is a service program, to reliably run in the background, we need to make it daemon, the mostIt can also monitor the status of the process and
command to enter VIVI FileName: Opens or creates a new file and places the cursor at the beginning of the firstVI +n FileName: Opens the file and places the cursor at the beginning of nthVI + FileName: Opens the file and places the cursor at the
Common Linux commands are documented for later use:First, view the server configuration1. View the number of logical CPUs and CPU modelCommand: Cat/proc/cpuinfo | grep name | Cut-f2-d: | Uniq-cResults:Meaning: 24 logical CPUs, CPU called Xeon, CPU
Shell learning in Linux: A shell script file that is automatically executed after a user logs in, configured in. bashrc./etc/profile files are configuration system environment variables, such as Jdk,tomcat, and/home/zebra (user name)/.bash_profile
A Glances IntroductionGlances is an open source command line system Monitoring tool for Linux and BSD, which is developed using the Python language to monitor CPU, load, memory, disk I/O, network traffic, file system, system temperature and more.
The shell's built-in command exec does not start the new shell, but instead uses the command to be executed to replace the current shell process and to clean up the old process's environment, and the other commands after the EXEC command will no
Today QA made a request to delete a file in the specified format under a directory.[[email protected] resin-3.1.9]# ls | Wc-l1013964Statistics the next, there are more than 1 million files!and the name of the file is also very strange, such as
1.ZeroMQZMQ is a message queue. You can transfer data in-process, inter-process, TCP, multicast, in messages, instead of the socket's byte stream. The official homepage is available for download, use, documentation, and quite complete.Common
Change the Startup interface (http://comments.gmane.org/gmane.linux.redhat.fedora.general/442899)If you want to switch the Display Manager, say from GDM to KDM.Systemctl Disable Gdm.serviceSystemctl Enable Kdm.serviceor systemctl enable
Today we need to use a backup website, write a script, back up MySQL and redis data.#!/bin/Bashbackdir="/home/tan/getll_backup"if[!-d $BACKDIR]; Then mkdir$BACKDIRfi; Backdir_tmp= $BACKDIR"/backup"if[-D $BACKDIR _tmp]; Then EchoTemp directory
/****fork_test.c *****/#include #include #include main () {pid_t PID; /* There is only one process at this time */int n=4; Pid=fork (); /* There are already two processes running at the same time */if (pidThe statement "Pid=fork ()"
This article first outlines what data in a thread is private, what data threads in the process are shared, then analyzes the data in the user space in detail, and finally analyzes the distribution of the data in the thread through a multithreaded
In linux, use Xshell to view tomcat real-time logs with Chinese garbled characters,
When you use Xshell to view tomcat real-time logs, Chinese characters are garbled, but the Chinese characters in the log files are not garbled. There may be two
Vmware/CentOS accesses files in Windows, vmwarecentos
1. Set the file as a shared folder2. Confirm your windows IP address, user name, and password.3. Enter the following content on the CentOS terminal:[Root @ *** mnt] # mkdir winD[Root @ *** mnt] #
Linux Command summary a. * (1)
1. a2p converts an awk script to a perl script command
The converted results are not necessarily reliable and require manual intervention.
[root@jjy ~/q/data/hongkongAndMacaoPoint/poi]# cat
Linux öè í {° ü ¹ üráí £°{» £.
· Öà £°
Comment Â ë ° U £° ½ Å ± ¾ ° ² × ° U £° À like óúwindows ° ² × ° U £.
Please refer to the following link for more information:
Ü Ã ¹ æ £ £°
Rpm comment À μ £° vcD4KCjxwPjxpbWcgc3JjPQ =
Build an ftp server in linux
Online Installation
Yum install vsftpd pam * db4 *-y
Use the command to configure vsftp as a system service
Chkconfig -- level 35 vsftpd on
Before configuring vsftpd. conf, back up the original
Vi/etc/vsftpd.
Configure samba in centos 6.51Samba IntroductionSamba is a software that allows Linux systems to Apply Microsoft network communication protocols. SMB is short for Server Message Block, that is, Server Message Block. SMB is mainly used as Microsoft
Ubuntu User ManualIt seems strange to have installed a linux kernel-based Ubuntu system. Fortunately, there are some memories of linux, just to remember it. After the installation, first, we need to select the download server most suitable 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