1.pwd confirm the current directory2.CD Entering the catalogue3.CD/Enter the root directory4.ls View all files in the current directory5.ls-l Show details for all files6. cd. Go back to the top level directory7.LS-LH to personalize file size in file
1, REDHAT7 After restart, there is a change in the name of the network card, or to fixed the use of ETH name network card.(1) Append parameters to the/etc/sysconfig/grub.conf configuration file net.ifnames=0(2) Execute command
mkdir make directories 创建目录Syntax format: mkdir "option" "Directory" mkdir [options] [directory]Note: The mkdir command and subsequent options and directories must have at least one space between each elementParameter options:-p,-mMkdir-p
hostname commandThe hostname command is used to display and set the host name of the system. The environment variable hostname also holds the current host name. After you use the hostname command to set the hostname, the system does not permanently
Shear Board OperationCtrl+shi ft+c ReplicationCtrl+shift+v pasteCursor operationCTRL + a line start positionCtrl+e Line Last positionCTRL+F (forwards) cursor moves backwards by one character, quite with →Ctrl+b (backwards) cursor moves forward one
Server-side environment: CentOS 6.7Client Environment: Windows 7
1. Server-installed VNC service
2. Editing the VNC configuration file
3. Set the VNC password
4. View the session information of VNC
5. Client Test VNC
lsof IntroductionLsof is the abbreviation for the English list open file, which lists all the files on the system that were opened by the process. In a Linux environment, everything is file, anything is in the form of a fileexist. When any process
Linux Cluster
Classification (by Function)
1. High availability: Usually two servers, one work, the other is redundant; when the host is down, redundancy provides service; The software is: Heartbeat, keepalived;2. Load balancer: One
Reprinted from: http://www.cnblogs.com/choyaooo/p/8012923.html NTP server (Shanghai): ntp.api.bzChina NTP server: cn.pool.ntp.org pool.ntp.org To install the NTP client:Yum-y Install NTPModify the time zone for
1. Disable loading IPV6 module # echo "Install Ipv6/bin/true" >/etc/modprobe.d/disable-ipv6.conf enforce/bin/whenever the system needs to load the IPV6 module True to replace the actual loaded module. 2. Close the ip6tables# chkconfig ip6tables off3.
When there are too many files in the directory, deleting files with RM will error:-bash:/bin/rm:argument list too long hint file too much. The workaround is to use the following command: LS | Xargs-n rm-fr ls Output all file names (separated by
After we use SSH to connect the server, if it takes a very long time to execute a command, when the terminal is broken, the command will stop automatically after the SSH client executes the command, the default of his parent process is ssh, so when
First, the foregoingSed is a stream editor, which is a very useful tool in text processing and can be used perfectly in conjunction with regular expressions. when processing, the currently processed rows are stored in a temporary buffer called
the direction of the arrows is the flow of dataNumber Description: 0 for standard input, 1 for standard correct output, and 2 for standard error output.The 2&1> or 2&1>> indicates that the standard correct output is the same as the standard error
There are several ways to make ISO files under Linux, as follows:1. Make ISO file from CDCp/dev/cdrom Path/iso file nameExample: Cp/dev/cdrom/opt/mycd.iso, can also use DD If=/dev/cdrom of=/opt/mycd.iso2, use catalog file to make ISO fileMkisofs-r-o
Process in real lifeIn many scenes, things are done at the same time, for example, when you drive a car with your hands and feet together, you can sing and dance at the same time.Here is a video of Michael
The author is the operation and maintenance engineer, a little bit of knowledge of Linux, now say what you need to master what aspects of the tool bar. When it comes to tools, it can be said to be a skill, which is what we call a tool in the line, a
Before using Ubuntu, I believe many people have experienced the use of Windows systems. If you've backed up your Windows system, you must remember that you first need to find a backup tool (usually private software) and then restart your computer to
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