Function: Displays the end of the file to the standard output (10 lines at the end of the default file)tail [OPTION] ... FILE ...[OPTION]-N Displays the following n rows of the file-c n Displays the latter n bytes of a file-V Show file name (default
1.11.View all environment variablesEnv or setSet is to view all environment variables, including env1.12.root user settings can be logged in directly after operating system hardening after the operating system is hardened,the root user cannot log in
1.1. sync command function in Linux system The Sync command forces all data that is buffered by the disk to be written to disk, and if the system is terminated before information is written to disk without the disk buffer, the disk's file system is
Head [OPTION] ... FILE ...Function: Displays the beginning of the file to the standard output (the first 10 lines at the beginning of the default file)[OPTION]-N Displays the first n rows of the fileSuch as:Head-5 file shows the first 5 lines-C n
Less [OPTION] FILE ...[OPTION]-e automatically exits when the file display finishes-m display percent-N Display Line number-S displays a row of continuous empty behavior When you are browsing a file, use: E to browse another fileSuch as: There
ObjectiveInstalling virtual machines with VMware This is generally known and easy to operate. In this paper, we mainly use the subsequent related configuration of virtual machine. And record the problems encountered during use and some techniques.
Because of the different Linux developers, so different developers of Linux version operation details are not the same, today, the installation of CentOS under the JDK:Method One: Manually unzip the JDK's tarball and set the environment variable1.
/boot: Start Linux core files;The following are other common Linux operating system directories:/bin: Store The most commonly used commands;/dev: Device files;/etc: Store various configuration files;/home: Household directory;/lib: The most basic
When you edit a long file using the VI editor, you are often dizzy and cannot find what you need to change.In this case, using the Find function is particularly important.Here's how:1, enter "/string" in command mode, for example "/section 3".2, if
1.PWD View current Path2.touch Creating a Directory3.mkdir creating multi-level catalogs4.ls-a Show All directories5.rmdir Removing empty folders6.RM Deleting a folder7.find Find8.vmstat Viewing CPU9.free-m Viewing memory10.df-h Viewing disk space11.
PXE (Preboot execute environment, pre-boot execution Environment)Is the latest technology developed by Intel Corporation, working in Client/server network mode, supporting workstations to download images from remote servers over the network, and
01. Wildcard characters * 、?、 [], {} function*: Any number of arbitrary characters?: Single Character[A-Z]: one of multiple characters or continuous range, omitted if none{A,MIN,XY}: Multiple sets of different strings, full match02. Use NMCLI to
To install the JDK in LinuxI believe many Java friends have installed the JDK in the Windows operating system, there is no detailed description of the JDK.Installing the JDK under Windows Reference: JDK Installation and configuration1. Download
Taking Xshell as an example1. Click "Tools"-New user key Generation wizard2, click "Next" two consecutive times, enter the password3 Generate the public key, copy it, and leave it to the next4. Copy the public key to Linux# MKDIR/ROOT/.SSH# chmod 700
Linux System is a multi-user multi-tasking time-sharing system, any user who wants to use system resources must first request an account from the system administrator and then enter the system as this account. On the one hand, the user's account can
View user groups Cat/etc/group View user list cat/etc/passwd settings directory Export PATH=/MNT/C/DEVELOP/MONGODB: $PATHDelete Folder instance: Rm-rf/var/log/httpd/access will delete the/var/log/httpd/access directory and all files and folders
init command level:0: Downtime1: Single-user form, only root for maintenance2: Multi-user, cannot use net file system3: Full Multi-user5: Graphical4: Safe Mode6: RestartTo modify the computer name:VI /etc/sysconfig/networkSet static IPUsing the
For example, to query port 2181.1. The process ID that the query port occupiesNETSTAT-ANP | grep 2181TCP6 0 :::2181 :::* LISTEN 10997 2181 as port number10997 for PIDYou can also
Linux system for CentOS 64-bitFirst step: Download the corresponding version from http://nginx.org/download/(or wget http://nginx.org/download/nginx-1.5.9.tar.gz directly on Linux)Step two: Unzip TAR-ZXVF nginx-1.5.9.tar.gzStep three: Set the
Modify the firewall configuration needs to modify/etc/sysconfig/iptables This file, if you want to open which port, add a bar inside.-A rh-firewall-1-input-m state--state new-m tcp-p TCP--dport 1521-j ACCEPTYes, where 1521 is the port number to open,
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