Linux has 3 special extension Rights Management parameters:
Impact on files
Impact on Directory
Suid
Run with the permissions of the file owner
Nothing
Sgid
Run with the
The following is a shell script for restarting a process in Linux, for example with the Tomcat process:#!/bin/shpid= ' Ps-ef|grep tomcat|grep-v Grep|awk ' {print $} ' if ["$pid" = ""]; Then Echo ' Tomcat service does not start! ' else kill-9
Tidy up for later useCd/home Enter/home directoryCd.. Return to the top level directoryCd.. /.. Return to the top level two directoryCD into the personal home directoryCD-Return to the last directoryPWD Display work pathls to view the files in the
are used in the work, solve the problem first, superficial understanding, afraid to forget again, so record, do not spray.CatXxx.20140725. log |grep,,2,,1,,|sed 's/,,/\t/g'|Cut-F1,Ten|awk '{a[$0]++}end{for (i in a) print i}'|awk '{a[$2]++}end{for (i
First, boot and shutdown============== Boot =================Boot: is the standard term for "Start computer".Main boot sector: disk NO. 0 cylinder, a sector of number NO. 0 head, 512 bytes in size.MBR: The operating system is written during
There are a lot of installation methods, the following is just a way I like, the installation path does not have to be the same as me.Now the latest version number is v0.10.28Windows1, download (Put to E:\node\nodejs):Http://nodejs.org/dist/latest/x6
Linux Command summary and linux Command Summary
1. man-t ls | ps2pdf-> ls.pdf generates ls help files in pdf format.
2. pushd.: press the current directory into the stack and use popd to return to the directory.
3. find-type f! -Perm-444: search for
Modify the Linux User Name and Linux User Name
You need to modify two files:
/Etc/hosts
/Etc/sysconfig/network
Then restart
How to change the user name in a linux Command
Use the terminal to enter the root folder under the root directory,
Write Linux scripts and linux scripts
The following is a shell script for restarting a process in Linux. Take the tomcat process as an example:
#!/bin/shpid=`ps -ef|grep tomcat|grep -v grep|awk '{print $2}'`if [ "$pid" = "" ] ; then echo "tomcat
How to save a Linux computer that fails to start GRUB 2
We have been using GRUB for some time in the old version. The version of this important Linux universal Boot Tool has reached 0.97. Although the old version of GRUB has many advantages, it is
Badblocks check whether the hard disk has bad sectors
A hard disk is a device that is easy to break down. After a period of time, physical faults such as bad channels may occur. When a bad track occurs on the hard disk, if it is not replaced in time
Rename Nic In CentOS 7
The name of the newly installed CentOS 7 Nic is no longer the same as before by default, and I feel a little crazy myself... we have to make him think about eth0... after searching for N for a long time, I couldn't find a
IBatis getting started
IBatis introduction:
IBatis is an open-source apache project and an O/R Mapping solution. The biggest feature of iBatis is its small size and quick start. If you do not need many complex functions, iBatis is the simplest
Make your Kubuntu 14.04 system look like KDE Plasma 5
KDE Plasma 5 has been released recently. The new version adopts a new design and the user interface looks better than ever before (of course, there are still many new functions and improvements ).
Install SimpleScalar in Ubuntu 10.10
Environment: Ubuntu 10.10; gcc 4.4.5;
Architecture experiments are required. Installation is troublesome. The main reason is that the cross-compiler gcc version is 2.7.2. SimpleScalar writes "newer version"
Centos6.4 Forget Password Change root password on a single machine
It is a headache to forget the root password of Centos, but if you are already in the system, it will be easy to solve, enter the command # passwd root to change the New root
How to select a Web server in Linux
The rapid increase in the popularity of Nginx and the steady decline in the market share of Apache Web servers can not help but cause many guesses. Many practitioners believe that this trend will make the solution
The Centos server supports PHP and JAVA.Recently, due to project requirements, it is necessary to run PHP on the Tomcat server. Obviously, PHP runs on an Apache server. Although Tomcat also belongs to Apache, there is no existing environment, and we
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