Example:Output View command:Example:To view hardware information:Example (LSPCI):LsusbShutdown, restart command:Shutdown-h Now=poweroffShutdown-r Now=rebootArchiving and compression:Example zip:Example unzip:Tar is a packaged command, not a
1. See if the service is runningPs-aux | grep cron2. New Scheduling taskThere are two ways to add a dispatch task:1), at the command line input: CRONTAB-E and then add the corresponding task, Wq save the disk to exit.2), directly edit
Press the Q key to save the VI file times error
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/5C/90/wKioL1UdY3-wP2LrAADn4S0i3BM909.jpg "title=" VI save problem. png "alt=" wkiol1udy3-wp2lraadn4s0i3bm909.jpg "/> Reason: The file has
One, the default configuration of GNOME Power Manager is not installed properlyIi. Oracle Start and stop1. Start Oracle under LinuxSu-oracleSqlplus/nologConn/as SYSDBAStartupExitLsnrctl startExit2. Shut down Oracle under
The configuration of the kernel is determined by the configuration options in the form of config prefixed with the config_feature.The configuration options determine the following two areas:1) which files are compiled2) What code is processed by the
1. Use the SHA algorithm to encrypt the date and output the first 32 characters of the result: Convert current time to SHA algorithmThe resulting results are as follows:1. Ztnimgm0ndi5ogzjmwmxndlhzmjmngm42. Use the inline/dev/urandom and filter
Tomcat Installation:Download the tar package and unzip it directly to the official website.Tomcat related operations:First, go to the Bin directory under Tomcat, for example: Cd/usr/tomcat/binStart tomcat:./startup.shClose tomcat:./shutdown.shTo see
The Linux directory is similar to a tree, and the top level is its root directory, such as:/bin Binary executable command /dev device special files /etc system administration and configuration Files /etc/rc.d startup configuration files
In practice, there might be a scenario where a process name feature string is given to find details of all processes that match the process name.The solution is to:(1) the pgrep [str] command is used for fuzzy matching, and the process ID matching
Usage:Fuser[-A |-S |-c] [-N SPACE] [-signal] [ -Kimuv] NAME ... [ -] [-N SPACE] [-signal] [-Kimuv] NAME ...Fuser-LFuser-Vshowwhichprocesses use the named files, sockets, or filesystems. -a display unused files too-C mounted FS-F silently
Sometimes I have to find some strings, but I don't know which file, just remember some stringsSo how do you find files that contain a piece of text under Linux?A powerful find command can help you accomplish an impossible task.For example, I only
Common linux commands: packaging, copying, and other common linux commands
Backup File
Tar-cf/home/app20140703bak.tar/home/app/uat/test. war
Copy the file to the target folder.Example:Cp-af/app/wasapp/appname_uat.ear/appname.
Analysis of post fix and post fix in Linux
Postfix is the mainstream mail server in Linux, that is, MTA, which is mainly used to implement the SMTP protocol. It is compatible with sendmail, and postfix is created to improve sendmail.
Generally,
Set ntpdate synchronization network time on the CentOS ServerIf multiple CentOS servers run the same service and have high requirements on time accuracy, the time of multiple servers must be consistent.The simplest thing is that each server uses
Accton and lastcomm commands in linux
We use the accton command to enable or disable process statistics. If no parameters are included, the process statistics will be disabled. Its main parameters are as follows:
(1)-V or -- version indicates that
Set python automatic tab auto-completion in Linux
1. Install the readline module.
Sudo apt-get install readline *
2. Create a file ~ /. Pythonstartup. The content is as follows:
# Python startup fileimport sysimport readlineimport
Lua study notes in Ubuntu 14.04
As Lua becomes more mature, its applications in servers become wider and wider. I also want to develop in this area, so I began to learn Lua.
To learn a new language, you should first compile, install, and deploy the
Precautions for using a supervisor
It has always been the use of supervisor to manage service processes on linux. Recently, some colleagues said that a service seems to be faulty. Let's check it out. After going up, I found that the response to a
Centos7 install golangInstall golangcentos7 and install golang [plain] view plaincopy directly
Yuminstallgolang
For centos6, you must add a software source and then install [plain] view plaincopy.
Rpm-ivhhttp: // ftp.riken.jp/linux/fedora/epel/6/
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