For Java Applications (non-Web applications), after deployment, a startup script is often required to load some Third-party jar packs and start the application.
For Java applications, I generally prefer to write the directory structure of a program
Linux system is much more secure than Windows system, it is a good program development environment, but there are some security problems. After the Linux user exits the system, there will still be more than one IP login risk, then how do you want to
Now the vast majority of users are using the Windows system, all know that the Windows system has 32-bit and 64-bit, in fact, the Linux system also has 32-bit and 64-bit, you know your Linux system is a few? Here's how you can use the shell to see
1. "" "" "The Difference," "The variables will be resolved" "All of them as strings" "to execute system commands
2. The custom variable defaults to a local variable, and the environment variable is a global variable.
3.export can set one or more
Editor's note: This article introduces a design idea and process. Suitable for a certain fireworks basis for learning, for reference.
Accidentally saw the Netizen June Sea to write an eggshell beauty Photoshop tutorial (
Click to view, the idea is
I. Overview
1. Product Overview:
Awk is a programming language used to scan and process text and data under Linux/unix. Data can come from standard input, files, and pipelines.
Awk represents the first letter of its author's surname, respectively.
In the process of database operation, the Shell script provides great convenience for operation and maintenance. A shell script parameter passed as a variable to SQL and a SQL script is one of the scenarios that DBAs often encounter. This article
Topic: Automatically add partitions with shell script, implemented functions as follows:
1. Check that the extended partition is, and can be added, and if possible, set all remaining space to an extended partition
2. When an extended partition
It took me 10 minutes to figure it out. = "and"-N "usage differences, make a note to smooth
First method: Test if Apache is turned on? String test
#!/bin/bash
web= '/usr/bin/pgrep httpd '
If [-N "$web"]; $web whether the return value is empty
First type:
#!/bin/bash service vsftpd start &>/dev/null if
[$-eq 0]
Then
echo "FTP is start"
Else
Service VSFTPD Start
Fi
The second type:
#!/bin/bash read-p "Input your file name" file_name
If [D-$file _name]//To determine whether the
Not long ago I saw two interesting commands in the book--script and Srciptreplay, which can record a terminal session in a file, that is, we can create a command-line video tutorial through a terminal session, or we can share session files with
1. "" "" "The Difference," "The variables will be resolved" "All of them as strings" "to execute system commands
2. The custom variable defaults to a local variable, and the environment variable is a global variable.
3.export can set one or more
Avoid common problems with timed task scripts
Many scripts are actually used in the form of timed tasks rather than hand-run. However, scripts that implement the same functionality may encounter different problems in both modes of operation.
A
The shell problem of the user's work:
Problem Description:
You need to intercept the certificate encoding information for the following command output:
#openssls_client-showcerts-connect192.168.0.111:443|sed-ne
The IF function in the shell is beyond doubt that every 80% of the shells will be applied to if judgment, then as a novice I should be the whole, I heard a morning class today, and then the morning's things summed up a script, and then to the people
Command historySummary: Bash holds a list of commands that have been executed in the past.The command process for the current shell is saved in memory.When you exit, save the hidden folder to the current User folder. Bash_histroy, ls-a can
The data flow redirection is used when adding logs to memcached, so I intend to summarize it.
Command
Description
Command > File
Redirects the output to file.
Command
Redirects the input
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