The read command, as its name implies, reads standard input characters and assigns values to variables.
#! /Bin/bashecho-n "Please input words:" read inputecho $ Input
1.-P option: displays the prompt.
#! /Bin/bashread-P "Please input words:"
Linux system functions
1.1 function QueryIn Linux man page, system functions are stored in the second section. For functions of the standard function library, they are stored in the third section;Run the following command to query:# Man-S 3
From http://www.gbunix.com/htmldata/2004_06/1/3/article_71_1.html
Load NTFS partitions in Linux At present, there are many introductions on the Internet to mount Windows NTFS in LinuxArticleAnd re-compile the kernel to support NTFS partitions. but
1. How sort works
Sort compares each row of a file as a unit. The comparison principle is to compare the lines from the first character to the back, compare them by ASCII code values, and output them in ascending order.
# cat
Disk is a very important resource in Linux. How to effectively manage it directly affects the performance of the entire system. Next I will introduce the three commands for disk management: DF, Du, and fdisk.
I. DF
The DF command can be used to
Document directory
Service start and stop
View, edit, and delete
Syntax description
Summary
Cron usage instructions
Cron usage is always hard to remember. Just write it down and forget it. Most of the content below is translated according to
I. Regular Expression 1.1 The Class Name of the international character pattern matching or matching pattern
[: Alnum:]: 0-9, A-Z, A-z[: Alpha:]: A-Z, A-z[: Upper:]: A-Z[: Lower:]: A-z[: Digit:]: 0-9[: Space:]: space or tab key1.2 Basic Regular
Linux Kernel Compilation
Www.jz123.cn 2010-10-03 Source:China site creation Editor (Yuan)I want to deliver news
As a Linux system engineer, how can I not compile the Linux kernel? It is like a soldier who won't fight. It's a shame that a man will
6 Emergency Handling tips for Linux operating systems Source: Internet Author: anonymous time: 09-08 17:09:57 [large
Medium and small]
Comments: No one is sure that your system will not be surprised one day. What emergency solutions can be used for
Several commonly used Linux operating system monitoring scripts:, China IT lab alias Keyword: Linux
This article describes several common Linux monitoring scripts that can automatically monitor and alert the traffic, system status, disk space, CPU
How to configure Svn in Linux
1. Compile and install source files. There are two source files: 1. download the Subversion source file subversion-1.6.1.tar.gzhttp: // repository. download the Subversion dependency file
Linux provides a uid for every user. We start with UID to talk about user information.
UID has its own type, uid_t, which is defined in the header file SYS/types. h. It is usually a small integer. Some UIDs are pre-defined by the system, while
Getopt (analyze command line parameters)
# Include
Int getopt (INT argc, char * const argv [], const char * optstring );
Extern char * optarg;
Extern int optind, opterr, optopt;
Function Description getopt () is used to analyze command line
Note the following before installation:It is recommended that your swap partition be as big as about 1 GB, and your hard disk partition should have enough space.
The Chinese translation of my post below:
1. Create users and groups:[Roko @ miniroko]
I. Establishment of cross-compiling environment arm-linux-gcc-2.95.31.download cross-2.95.3.tar.bz22. Create directory, copy, and decompress# Cd/usr/local# Mkdir arm# Cd armCopy cross-2.95.3.tar.bz2 to the current directory# Tar jxvf
From: attachment [-parameter] [device name] [mount point]Common parameters include:-A: All file systems installed in the/etc/fstab file.-F disguises the mount and checks the device and directory, but does not actually mount the file system.-N does
Memory leakage caused by improper use of threads in Linux Programming
Author: Wu Liang
In Linux programming, the pthread_create () function is called when a thread is created. The prototype of this function is as follows:
Int pthread_create
One of the common Linux commands:Objective:1) user management commands;2) Basic file and directory operation commands;I. Linux User management commands1) Change Password command: passwdThe root account can change the password of any user
First you can check the ndiswrapper currently supports the device, http://ndiswrapper.sourceforge.net/phpwiki/index.php/List? PHPSESSID = d938709f5323557192059e517caa013a.
Before installing ndiswrapper, you must have a few things: kernelsource,
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