Guide
Linux is a highly controllable, safe and efficient operating system. This article only discusses the Linux file read and write mechanism, does not involve different reading methods such as read,fread,cin, such as the comparison, these
Expect is a highly interactive scripting language, can help operators to achieve batch management of hundreds of server operations, very practical!Expect relies on TCL, and the Linux system generally does not have the installation of TCL, so you
Process classifications in Linux systems:Interactive process (IO-intensive)Batch process (CPU intensive)Real-time process (daemon)Balanced process IO-intensive and CPU-intensive methods:High priority for IO-intensive: Short CPU time slicesFor
For people who often use the Linux system, the need to upload local files to the server or download files from the server to the local, the Rz/sz command is very convenient to help us achieve this function, RZ is to the win file upload to Linux SZ
------------------------------------System Structure---------------------------------------------1.linux system structure is inverted tree type2./bin//binary executable is also a system command/sbin//System Management Command storage location/boot
The Linux file is rooted as the starting point, the Linux/Representative start is the root, because Linux is the inverted root you can directly understand as a tree upside down, first the roots, then the trunk, then the branches finally reach the
1. Create a file with a command and regular expression *) Create 12 files with one command Westos_classx_linuxy (the value range of x is 1-2,y 1-6) *) These files are included in the study directory of the root user's desktop [email protected] home]
I. Open/Close firewall command under Linux1) Permanent, no recovery after reboot open: chkconfig iptables on off: CHKCONFIGIPTABLESOFF2) Immediate effect, reset after restart: Service iptables start off: service iptables stop need to explain
Memcached is a high-performance distributed memory object caching system for dynamic Web applications to mitigate database load.It improves the speed of dynamic, database-driven Web sites by caching data and objects in memory to reduce the number of
Ifconfig: Configuring network devicesifconfig eth0 192.168.1.1Echo: Display a piece of textEcho $PATHEcho-e "A/TB/TC/ND/TE/TF"TTY: Display the file name of the terminal link standard input deviceTtyTty--versionSTARTX: Start x WindowsStartx-w (Force
First, the file systemRootfs: Root file systemFhs:filesystem Hierarchy standard file system level standards// boot system boot related files, such as kernel, INITRAMFS, and Grub (bootloader)/Dev Device file:Block device random device, data
Linux Modify the user and group to which the file belongsUse the chown command to modify the user to which the file or directory belongs:Command: Chown user directory or file nameFor example: Chown qq/home/qq (the owner of the QQ directory under the
1, create a 10G partition, and the format of the Ext4 file system;(1) The block size is required to 2048, the reserved space percentage is 2, the volume label is MyData, the default Mount property contains ACLs;(2) Mount to the/data/mydata directory,
Environment: Linux CentOS 4.4Move 2 160GB of RAID1 hard drive to 2 1TB HDDMethod: First download g4l This tool on the Internet and burn it to a disc. Then the CD-ROM boot to the 1 160B hard disk and 1 1TB hard drive will be 160G of hard disk data,
cat/etc/passwd
CAT/ETC/PASSWD View all user information, details such as
"Step two" Cat/etc/passwd|grep user nameThe Cat/etc/passwd|grep user name that is used to find a user, such as
"Step three" Cat/etc/groupCat/etc/group View all group
1. Partitioning out of two districtsFdisk/dev/sdb650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/87/4E/wKiom1fbrmjxSb2pAAA-dY1iNzo653.png "title=" 1.png " alt= "Wkiom1fbrmjxsb2paaa-dy1inzo653.png"/>2. Creating a File system[Email
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