Read about practical guide to linux commands, The latest news, videos, and discussion topics about practical guide to linux commands from alibabacloud.com
process ID, as shown below, and then use the kill-9 command to terminate the process.# Ps-ef |grep init root 1 0 0 07:53? 00:00:04/sbin/init root 7508 6825 0 11:48 pts/1 00:00:00 grep init# kill-9 750829.rm CommandThe RM command is used to purge or delete files without prompting for confirmation.# RM FileNameUse the-I option to confirm the deletion before deleting it, and use the "-R" and "-f" options to forcibly delete the file without confirming it.# rm-i test.txtrm:remove regular file ' Test
multiple small filesThe split command is used in Unix-like systems to split large-volume files into small-volume files. Large volumes of tar can of course also be used to split the command.Suppose you need to split "mybackup-2016-09-09.tgz" into small files of 6 MB per copy.Syntax: split-b size-in-mb> extension> "prefix- name " [[Email protected] ~] # split-b 6M mybackup-2016-09-09.tgz mybackup-partsThe above command will split the mybackup-2016-09-09.tgz file into multiple 6 MB small fil
connecting to the server disconnects, the server side also exits.Server-side:?
1
$ nc-l 2389
Client:?
12
$ nclocalhost 2389^C
Server-side:?
12
$ nc-l 2389$
In the above example, the server side also exits immediately when the client disconnects.We can use the-K parameter to control that the server does not exit because the client disconnects.Server-side:?
1
$ nc-k -l 2389
Docker Practical Guide: containerized a python web AppProvide Zstack communityObjectiveIt is a common and scary thing that Web applications can be exploited by attackers to seize the entire host's permissions at any time. For greater security, there is a need to isolate the different applications (especially if they belong to different users), but the implementation of this isolation has always been a chall
Basic but practical: Summary of common LNMP commands and common lnmp commands
1. modify directory permissions[Root @ localhost ~] # Chmod 777/home/user Note: only set the permission of the/home/user directory to rwxrwxrwx.[Root @ localhost ~] # Chmod-R 777/home/user Note: Set the permissions of the entire/home/user directory and its files and subdirectories to rw
Linux system tuning authoritative guide, linux tuning Guide
1. Disable SELINUX.1.1 modify the configuration file to make SELINUX disabled permanently effectiveSed's # SELINUX = enforcing # SELINUX = disables # G'/etc/selinux/config ==> restart the system to take effect1.2 temporarily disable SELINUX[Root @ hadoop01 xni
YII2 Beginner's Guide to Practical tutorials-Simple Blog management system, YII2 beginners
1. Introduction
The Quick Start Guide provides a basic introduction to the YII2 framework, including database migration, GII operations, AR models, routing, validation, views, and more. If you're a Yii2 novice or even unfamiliar with the PHP framework, this will be a good
A Practical Guide to VBA development
TANGDA Appendix Articles
VBA (Visual Basic for application) is a two-time development tool with Office, which can be a great convenience for everyday office. This article describes common objects and their associated properties, methods, and events (including Word, Excel, PowerPoint, and so on) for VBA development of Office members and gives the relevant instance code.
Linux beginner's guide and r language beginner's Guide1. Why should we learn Linux?
Why should we learn about Linux? What value does Linux bring to us?
Linux gives me the feeling thatStability,Free,Good performance.
StabilityWhere
: Celery multi start worker1-a appname-autoreload--pidfile= "HOME/run/celery/">Hom e /r Un/celey / Home/run/celery/home/log/celery/%n.log "
or celery Worker-detach.
Stop it
PS AUXWW |grep ' Celery worker ' |awk ' {print $} ' | Xargs kill-9
Methods for integration with flask
After integration, Flask will act as producer to create and send a task to the broker, and the standalone worker process initiated at celery will get the task from the broker and exe
Version manager visual sourcesafe6.0 Practical Guide
(17:47:51)
I. Necessity of Version ManagementIf the software crisis in 1970s led to the birth of software engineering ideas and the development of the theoretical system, then 80 ~ In 1990s, especially in 1990s, the rapid development of the software industry led to the emergence and impleme
necessary. Refer to the following settings for details:# # Project-wide Gradle settings.## For more details about to configure your build environment visit# http://www.gradle.or g/docs/current/userguide/build_environment.html## Specifies the JVM arguments used for the daemon process.# the setting is Particularly useful for tweaking memory settings.# Default value:-xmx1024m-xx:maxpermsize=256m# ORG.GRADLE.JVMARGS=-XM x2048m-xx:maxpermsize=512m-xx:+heapdumponoutofmemoryerror-dfile.encoding=utf-8
*argv, const char *options,const struct Option *long_options, int *opt_index,struct _getopt_data *d){Return _getopt_internal_r (Argc,argv,options,long_options,opt_index,0, D, 0);} /* like Getopt_long, but '-' as well as '--' can indicate a long option.If an option is starts with '-' (not '--') doesn ' t match a long option,But does match a short option, it's parsed as a short optioninstead. */ Intgetopt_long_only (int argc, char *const *argv, const char *options,const struct Option *long_option
$ git Checko UT. # resets the specified file for staging area, consistent with the last commit, but the workspace is unchanged $ git reset [file]# resets staging area with the workspace, consistent with last commit $ git reset--hard# resets the current branch pointer to the specified commit, while resetting staging area, the workspace does not change $ git reset [commit]# resets the current branch's head for the specified commit, while resetting the staging area and workspace, consistent with t
workspace unchanged $ git reset [file] # Reset staging area with workspace, consistent with last commit $ git reset--hard # Resets the current branch pointer to the specified commit, same as Reset the staging area, but the workspace does not change the $ git reset [commit] # Resets the current branch's head to the specified commit, while resetting the staging area and workspace, consistent with the specified commit $ git reset--hard [commit] # Resets the current head to refer to Commit, but kee
Special Instructions
For those of you who want to write a review after my essay, please note that my blog is written using Markdown, and support for Mathjax mathematical formulas is enabled. If there are two in a comment $ , Mathjax will think that the $ content between the two is a mathematical formula, resulting in a confusing format. If you are sure that your comments are not mathematical formulas, please use \$ escape, thank you.
Want to read the series from scratch? Here is the Portal:
System Information: CentOS 64-bit.
A picture of command prompt and command line
Some practical small commands
mkdir (make directory, create directory), LS (list, list the contents of the current directory), RM (remove, delete files, if you delete the directory, you need to add the parameter-R, which means recursive-recursive delete), Man (Manual, Manual, Follow the command to op
Linux Assembly Language Development Guide 1-Linux general technology-Linux programming and kernel information, the following is a detailed description. Linux Assembly Language Development Guide
The advantage of assembly language
常使用数据了! Five: start the MySQL service and set it to system service:
# chkconfig mysqld on← set up MySQL service with system boot self-boot# chkconfig–list mysqld ← Confirm MySQL self-booting mysqld 0:off 1:off 2:on 3:on 4:on 5:on 6:off← If 2–5 is on the status OK#service mysqld start← Start Service (#/etc/rc.d/init.d/mysqld Start is also possible)
VI: Delete the anonymous user and the test database:
Delete from mysql.user where user= "; ← Delete anonymous user
se
Practical Manual: over 130 common Vim commands to improve development efficiency
Vim is a text editor developed from vi. Code Completion, compilation, error jump, and other convenient programming functions are particularly rich and widely used by programmers. It is used in parallel with Emacs to become your favorite editor for Unix-like systems. The vim commands
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.