How Linux modifies the timeAt the command line, enter:DateShow Current time Fri 3 14:15:16 CST 2007Date ' +%x%x 'Show Current Time August 03, 2009 14:15 00 secondsDate-sModify Time by stringCan only modify the date, do not modify the time, enter:
1: Preparing ResourcesLinux server, JDK, and Nexus installation package 2: Network unobstructed, keeping Windows and Linux server-side networks unobstructed. 3: Install JDK and configure environment variable enter directory folder to JDK
The function of the WC (Word Count) command in a Linux system is to count the number of bytes, words, and lines in the specified file, and to display the output of the statistic results.1. Command format:WC [Options] File ...2. Command
1. View the contents of a fileCat-N Display Line number2. Pagination DisplayMoreEnter to display the next lineSpace shows next pageF Display Next screenB Show Previous screenLess/get query "Get" string and highlight3. Display end of FileTail-F Do
Modify the IP address and turn off boot Firewall 1, ifconfig view ip2, if there is no network card to see if Ifcfg-eth0 file exists cd/etc/sysconfig/network-scripts/ls-s view if there is View Device=eth0 HWADDR=00:0C:29:0f:b8:70 These two
The purpose of the cat command is to connect files or standard input and print. This command is commonly used to display the contents of a file, or to connect several files to display, or to read from a standard input and display it, often in
Linux Basic principles of:1. a small program consisting of a single purpose, combined with a small program to complete complex tasks;2. all documents;3. try to avoid capturing the user interface;4. the configuration file is saved in plain text
Format of command: command-option parameterExample: LS-LA/ETC option can be used in conjunction with.Represents the current directory..Represents the parent directory of the current directory root user common command address root:/sbin/usr/sbin All
This article mainly takes CentOS as an example, tells the whole Linux system boot process, including grub boot, INITRAMFS process,/sbin/init executes rc.sysinit and RC general flow. In addition, this article has an example of running an entire
Head and tail are as simple as their name, which is used to display the beginning or end of a number of chunks of text, the head is used to display the beginning of the file to the standard output, and tail to see the end of the file.1. Command
The 7th chapter of the Book of BirdsJump from/home/dtest1 into the/home/dtest2 directory: CD. /dtest2 Note that there are spaces after the CD. No spaces afterSpecial Directories:. Represents this Layer directory.. Represents the upper level
Using the Ubuntu development environment for a long time, switch to Windows somewhat uncomfortable, want to enjoy the Linux convenient tool under Windows can install a strong Cygwin, I am also the first time to learn, the main purpose of this
Script learning for laruence's private dish shellscript
For the convenience of contact, the script of shell script is removed from all comments.
[Root @ fwq prac] # cat sh01.sh#! /Bin/bashPATH =/bin:/sbin:/usr/bin:/usr/sbin: usr/local/bin:/usr/local/
Common Linux commands (IV)-mkdir
The linux mkdir command is used to create a directory with the specified name. The user who creates the directory must have the write permission in the current directory, and the specified directory name cannot be an
Install and use Tmux in CentOS and centow.ux
Tmux introduction:
Tmux is a substitute for Screen implemented by BSD. Compared with Screen, Tmux is more advanced: it supports Screen splitting and has rich command line parameters, allowing it to
RHEL 6.4 install DNS (bind-9.8)
RHEL 6.4 install DNS (bind-9.8)
First install yum and use yum to install bind
Yum install bind *
Different operating systems may have different rpm
Rsync + Linux client + Windows client Configuration
Rsync is a very powerful tool. The command format of Rsync can be as follows:Rsync [OPTION]... SRC DESTRsync [OPTION]... SRC [USER @] HOST: DESTRsync [OPTION]... [USER @] HOST: SRC DESTRsync
Build and test the Hadoop Environment
For Hadoop environment setup, see the following connection:
Install and configure Hadoop2.2.0 on CentOS
Build a Hadoop environment on Ubuntu 13.04
Cluster configuration for Ubuntu 12.10 + Hadoop 1.2.1
Build a
Deploy DHCP service in CentOS 7
CentOS 7 DHCP server deployment
Background:
An organization needs to configure a DHCP server to assign an IP address to the desktop PC. These PCs are allocated to two VLANs to build internal DHCP servers to facilitate
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