Linux environment, how to determine the Nginx is started with that config file?Input command line: PS-EF | grep nginxPress ENTER to appear as a slice:After the master process is the Nginx directory.How to view the Nginx version number installed on
First install GitHub# yum Install gitWhen you are donehttps://help.github.com/articles/generating-ssh-keys/#platform-linux Official setup tutorial under this URLLet me explain my configuration.Ssh-keygen-t rsa-b 4096-c "[email protected]"Running
12345678
$# is the number of arguments passed to the script $ 0 is the name of the script itself $ 1 $ 2 [email protected] is a list of all parameters passed to the script $* is to display all parameters passed to the script in
1. List the user name of all logged-in users on the current system, note: The same user logged in multiple times, only once.[Email protected] ~]# Useradd user1[Email protected] ~]# passwd user1Changing password for user user1.[email protected] ~]#
Environment:Ubuntu12.04Problem Description:Could not get Lock/var/lib/apt/lists/lock-open (11:resource temporarily unavailable)The scene appears:Use command: sudo apt-get updateCause resolution:The download failed during the last download of the
The following command looks at the list of top processes in descending order of RAM and CPU:[[Email protected]~]# Ps-eo PID,PPID,CMD,%MEM,%CPU--sort=-%mem | HeadPID PPID CMD%Mem%Cpu1 0 /Sbin/Init0.1 0.0 2 0 [Kthreadd] 0.0 0.0 3 2 [Migration/0] 0.0 0.
The content originates from the people's post and Telecommunications press "Linux command Application big dictionary"tell 729 commands, 1935 examplesLearn about the Linux system's reference books, desk book, encountered the command or command not
I. SummaryUse SVN server mainly under Linux operating systemSecond, installation steps0. Verify if there is a svnserver (Svnserve--version)1. Install Svnserver (yum install-y subversion)2. Verify that the installation is successful
Computer Systems A Programmer ' s perspective Second EditionException number Description Exception class0 Divide Error FaultGeneral Protection Fault FaultPage Fault FaultMachine Check Abort32–127 os-de?ned Exceptions Interrupt or Trap(0x80) System
Cat View text Files1 , command formatCat[option] ... [FILE] ...2 , command functions1. Display the file contents and create a new file cat>filename2. Enter the content, after the content has been entered, use Ctrl+d to end the input3. Merge several
1 Creating commandsMkdir-p Directory NameWhere-p means recursive creation, English for Make directories[Email protected]:~$ mkdir TestThe above command creates a folder under the current path test[Email protected]:~$ mkdir-p mm/xThe above code first
Today a friend went to a good foreign company to interview the Linux development position, the interviewer has a following topic:Give the following C program, using GCC to compile under Linux:
1234567891011121314
#include "stdio.h"
1 start character [email protected]:~$The first TD indicates the current login administrator name, middle @ no practical meaning, td-lenovo-ideapad-y410p represents the host name, ~ indicates the current directory (home directory), $ normal user
In Linux, the time is divided into two types: 1; Use the date command to display the system time, 2 to display hardware time using clock or HwclockThe system time and hardware time will appear out of sync.Man Command =manual= command manualHere's
Simple Linux Command learning notes, linux learning notes
1. View Processes
Ps-ef | grep keyword/* keyword is service name */
Netstat-unltp | grep keyword/* the keyword is the service name or port */
2. Killing Processes
Kill-9 process no./*
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