Script Requirements :1. Write a script createuser.sh, the execution syntax of the script must be:createuser.sh-u username-m password, options and parameters can support multiple spaces, but can not be reversed in order. When the correct option or
variable names can only contain numbers, letters, and underscores, because some variables that contain other characters have special meanings, and such variables are called special variables.
List of special variables
February 05, 2018 11:02:17 read: 851 1, how to build the jar package can refer to the following link: http://blog.csdn.net/zk0920zk/article/details/792307072, next talk about how to upload files to Linux via Windows batAdd Windows Batcht Code
At work, I also learned that Park,unpark,ord is powerful for binary byte processing. Let me introduce them to you. Park,unpark,ord These 3 functions, in our work, they are estimated to be few. I am in a recent job, because the communication needs
Web Security Test Learning Handbook-business logic TestingFirst of all, thank the friend of the invitation HTTP://PAYLOADS.ONLINE/ARCHIVERS/2018-03-21/1, participated in the Related writing, currently responsible for business logic test this piece
At work, I also learned that Pack,unpack,ord is powerful for binary byte processing. Let me introduce them to you. In our work, there is not much estimation of their use. I am in a recent job, because the communication needs to use the binary stream,
Part 1 IntroSay what good, send a picture to be a primer good.Part 2 XSS PlatformCreate a projectSelect TypeXSS CodeSmall experiment, Refresh codeOn the XSS platformPart 3 back DoorWe write a script like thisPHP $password = ' admin '; // Suppose
Objective
In the process of software development, encryption of data is an important means to ensure data security, and common encryption has Base64 encryption and MD5 encryption. BASE64 encryption is reversible, and MD5 encryption is now generally
1, the use of set/a to remove the date before the number 0, such as: 2007-09-25 in the month of 09 before the 0 (of course, this month is unknown, simple to say
Yes no matter whether there are 0 to be guaranteed to remove the front:
Demo Code:
http://skzr-org.javaeye.com/blog/811491
Goal: Timed export: Use Scheduled tasks to automatically compress: using the command line RAR automatic monthly storage: using cmd
Code:
CMD code @echo must go to the specified path, otherwise it will
Java.lang.OutOfMemoryError:PermGen Space
Found that many people attribute the problem to: Spring,hibernate,tomcat, because they generate classes dynamically, causing permanent heap overflow in the JVM. Then there is a divergence of opinions about
One, mysqldump+bat processing files in MySQL
Script to perform MySQL database backup (BAT file contents)
The code is as follows
Copy Code
@echo offSet Host=localhostSet Username=rootSet Passward=ansureSet
code is as follows
copy code
echo function hinzu (pizza) { neu Ereintrag = new Option (Pizza, pizza, false, false); document.getElementById ("Warenkorbfeld"). Options[document.getelementbyid ("Warenkorbfeld" ).
0, direct the following code
The code is as follows
Copy Code
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons"/V 29/d%systemroot%\ system32\imageres.dll,196 "/t reg_sz/ftaskkill/
First, check whether the hard disk device has a data disk
Of course, in writing this article, I know that there is a data disk, but sometimes we buy VPS, default such as 30GB, there may be 20GB did not mount, so you need to check the operation
Save the following file Print.bat, and then we can print it every time we click.
The code is as follows
Copy Code
@echo offecho Add Network printerEcho Waits ....sc config spooler start= autonet stop spooler & net start
Find large files
The code is as follows
Copy Code
Find/dir-size +100m-exec LS-LH {}\;
If you want to delete files larger than 50M directly, use the command
The code is as follows
Copy Code
One, what is Coredump
We often hear that the program core dropped, need to locate the solution, the majority of this refers to the corresponding program due to a variety of anomalies or bugs caused in the operation of the abnormal exit or stop, and
Whether under Windows or Linux, a lot of log files if not regularly deleted will fill the hard disk, so you can write a script to handle the time.
The contents of the Windows BAT file are as follows;
The code is as follows
Copy
Ways to turn off SELinux:
Modify the Selinux= "" in the/etc/selinux/config file as disabled and reboot.
If you do not want to reboot the system, use the command Setenforce 0
Note:
Setenforce 1 set SELinux to become enforcing mode
Setenforce 0
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.