= yessetcharset = "UTF-8
4. Mail sending test (-s mail title,-a table with attachments)# Echo "Mail content 123456" | mutt-s "mail Title Test mail"-a/scripts/test.txt fuquanjun@xxxx.com
The following error message is displayed:
Msmtp: account default not found: no configuration file available
An error occurred while sending the mail. The sub-process has exited 78 ().
This email cannot be sent.
Solution:
Use msmtp to send a test:/usr/local/msmtp/bin/m
longer.
CSS-based solutions
CSS tooltipsA simple demonstration of using custom CSS tooltips as a drop-in replacement for the browser-based title attribute.
CSS technique for tooltipsCSS can create "faux tooltips" much the same as the Javascript ones, but without all the (possibly) undesirable scripting. there are a few in's and out's involved, but surprisingly, the methods are rather easy to accomplish.
Unobtrusive and slightly accessible CSS Tool tips on semi transparent CSS menusT
"Elseecho "File is not existed"FiCreate a user's script#! /bin/bashmax=$ (Wc-l $ | cut-d ""-F 1)For NUM in $ (seq $MAX)Dousername=$ (sed-n ${num}p $)passwd=$ (Sed-n ${num}p)Useradd $USERNAMEecho $PASSWD | passwd--stdin $USERNAMEDoneGetent passwd User1 # # Show user InformationVim/etc/profileExport A=5 Environment variablesExpect statementsImplementing an auto-answer script in the shell with expectYum Install Expect-yExpect # #自动应答Vim Answer.expchmod +
tooltipps, lixlpixel JavaScript tooltipsSimilar scripts from the same source:
CSS rolovers for tooltips
CSS bubble tooltipsThis example will show you how well this tooltip stretches for long descriptions.
Pure CSS tooltips I
Simple, accessible "more" links-V2CSS-based solution for displaying tooltips.
CSS tooltipsAnother solution, based only on CSS.
Information balloon popupsStu Nicholls
Password:Create credentialoracle.security.client.connect_string1$Create an alias in the "$ORACLE _home/network/admin/tnsnames.ora" file that matches the wallet.Pdb1_test =(DESCRIPTION =(ADDRESS = (PROTOCOL = TCP) (HOST = Ol6-121.localdomain) (PORT = 1521))(Connect_data =(SERVER = dedicated)(service_name = pdb1)))At this point, we can use the authentication in the wallet to connect to the identified database.$ sqlplus/@pdb1_testSql*plus:release 12.1.0.1.0 Production Onsat APR 19 10:19:38 2014Cop
In ajax programming, we often need to assign the page content obtained by xmlhttp to a container (such as div, span, or td) through innerHTML, but there is a problem here, that is, if the page content we will assign to innerHTML contains scripts, these scripts, whether external scripts or internal scripts, may not be e
To become a flexible tool, a qualified script must provide additional information to describe the role of the script, how it is executed, and where it is executed. Like the command, the script also uses parameters. Switches and parameters increase reusability, reduce costs, and save time. Positioning parameters
There are three effective methods for Linux scripts to use parameters. First, use the positioning parameter. The script calls the parameter b
I. Shell script BasicsBash scripts are similar to batching, simply by putting a lot of instructions together and providing loops,conditions, judgments and other important functions, the syntax is simple and practical to write programs, greatly simplifying the administrator'sFunctions that cannot be achieved by the graphical tools.1. Create a text file that contains the bash command. The first line of the file should be:#!/bin/bash#!/usr/bin/env tcsh "
[Email protected] scripts]# VI sh04.sh#!/bin/bash# program:# User inputs 2 integer numbers; Program would cross these and numbers.# History:# 2005/08/23 Vbird First release Path=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/binExport PATHECHO-E "You should input 2 numbers, I'll cross them! \ n "Read-p "First Number:" FirstnuRead-p "second number:" Secnutotal=$ (($FIRSTNU * $secnu))Echo-e "\nthe result of $firstnu x $SECNU is ==> $tota
This problem may be insignificant or even negligible in some cases, but sometimes it is very serious, and it is likely that our program will not get the expected results. Therefore, we need to solve this problem.If you have read MSDN, you will find that not all scripts inserted into innerHTML cannot be executed. If the script tag of this script contains the defer attribute, IE will correctly execute these scripts
Label:8 DBA most commonly used shell scripts for monitoring Oracle Databases--Go to Category: Linux A 8 Important scripts to monitor the Oracle database: 1. Check the availability of the instance 2. Check the availability of the listener 3. Check the alert log file for error messages 4. Empty the old log file before the log file is full 5. Analyze table and index for better performance 6. Checking the use
options
Minimum--Minimum value for configuration options
Maximum--Maximum value of configuration options
Value_in_use--The running value currently used by the configuration option
Description--Description of configuration options
Is_dynamic--equals 1 indicates a variable that needs to execute the reconfiguration statement to take effect
Is_anvanced--equals 1 indicates a variable that requires the show advanced statement to take effe
executing a program, this program will let the user choose Y or N,2. If the user enters Y or y, the "OK, continue" is displayed3. If the user enters n or n, it displays "Oh, Interrupt!" 』4. If it is not the other characters within the y/y/n/n, it will show "I Don t know what is your choise"#!/bin/Bashpath=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/Gamesexport Pathread-P"Please enter (y/n):"yn["$yn"=="Y"-O"$yn"=
Use C # To write Shell scripts for Linux,
In this age of determining the personality and the prevalence of the contempt chain, especially in our IT industry, what are the times of your contempt and contempt today? If you do not have the ability to press the box, you have to read it. Today, we also want to improve our style, learn things that are wide open in our minds, and then go to the group to scare other friends ~~!
Speaking of Linux
1 overviewAt work, you need to patch or install the software in your environment. If there are too many machines, it is possible to miss the machine, or the version of some machines is inconsistent. If you can achieve the same deployment, not only can reduce human error, but also greatly improve productivityIn this article, I'll show you how to set up a timed task with crontab to automate the deployment of the installation script by placing the script
In the use of SharePoint, we often need to do some special processing of the form page, such as the new page when there are multi-option fields, but only select the specified number of options, especially in the News list or survey list and other special scenes, widely used.Below, we'll show you how to use JavaScript scripts to handle such problems in the foreground, especially if user is more familiar with
.
Create SQL Server 7.0 compatible scripts
Enterprise Manager
how to create SQL Server 7.0 compatible scripts (Enterprise Manager) Create a SQL Server 7.0 compatible script
Expand the server group and then expand the server.
Expand the "Database" folder.
right-click the database, point to "all tasks", and click the "generate SQL script" command.
These days I have been studying shell scripts and writing some system load and CPU monitoring script programs. Without nagios monitoring software, as long as the server can access the Internet, you can send an email to remind the administrator of the system load and CPU usage. I. install the shell script and write some system load and CPU monitoring script programs in linux these days. Without nagios monitoring software, as long as the server can acce
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.