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 understand the options can be foundStrive to publish content every day airfish2000 "blog, More commands view the blog: http://airfish2000.blog.51cto.com/10829608/1898282Exit commanduse the exit comma
Nohup commands are often used to let processes execute in the background.However, if you just execute: Nohup Command then close the terminal directly, you will find that the previous boot process will also exit.Workaround:Nohup Command , see output: appending outputs to nohup.outYou also need to press any key on the terminal to return to the Shell Input Command window, and then exit the terminal by entering exit
Implementation to the daemon, timed detection openoffice whether to exit, if the process does not exist, through the script will openoffice up. Procedure: First step:Place the openoffice.sh script under the root directory (also at your own discretion):Script content:[Java]View PlainCopy
#!/bin/sh
#set-X
Openofficepid= ' Ps-ef|grep "/opt/openoffice4/program/soffice" |grep-v grep|grep-v grep|awk ' {print $} '
if [!-n "$OPENOFFICEPID"];
Problem:Before executing the MV command, often will automatically exit, both sides have space, and there is no movement to complete, this is because in the background execution, actually put him in the queue to execute, when the parent process dies, the default will give the child process a signal, the child process will automatically kill. Later, the following three methods were used to solve the problemMethod One:[Email protected] ~]# nohup MV addus
A good eclipse of work a few days ago, when it started yesterday afternoon, it suddenly got an error.ErrorSister's, good suddenly error, very strange, the key or return a bunch of things to see, look at the Eclipse.ini inside the configuration information, see the familiar JDK, mistakenly think it is a JDK error.Because the computer is a 64-bit system, look at the start of Eclipse is 32-bit, look at the Eclipse.ini configuration file-VM corresponding JDK is another 32-bit.Search the next Baidu,
Code
Describe
Code
Describe
0
Command completed successfully
128
Invalid exit parameters
1
Usual Unknown error
128+x
Fatal error using Linux signal x
2
Misuse of SHELL commands
130
Command terminated with Ctrl-c
126
Command cannot be executed
255
Exit status outside the specific
There are usually three kinds:
The code is as follows
Copy Code
Location:xxxx:yyyy/zzzzContent-type:xxxx/yyyystatus:nnn xxxxxx
Common examples
1. Implementation redirection (Status Code 302)
The code is as follows
Copy Code
Header ("Location:http://www.111cn.net");Exit?>
Example
The code is as follows
Copy Code
Header ("location:http://www.111cn
Careful users will find that there is a homegroup icon on the Win8.1 system desktop, family members through the home network to share and file sharing, but some users will feel nothing to quit, but was prompted not to quit normally, prompted "Windows can not remove your computer from the homegroup", How do you exit successfully?
Win8.1 Unable to exit homegroup solution:
1, press Win+r key to call u
There are usually three kinds:
The code is as follows
Copy Code
Location:xxxx:yyyy/zzzzContent-type:xxxx/yyyystatus:nnn xxxxxx
Common examples1. Implement Redirection (Status code 302)
The code is as follows
Copy Code
Header ("Location:http://www.111cn.net");Exit?>
Example
The code is as follows
Copy Code
Header ("location:
or not. If the process is not terminated, you can use the Kill-sigkill PID, which is the kernel that terminates the process and the process cannot listen to the signal.
Five, Ctrl+z (hang), CTRL + C (interrupt), ctrl+\ (exit) and Ctrl+d (EOF) The difference
1, four kinds of operation performance
CTRL + C forcibly interrupts execution of the current program.Ctrl+z interrupted the task, but the task did not end, he was still in the process, just put
This is a lot of people will encounter problems, I have tried a lot of methods, are not easy to use.Like what:
Copy Code code as follows:
System.exit (0);
No way.What else to jump to the first activity, while the top of the stack of activity all clear, and finally finish (); Don't know why.Here is a method of my own, the effect is very good.Principle: Registers a broadcast receiver at each activity to receive broadcasts to close the activity. When you need to
That may be because the mobile phone's "Lenovo Power" application to open the "lock screen intelligent power saving" setting, after the setting, the Phone lock screen will automatically clean the background to extend the standby time. If you do not want to automatically exit the background program, you can refer to the following operations (all the following text and screenshots to K900 and 1.2.122 version of Lenovo Province as an example to explain,
For the Palm Hero Alliance software users to detailed analysis of the way to share the exit account.
Method Sharing:
1, open the palm of the league, click on the upper right corner of the portrait.
2, and then click the lower left corner "settings."
3, click the bottom of the "Exit Account" button.
Well, the above information is a small series to the Palm of the alliance of the users
When you use Golang for concurrent programming, when you start a new goroutine asynchronously, the main goroutine does not know if the other goroutine is finished, and once the main goroutine exits, all the goroutine exits. Therefore, you need to control the main goroutine exit time, there are the following methods:
(1) time. Sleep ()
More brutal, not reliable, is to let the main goroutine more run for a while, the actual is not sure whether the oth
To all of you mobile phone Jingdong software users to detailed analysis to share the exit account method.
Method Sharing:
1, open the mobile phone Jing dong, click "My" below, and then click on the upper right corner of the gear icon
2, click the bottom of the "Exit Login" button
After the above operation we can change the account for free online shopping. However, small series or
Millet 4 Exit FastBoot mode Tutorial:
1, in the Millet 4 fastboot mode, use the key to select "Reboot" Project, and then click the Power key to confirm, after the Millet 4 will automatically restart, so you can exit the FastBoot mode, into the normal system.
2, there is another way is, will be the Millet 4 through the data line and computer connection, and then download the computer using ADB too
QQ Mobile version of the software users to the detailed analysis to share the mobile phone QQ exit account operation steps of the tutorial.
Tutorial Sharing:
1, open mobile phone QQ-> Click Avatar-> Click the lower left corner "settings"
2, click the top "account management"
3, click the bottom "exit the current Account"
Well, the above information is small make up to you Q
(a) Beijing Municipal Public Security Bureau entry and exit administration office time, location, bus route
Entry and Exit Administration Office Location: No. 2nd, East Street, Anding Gate, Dongcheng DistrictBus route: Take 44 Road, 13 Road, 116 Road, 807 Road, 117 Road, Special 2
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.