1.echo command Our common options are two, one is, the -n output is not wrapped, the other is that the -e escape character is handled in a corresponding manner, if not added, the -e escape character will be treated as ordinary characters.Escape
1. Character notationType operation permissionsU +rG -Wo =xAThe type represents the object that modifies the permission, U represents the user of the file, G represents the group of the file owner, O represents a non-user group user, and a
Examples of Linux experiments----The implementation of "/etc" files under the "/usr/lobal" directory every 2 minutes· Step1: Edit the current user's crontab and saveTerminal input:>crontab-u root-l #查看root用户设置的定时器>crontab-u root-e #进入vi编译模式xx-2 * * *
To write timed tasks to access Web pages and open picturesThe original wording is#!/bin/Bash#可以执行 Echoecho "Hello" > Dir/file.txt #不可以执行 Xdg-openxdg-open https:// /usr/bin/xdg-open/home/cui/picture/used/kitty Zhang. jpg;The above notation
-$PATH about the variable that executes the file path-View files and directories ls-A: All files are listed together with hidden files-D: Lists only the directory itself, not the file data in the directory-I: List inode numbers-L: Lists Long data
Function prototypes...);The IOCTL () function manipulates the parameter special files of the underlying device.Function parameter Description...);第一个参数必须是一个打开的文件描述。第二个参数是设备相关的请求代码第三个参数是一个无类型的指针的内存。指针类型依赖第二个参数。the corresponding relationship table of
[Guide] system uname-a View kernel OS CPU Information Head-n 1 etc issue view OS version cat proc cpuinfo View CPU information hostname View computer name Lspci-tv List all PCI devices LSUSB-TVSystem# uname-a #查看内核/operating system/CPU information#
One, remote execution of local scriptsSSH [email protected] Server IP Address "bash" Multiple servers can be implemented using loops.SSH [email protected] "bash" Ii. Remote execution of commandsSSH [email protected] "CD/DATA/GAMEDATE;LL"Double
--Positioning (ifcfg-* file)cd/etc/sysconfig/network-scripts/ifcfg-eno16777736Cd/etc/sysconfig/network-scripts/ifcfg-em1(1) Modify the configuration file--Modify the configuration fileOnboot=yes--Restart the systemShutdown-r nowIP addrThe system
Disk Management---Auto mount[Email protected] sdb2]# Cat/etc/fstab##/etc/fstab# Created by Anaconda on Wed Oct 9 16:14:01 2013## Accessible filesystems, by reference, is maintained under '/dev/disk '# See mans Pages Fstab (5), Findfs (8), mount (8)
By crontab-e the instructions to write a timed task, a behavior is a task.The task mode is the time cron expression + command form.Such as:2 0,6,12,18 * * * perl/root/restarttomcat.plThe previous part of Perl was 2 points, 0 points, 6 points, 12
Installation of linux and linux
To install linux, You must select a linux operating system, including redhat, ubuntu, and centos. Here, select centos to install linux.
First download the image file CentOS-6.5-x86_64-bin-DVD1.iso on centos's
How does a source program become an executable binary program?
The following describes how a program under linux x86 becomes an executable binary file. The following program exchanges the values of two array elements.
The source code of main. c and
Enable SeLinux in Linux, and enable selinux in linux
SELinux (Security-Enhanced Linux) in Fedora is an implementation of mandatory access control in the Linux kernel using the Linux Security Modules (LSM) framework. Standard Linux security is a
Build trust relationships in batches in Linux to implement ssh password-less login scripts
Purpose:
Copy the ssh public key of the current machine to another machine, so that you can log on to another machine through ssh without a password.
Usage:
1)
[Only 3 steps] manually install Apache and configure the source code (which is feasible in the test)
RedHat Linux 6 uses the CentOS yum source.
For CentOS yum source configuration, see
Step 1 download and install the software package on which Apache
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