/refers to the root directory, which is the topmost directory of all directories. ~ is the current user's home directory: If it is the root user, it is the/root/directory, and if it is another user, it is a directory named/home/under the user name,
First, headGrammarHead [-n-k] ... [FILE] ...K is the numberThe default is to display the first 10 rows.head/etc/passwdShow first 5 lines at the beginningHead-5/etc/passwdHead-n 5/ETC/PASSWD (Note and the following have--differences)Head-n
To see if it is a virtual machine: CAT/PROC/SCSI/SCSIHow Linux Systems View version information: 1.uname-a 2.cat/proc/version 3.cat/etc/issue 4.lsb_release-aView memory Size: Cat/proc/meminfo |grep memtotalEnter "Cat/etc/issue", which shows the
1. Install JDK and Tomcat installation directory for/usr/local/apache-tomcat-8.0.52 steps2. Create a user tomcat and set it to not be logged onIts command #useradd-s/usr/sbin/nologin Tomcat3. Install and compile the daemon service3.1 Switching
Pre-configuration: Turn off the firewall, configure the HOSTS,SSH password-free login1. Select the standard for synchronization, I am using hadoop002 (set to the current time) as the synchronization standard, hadoop003 (Time is March 2018 21, set
Linux Document directory structureWidows:Concept of C e E F-drive letterLinux:/root directoryDirectory structure of a tree chart/tmp Storing temporary files/etc Common Square configuration file/bin executable file/root Root User home directory/lib.
1. What is a processA process is an application that is in progress in the operating system;2. How the graphics process is viewedGnome-system-monitor3. View the commands for a processPS Viewing processPS A current process-related process (contains
1. Use the Find command to find a file that occupies a larger spaceFind/-type f-size +5g-finds files larger than 5G and can be used with work permissionsFind. -type f-size +10000k Find files larger than 10MFind-type f-size +500k-and-size-1000k--Find
1, first need to install: ImageMagick, namely:# Apt-get Install ImageMagick2, use the Identify command to query the corresponding picture information, namely:# identify logo.jpgOutput information: logo.jpg JPEG 142x57 142x57+0+0 8-bit directclass 5.7
Basic Conceptual relationshipsIn the computer architecture, the main body of the hardware board is divided into North and South bridges, the bridge is mainly CPU memory graphics and other data transmission, and the bridge is mainly responsible for
To enable the sharing of resources between Windows hosts and Linux servers, the Linux operating system provides samba services, and the Samba service bridges two different operating systems, enabling communication between Linux and Windows systems.1.
Linux Command Summary
Start-up terminal: ctr+alt+t, needless to say
Terminal font enlargement: ctr+shift+ ' + ', terminal font reduction: ctr+ '-', needless to say
LS: View the file information in the current directory
PWD: View
UseThe tail command is primarily used to remove a few lines behindFull NameThe full name of the tail command is tail (tail)Parameters-N: followed by a number, which indicates the meaning of a few lines-F: Loop read-Q: Do not display processing
UseMore mainly used for one page to view archivesFull NameThe full name is moreParametersSPACEBAR: Represents a page down, or you can use the Ctrl+fEnter: Represents the next row: F: Displays the file name immediately and the number of rows
1. Check the first n rows of the log: Cat file name | Number of Head-nDemoCat Test.log | Head-n 200 # View Test.log Top 200 lines2. Look at the end of the log n rows : Cat file name | Number of Tail-nDemoCat Test.log | Tail-n 200 # View Test.log
There is a overcomit configuration in Linux, which is related to the performance of the system (heuristic allow, no check, or block) when the process is requesting memory resources too much./proc/sys/vm/overcommit_memory This file contains the
1.lsof command (list open files, which lists the opened file, everything in the Linux system exists as a file)LS of-i: Port. Lists information for the specified port2.ps command (process status, which shows Progress state information)Watch-n 1
1. Install package group containing RZ,SZ commandCan be selected when installing the System Package, package group name: dial-up nerworking support. If you do not have a choice when installing the system, you can install it using the Yum command
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