UNIX System Management: Shell Programming Branch statements (2)

8.if statement syntax: (for one-way Judgment branch) if list A then list B fi Example: if Test-s funfile then echo funfile exists fi echo Hello if structure is a value based on command return Process Control mode. If the test command returns a value of 0, a specified list of commands is executed, and if the command returned with a value other than 0, the specified command list is ignored ...

Compression function library: gzcompress

Gzcompress (PHP4 >= 4.0.1) gzcompress---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Compress a string syntax: String gzcompress (string data [, int level]) Description: This function returns an input value of data gzip ...

UNIX System Management: Shell Programming Branch statements (1)

By completing this chapter, you will be able to do the following: Describes the effect of a return value in a conditional branch statement. Use the test command to parse the return value of a command. Use the IF and case structures in a shell program. &http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp;1. Return value shell variable"? "To save the return value of the last executed command: 0: ...

Compression function library: Readgzfile

Readgzfile (PHP3, PHP4) readgzfile---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Output archive Syntax: int readgzfile (string filename [, int use_include_path]) Description: Read a file, unzip it, and ...

UNIX System Management: Introduction to Shell programming

To complete this chapter, you can do the following: Write a simple shell program pass parameters through the environment variables to the shell program through the position parameter pass parameters to the shell program using special shell variables, * and # using the SHIFT and read Commands 1.1 Shell Programming overview A shell program is a common file that contains UNIX commands. Permission for this file should be at least readable and executable. You can execute the shell program by typing the file name at the shell prompt. Shell program can pass ...

Compression function library: Gzwrite

Gzwrite (PHP3, PHP4) gzwrite---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Write data to compressed file syntax: int gzwrite (int ZP, string string [, int length]) Description: Gzwrite () writes string contents to ...

Implementation of Officefloor 2.1.0 release reverse control

Officefloor is a reverse control that provides a real-time Web application that focuses on multi-threaded dependency injection methods rather than objects. It increases the existing dependency injection framework by allowing you to specify how the thread executes, and the existing dependency injection framework usually assumes that the single execution thread restricts your threading design. Officefloor deletes this assumption, so you can use different threads to perform different functions of the application. Release Notes: This version simplifies and fixed officefloor, server management, making security officef ...

Compression function library: Gztell

Gztell (PHP3, PHP4) Gztell---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Location syntax for getting compressed file metrics: int Gztell (int ZP) Description: Returns the location of the compressed file index ZP. Returns False if an error occurs. The compressed file index must be valid and is gzopen ...

Srmio 0.1.0 Release SRM Access Tool

Srmio is a small C library for accessing SRM Bike power supply control, implementing serial communication protocols to Powercontrols V, VI, and 7. You can download data, Mark Deletes, sync times, and set record intervals. To be as compatible as possible, it can read and write SRM5/SRM6/SRM7 file formats in Srmwin using the same format file. Srmio 0.1.0 This version is an important release, adding Powercontrols VI and 7 of the support ...

Compression function library: Gzseek

Gzseek (PHP3, PHP4) gzseek---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Move compressed file indicator syntax: int gzseek (int ZP, int offset) Description: Set the compressed file index ZP to the offset bit tuple, equivalent to call C language Gzseek (ZP, ...

Compression function library: Gzrewind

Gzrewind (PHP3, PHP4) gzrewind---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Reset location syntax for compressed file metrics: int gzrewind (int ZP) Description: Sets the location of the file indicator FP to the beginning of the file. Returns 0 if an error occurs. Compressed file metrics must be valid and ...

Compression function library: gzeof

Gzeof (PHP3, PHP4) gzeof---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Test whether the compressed file indicator is at the end of the file syntax: int gzeof (int ZP) Description: Returns False if the compressed file index ends at the end of the file or if an error occurs. Compressed file metrics must be valid and ...

Compression function library: Gzread

. Gzread (PHP3, PHP4) gzread---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Reads the specified length string syntax: string gzread (int ZP, int length) Description: Gzread () reads the length bit from the compressed file index FP, when the length bit ...

Compression function library: Gzclose

Gzclose (PHP3, PHP4) gzclose---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Turn off the compressed file indicator syntax: int gzclose (int ZP) Description: Turn off the compressed file indicator ZP. Success returns TRUE, and failure returns false. Compressed file metrics must be valid and are in GZ ...

XML function library: Xml_set_character_data_handler

Xml_set_character_data_hanhttp://www.aliyun.com/zixun/aggregation/16504.html ">dler establishes character data headers. Syntax: boolean xml_set_character_data_handler (int parser, string handler); Return value: Boolean function type: Data processing content Description ...

Compression function library: gzputs

Gzputs (PHP3, PHP4) gzputs---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Write data to the compressed file metric syntax: int gzputs (int ZP, string str [, int length]) Description: Gzputs () is an alias for Gzwrite (), and ...

Yp/nis function Library: Yp_next

Yp_next (PHP3 >= 3.0.7, PHP4) yp_next---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Returns the next key-value on the map Syntax: array yp_next (string domain, string map, string key) description ...

XML function library: Xml_set_processing_instruction_handler

Xml_set_processing_instruction_hanhttp://www.aliyun.com/zixun/aggregation/16504.html ">dler establishes the processing instruction header. Syntax: boolean xml_set_processing_instruction_handler (int parser, string handler); Return value: Boolean value ...

Compression function library: Gzpassthru

Gzpassthru (PHP3, PHP4) gzpassthru---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Output all remaining data syntax: int gzpassthru (int ZP) Description: Reads the file metrics to the end of the file and writes the results to the standard output. Returns False if an error occurs. ...

Yp/nis function Library: Yp_first

Yp_first (PHP3 >= 3.0.7, PHP4) yp_first---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Returns the first Key-value syntax: array yp_first (string domain, string map) Description: Yp_firs ...

Total Pages: 1204 1 .... 401 402 403 404 405 .... 1204 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.