"Sudo" is a very useful tool on the Unix/linux platform that allows system administrators to assign some reasonable "rights" to ordinary users to perform tasks that only superuser or other privileged users can accomplish, such as running some
Anti-counterfeiting code: Empty talk endangers, hard work hing BangChapter seventh process and planned task managementOne, view process information1. View Static Process informationPS aux2. View dynamic Process InformationTop3. Query process
"Sudo" is a very useful tool on the Unix/linux platform that allows system administrators to assign some reasonable "rights" to ordinary users to perform tasks that only superuser or other privileged users can accomplish, such as running some
This example is a signal-based synchronization mechanism that enables parent-child processes to change the values in a file in turn.Taticvolatilesig_atomic_t Sigflag;Staticsigset_t Newmask,oldmask,zeromask;Static voidSIG_USR (intSigno)
I want to kill a process under Linux will usually use kill-9, but to tell the truth, why in the end why use kill-9 oneself also can not say why, today just think of this problem on the Internet to check.
Let's start with the KILL command, which is a
sudo introduction: sudo is a Linux system Management Directive, is a tool that allows the system administrator to let ordinary users perform some or all of the root commands, such as HALT,REBOOT,SU and so on. This not only reduces the login and
Java Close HookIn a Java program, you can turn off the resource when the program exits by adding a close hook.Use Runtime.addshutdownhook (Thread hook) to add closure hooks to the JVM publicvoidaddShutdownHook(Thread hook) {
How to detect memory leakage in linux-general Linux technology-Linux technology and application information. This article discusses how to detect the memory leakage of C ++ programs in linux and its implementation. This includes the basic principles
Article Title: processes that cannot end in linux can end in this way. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open
Linuxfgbgctrl + zjobs & amp. Fg, bg, jobs, &, ctrl + z are all related to system tasks. Although these commands are rarely used, they are also very practical.
I. & Most frequently used
This command is used at the end of a command and can be executed
In Ubuntu10.10 with sudoapt-getinstallkmymoney2 Installation Software kmymoney2, because the speed is too slow, want to change the software source, directly close the terminal, apt-get but the process is not over, the result terminal prompt: "E:
Linuxcaicai's Common commands-general Linux technology-Linux technology and application information. For more information, see the following. Linux caicai
Command to view the linux version
# Uname-
# Cat/proc/version
# Cat/etc/issue
# Cat // display
I recently half a year using Ali Dubbo to do development, and in the company vigorously promote, the original a bulky and not easy to maintain the large project into a number of relatively independent Java programs, the benefits are obvious, but
Because our technology now uses Struts2 + Hibernate3 + Spring3, so the common java Web Container can be used. If we want to use something like EJB in the future, we can change it to JBOSS or weblogic. The previous section mainly installed JDK and
Vim: Text Editor
Vim file name
Vim + n (row number) such as vim + 3/etc/passwd cursor in the third line;
+/The word cursor starts with a line in the word;
Vim has three modes:
Command, input, and last line modes
Command mode-> input mode
1) I I
2)
Common linux commands do not forget to note the commonly used basic linux commands. These days, when I have been drum up linux, some basic commands have not been used for a long time, however, some occasionally used commands, which will inevitably
Because our technology now uses Struts2 + Hibernate3 + Spring3, so the general javaWeb container can be used. if we want to use something like EJB in the future, we can change it to JBOSS or weblogic. in the previous section, JDK and TOMCAT: 8080
During this time, I learned about the ubutun system. one feature of linux is that many operations can be processed through terminal commands. Once familiar with it, the processing efficiency is very high, but the skill and learning costs are
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.