The use of ECHO in Linux

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

Ways to set Linux file and directory permissions

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

Linux timer (crontab) instance

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 * * *

Linux timed Execution Task crontab

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

Look at some of the order of the Linux private dishes of bird Brother self-summary (ii)

-$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

Linux IOCTL functions

Function prototypes...);The IOCTL () function manipulates the parameter special files of the underlying device.Function parameter Description...);第一个参数必须是一个打开的文件描述。第二个参数是设备相关的请求代码第三个参数是一个无类型的指针的内存。指针类型依赖第二个参数。the corresponding relationship table of

Linux System Information View command

[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#

Summary of tools under Linux

1. Compile StageGCC:-wall-werror-o2MakeNm:nm-c A.OC++filtStripObjdumpReadelf2. LinksLdd:ldd./a.out3. Error CheckingValgrind:valgrind--tool=memcheck--leak-check=full--track-fds=yes./a.outGDB:GDB attach PID, GDB core/a.outADDR2LINE:ADDR2LINE-E a.out

Linux SHENLL remotely execute local scripts or execute commands

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

SVN Linux Side Configuration

1.create a folder:Mkdir/sandbox/svn2.create SVN repository:Svnadmin Create/sandbox/svn/project3.edit passwd:[Users]Hello=worldHappy=dayNi=hao4.edit Authz:[Groups]Test = Hello,happy[/]Ni=rw@test =r5.edit Svnserve[General]Anon-access = Readauth-access

Newly installed Linux cannot be networked

--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

Linux operation and Maintenance system Engineer Series---23

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)

Scheduled Tasks under Linux crontab

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

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

Database backup and separation of log table (monthly) sh script, database backup sh

Database backup and separation of log table (monthly) sh script, database backup sh #! /Bin/shyear = 'date + % y' month = 'date + % m' day = 'date + % d' hour = 'date + % H' dir = "/data /dbbackup/file "# backup path # db data backup db_sqlname ="

CentOS 6.5 compiling Apache2.4.12, MySQL5.6.21, PHP5.6

CentOS 6.5 compiling Apache2.4.12, MySQL5.6.21, PHP5.6 Install Apache Yum install gcc-c ++ Yum install lrzsz Tar-zxvfapr-1.5.0.tar.gzTar-zxvflibtool-2.2.4.tar.gzTar-zxvfapr-util-1.5.3.tar.gzCdapr-1.5.0 ./Configure -- prefix

How does a source program become an executable binary program?

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

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

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)

[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

Total Pages: 5467 1 .... 5416 5417 5418 5419 5420 .... 5467 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.