View and edit commands that have been executed in the Linux command terminal

History The history command can be used to display commands that have been executed, or to perform the required commands according to the treatment shown N shows n recent records-A Add records-R reads records but does not add content records-W

A detailed explanation of Yum installation gcc4.8.x method in Linux

Yum installation gcc4.8.1 Detailed steps: Configuring Yum Sources # Vim/etc/yum.repos.d/devtools-2.repo[testing-devtools-2-centos-$releasever]Name=testing 2 Devtools for CentOS $releasever# baseurl=http://puias.princeton.edu/data/puias/devtoolset/$

Linux databases are automatically backed up and uploaded to the remote server

  code is as follows copy code #!/bin/ Bash #FTP信息 ftp_ip= ftp_user= ftp_pass= #备份数据库 /etc/init.d/mysqld Stop Mysqlbakname =mysql_$ (date + "%y%m%d"). tar.gz Tar zcf/home/backup/$MySQLBakName/var/lib/mysql

Linux boot Nic method

The ifconfig command can be used to view information such as Linux active network adapters and IP addresses, subnet masks, or MAC addresses [Root@localhost ~]# IfconfigEth0 Link encap:ethernet hwaddr 08:00:27:d4:71:2dinet addr:192.168.1.104 bcast:25

How to install DRBD and modules under Linux

Data mirroring: Real-time, transparent, synchronous (returned after all successful servers), asynchronous (returned after the local server succeeds) Install DRBD wget http://oss.linbit.com/drbd/8.4/drbd-8.4.1.tar.gzTar XF drbd-8.4.1.tar.gzCD drbd-8

Introduction to small commands used in Linux

1. View Ubuntu operating system digits: See if the system is 32-bit or 64-bit#查看long的位数, return 32 or 64:getconf Long_bit #查看文件信息, contains 32-bit is 32 bits, contains 64-bit is 64 bits: File/sbin/init 2.ubuntu move the window off, maximize, etc.

Memory Management Learning notes in Linux Server

As I said before, Linux mm system details are very many, their own in the exploration of the time, but also try to grasp the main line, here can only extract some of the "main plot" introduction, which can also expand a lot of details, viewers

How to solve the loss of NIC driver when Linux compiles kernel

bz2

My system OS version:centos 5.9 kernel:2.6.18-402 Update kernel version: 2.6.20Because yum inside the kernel header file and card package does not have too much source code. C files. So can only download similar version from www.kernel.org, some

Steps for a Linux system to mount a second disk

This is the introduction of Ali's mainframe. * Linux Cloud Server data disk is not partitioned and formatted, you can follow the following steps to partition and format the operation. The following operation will divide the

Custom scripts read Linux server login information through UTMP

The simplest indicator of the recent abrupt cleanup of idle servers is, of course, the number of servers that have not been logged in recently. When you log on to the server, init, TTY, and so on will log login and logout information to

Solution to the error of SVN automatic Update in Linux system

Linux/unix under SVN Automatic Update error Resolution: Post-commit Hook failed (exit code 255) with no output. Linux/unix under the implementation of SVN submission automatically updated to the test server, add hook can be/usr/svn/mulu/hooks/post-

Exclude certain directories or files when tar is compressed in Linux

When you compress a directory, sometimes you want to exclude a directory, as shown in the following example:For example, the file directory contains the following files and directories The code is as follows Copy Code

Linux logoff other logged-in user or logoff login accidentally disconnected user

Often in the operation of Linux, occasionally break the network or in the Intelligent multi-line environment to operate the server, often be disconnected, but the user login process is in, and did not exit. Simple way to implement a logged in user

How network settings are configured in Linux

After installing the Linux system, log in and modify the file: The code is as follows Copy Code # cat/etc/sysconfig/network-scripts/ifcfg-eth0 device= "Eth0″ bootproto=" None " hwaddr=" 00:50:56:be : 7a:d8″ ipaddr=192

Linux Copy permissions instance for root account

To create a second root user in Linux, you need to manually modify the/etc/passwd file after creating the user, and set the user ID and group ID to 0. For example, after you create a new user named Test, you should have one of the following records

Files in the selected packaged directory of tar in Linux

Tar is a common command for system management, how to select a packaged directory of files, here to demonstrate: In the case of directory A, the following files have directories B and C, and if you only want to package the files instead of packing

Linux Service installation Simple instructions

Install the basic Environment1.ubuntu Downloads: http://releases.ubuntu.com/14.04.4/2. Installing VirtualBoxDownload directly from the software manager3. Install UbuntuNote: Disk space is best to open up a large point, otherwise it is not enough to

Introduction to the Linux FHS file system directory

FHB: The hierarchical standard of file system, the filesystem of Linux operating system is the standard, similar to the file system under the C disk under WindowsFile system and partition relationships:1, the file system is a logical partition,

Linux environment variables

1. View the absolute path of the command[[email protected] ~]# which LSAlias ls= ' ls--color=auto '/bin/ls2, a color, a no, is to use the alias to operate650) this.width=650; "src=" http://note.youdao.com/yws/res/380/WEBRESOURCEace6397ccad98f0e83d237

Linux exec and shell_exec functions

Popen, passthru, proc_open, and shell_exec return the following results: [Root @ krlcgcms01 shell] # php test. php 1001.log 10.log 10.tar.gz aaa.tar.gz mytest test1101 test1102 weblog_2010_09 I can find these functions and execute commands in linux.

Total Pages: 5467 1 .... 4946 4947 4948 4949 4950 .... 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.