Linux Common commandsShow directory and File commandsLS: Displays directories and files under the specified directoryls [option] Directory nameLs-a: List all files in the directoryls-d: Show directory, do not display directory filesLs-i: Display the
1. Enter the bin directory of Tomcat, for example, my/usr/local/apache-tomcat-8.5.16/bin2. Create a new file setenv.shVI setenv.shand add the following in this file, set the initial heap size-xms, maximum heap size-xmx, minimum heap size-xmnExport
After logging in to the system, enter the command under the current command window:/ You will see as shown in the following:Tree-like directory structure:The following is an explanation of these directories:
/bin:The bin is the abbreviation for
I. Situations where the system is not in a virtual machineSwitch to the command line interface using Ctrl+alt+f1~6; ctrl+alt+f7 switch to the graphical interfaceTwo. The system in the virtual machine situationctrl+alt+shift+f1~6 switch to the
Use of the grep commandGrep-ri "Ramfs" *|grep-v "Cramfs"Explain:The-r option is to recursively search for files in all subdirectories of the current directoryThe-I option means skipping the binaries and concentrating on the search text file*
A lot of friends ask me, want to know more about the Linux operating system but can not find the starting pointThe advice I give you is:
So C is an essential skill to learn Linux in depth, you can see Rectification's green Book,
1. Some simple commands① Open File Command format:CD [Directory name]The directory name has a few symbols that have a special meaning, "..." Represents the Previous directory, the "~" represents the home directory, and "-" represents the preceding
Virtual Machine Installation Considerations:1.1 Partition configuration, pay attention to the mainstream partition scheme and enterprise partition scheme.1.2 Network configuration, pay attention to several virtual machines under the connection
Computer FundamentalsLinux HistoryFile management (viewing, processing)Directory ManagementLHSTimestamp, time, shutdownPhilosophical thoughtFile namingBasic features of BashCommand line expansionCommand completionPath completionGlobShortcut
The Useradd command is used to establish the user account and create the user's starting directory, and the use of permissions is the ultimate user. Useradd can be used to create user accounts, and he and AddUser commands are the same. After the
---restore content starts---The free command shows the usage statistics for the physical memory and swap partitions in the Linux system.Available memory = Free + buffers + CachedFirst behavior physical memory usage statistics:
Title
Usermod Modify user account properties,Usermod can be used to modify the user account settings. Grammar:Usermod (parameter) (user name)Parameters-c Modify the Notes text for the user account.-D Login Directory > Modify user login directory.-e Modify
Taking arm-linux-gcc-3.4.5-glibc-2.3.6.tar.bz2 as an example1. Get the cross-compilation tool to install. (generally available on chip manufacturers, can also be downloaded by themselves)2. Using the tar command: Tar jxvf arm-linux-gcc-3.4.5-glibc-2.
Recently the fleet stopped, need to use the boss's server run the program, here first you have to add some user name on the boss's server. The new user name method is as follows:1. Add user name using Useradd and specify User name directory, script
Using Ubuntu desktop is usually mounted automatically, and in command-line mode you need to mount it by command.1. First look at the information of the U-disk, confirm what partition is displayed, what the USB drive format is.View command: sudo
Before using Nginx did the Web reverse proxy, did not do load balancing, today there is a classmate need to do Tomcat load balancing, I also studied.
There are altogether 2 machines, one physical machine (Win7) that deploys 2 tomcat, using
Combined with regular expression matching and awk matching
Use awkto analyze the distribution of label values in data.csv.
Run head data.csv on the terminal to view the data:
1 name, business, label, label_name2 Cangzhou guangsong house demolition
Nginx installation for LNMP compilation and installation-graphic explanation, lnmpnginxNginx installation for LNMP compilation and installation-graphic explanation
1. Preface
This installation uses the source code. The main resource package is
Linux Copy command, linux Command
Function: copy a file or directory.Note: The cp command is used to copy files or directories. If you specify more than two files or directories at the same time, and the last destination is an existing Directory,
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