Standard output redirection">" operator: Overwrite the contents of the target fileDate > Foo Cat Foo Fri May 8 09:55:42 CST 2015">>" operator: Append output to the end of the target fileDate >> foo Cat Foo Fri May 8 09:55:42 CST 2015Fri 8 09:57:02
1 * Copyright (c) Level 2012, Yantai University School of Computer Science2 * All rights reserved.3 * Pay Record Super4 * Completion Date: May 10, 20155 * Version number: v1.06 * Learning topic: Conditional Testing7 * Working environment: Red Hat 5.8
D: Catalogue-: General DocumentsL: Link FileB: Block device filesC: Character fileP: Pipeline FileS: Socket file rwx Permissions:to the file:r: read: Cat more less tail headw: write: Vimx: Executeto the directory:RX:CD +lsWX:RM MVrw: no meaningr:W:x:
Linux commands for creating usersUseradd-g test-d/home/test1-s/etc/bash-m test1Note:-G belongs to group- D home Directory Delete User commandUserdel-r test1Create password commandpasswdSee which command the user group is under Linux!View/etc/group
1. Under Linux, look for files in the current directory that contain the string "haha" in the file contents, and list the file name: Grep-rin "haha". can also put. Change to Path2.make 2>error.log: This means outputting the result of the make
Tar-C: Create compressed archives-X: Unzip-T: View content-r: Append files to the end of a compressed archive file-U: Update files in original compressed packageThese five are stand-alone commands, which use one of the compression decompression, and
Linux lvm Common commands and Linux lvm Common commandsLvmPv: pvcreate, pvremove, pvscan, pvdisplay, and pvmovePvcreate/dev/sda {10, 11}Pvs view the pv of the current systemPvdisplay View DetailsPvscan scans the pv on the machine on the current node.
Linux File Archive compression and linux File ArchiveFile Archive compression:Compression and decompression command compression formats: gz, bz2, xz, zip, zCompression Algorithm: different algorithms and different compression ratiosCompress:
Linux File System Management and linux System ManagementFile System Management:Re-create a file system will damage the original fileMkfs: make file systemPartition specified by mkfs-t TYPEMkfs-t ext2 = mkfs. ext2Mkfs-t ext3 = mkfs. ext3Mke2fs-J:
Obtain system performance data in LinuxObtain the CPU usage of system performance data in Linux
The/proc/stat file contains the system cpu usage. The CPU consumption in the 2-8 columns indicates user consumption and nice consumption) kernel
Centos6.5 Network Configuration
Install and configure the network bridging mode for centos 6.5 in the Virtual Machine
1. Install centos
2. Enter the command setup to set the network
3. The following page is displayed when you press the Enter key.
Today, the Oracle client is installed in CentOS6.4.
After the installation was complete, the environment variable settings had been exhausted for a long time. Later, I knew that I had to restart the environment variable to make it take effect.
Linux Command strings
The strings command is used to search for printable strings in an object or binary file. A string is any sequence of four or more printable strings. It ends with a line break or an empty character.
Strings syntaxStrings
Install Mysql in Linux
1. Preparations
2. dependencies required for Mysql Installation
2.1 install Mysql3 Common commands3.1 verify that the original host is installed3.2 start3.3 Login3.4 Remote Login3.5 restart the service3.6 Stop Service3.7 view
Linux terminal and command supplementWhoami: print a valid user IDWho: displays which users are logged on to the systemWho-r displays the running levelWho-H display field nameW: Show who has logged on and what are they doingLast: the/var/log/wtmp
Bind multiple NICs using nmcli commands in Linux
Today, let's take a look at how to bind a NIC with nmcli (Network Manager Command Line Interface: Network Management Command Line Interface) in CentOS 7.x.
Nic (Interface) binding is a way to
Hadoop installation memo
Refer to Liu Peng's "Practical Hadoop" and follow the instructions in hadoop 0.20.2.
Practical Hadoop: open a shortcut to cloud computing pdf hd scan Version Download
First, understand several background processes in Hadoop.
Configure port forwarding in CentOS to forward port 80 requests to port 8080
Apache is deployed in Linux. To ensure security, we use a non-root user to start the service. However, when binding a domain name, we cannot directly access port 80. As we
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