Please follow the Linux basic commands as required on the machine.CD command: Switch directories(1) Switch to directory/usr/localCd/usr/local(2) Go to the current upper directoryCd..(3) Go back to your home folderCD ~ls command: View files and
System Information View1. LSCPU View CPU2. Free View Memory3. LSBLK View Hard disk partitionDf-h viewing hard disk usage4. Lspci |grep-i ' ETH 'Management of Clocks1. Date Display system time2. Cal-y View Calendar3. Tzselect Adjust time zone4.
Use the man command1 CDCD/ ~ - # Last access directory2 lsls -al # show details, show hidden files ls -lrt # sorted by Time3 pwdpwd # view current working directory4 TouchTouch fileName.txt # Create file5 mkdirmkdir Temp # Create Directory6
I. Linux file permissions and directory configuration
Users and Groups
File owner-can set file permissions
Linux File Permissions Concepts
LS-AL:LS displays file name and related properties,-al indicates detailed
Installing Tomcat under LinuxRight-click on the link of the tar.gz package and select "Copy link Address" from the popup menu.Copy and pasteAfter the download is complete, let's unpack the package, enter the command: TAR-ZXVF
Using the PS command, use the following method:Ps-ef|grep shutdownWhere shutdown is the shutdown command, but this time you see only the relative path, there is no absolute path, such as:Where 4170 is the process ID, this time into "/proc/4170", and
1.dhclient Auto Get IP Address IP add view IP address inet for auto Get IP2.vmwere Edit Virtual Network editor NAT mode for menu barSubnet addressNat Settings View Gateway3. Set the static IPLs/etc/sysconfig/network-scripts/ifcfg-ens33 cne33 NIC
VI: Open file is not editable at this time
command-line mode to insert modeI: Editable state, insert before cursorA: Insert after cursorI: Insertion at the beginning of the cursor positionA: Insertion at the end of the cursor lineO (lowercase):
Front-end sister one, never thought would contact the backend, the company in addition to my one front-end, the other people are PHP developers. So scary!!!Now share the Linux commands you've used ....1.CP file File copy-->copy command2.MV Files
Linux kernel optimization configuration1. File Restrictions· each time a TCP connection is established, a file handle is generated, and emfile errors are often thrown when the file cannot be created. · can be viewed by command Ulimit-n, Linux
3 methods to disable linux ports and 3 methods to disable linux portsThree methods to disable linux ports
How to disable a port in linux
The following are three methods to disable linux ports:1. Close the port by killing the process.
Each port has a
Ngnix configures the url to be directed to the folder under the tp framework public, ngnixtp
If think plugin is used, the url access should be:
Http://yourdomain.com/front/index.html
Every access goes through a front layer, but direct the domain
InfluxDB and tickinfluxdb of Tick technology StackTick Introduction
InfluxData has developed four open-source monitoring products, including Telegraf, InfluxDB, Chronograf, and Kapacitor. InfluxDB is the most widely used open-source time series
Run-time error '000000' Component 'mscomctl. ocx' or one of its dependencies not,
Run-time error '000000' Component 'mscomctl. ocx' or one of its dependencies not.
Error:
Download the repair file: (Microsoft online storage, onedrive)
Https://
Install JDK in linux and linuxjdk
1. Put the one-click installation script install_JDK.sh and the downloaded jdk1.7 in the same directory and upload it to a directory on the linux server.
Note: The script is used to facilitate one-click installation
Shell, process, shell Process
Relationship between shell and process:
Starting from login shell, login shell is used to indicate the login process. It refers to the process created by the system when the user logs on to the system and used to run
Thinkpad x220 cannot be used for standby and cannot be changed to bios settings. thinkpadx220
I bought a Thinkpad x220 and installed the deepin system all the time. In this case, suspend (fn + f12) cannot be awakened.
Just a few days ago, after a
Linux regular expressions, query command instances, and regular expression instances
When using linux, you often need to find files. The search Commands include find and grep. The two commands are partitioned.
(1) The find command searches for
Tomcat logs catalina. out are automatically truncated, and tomcatcatalina. out
1. Edit the automatic truncation rule
Edit/etc/logrotate. d/tomcat and enter the following content:
/Opt/www/tomcat/logs/catalina. out {? # Log Path determined
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