To view system Information:Cat/proc/version;To view information in a file that contains a specific field:Grep-r ' xxx ' file/path;Remove a log from the Tomcat log for a specific time period and place it in a file:The premise is that each line in the
Compare the size of two integers in a conditional expression with a comparison of two strings for equality, using a different operator.(1) string comparison-N STRING #字符串长度如果为非0则返回真-Z STRING #字符串长度如果为0则返回真STRING1 = STRING2 #两个字符串相同则返回真STRING1! =
1. To install Firefox, the first thing to know is whether the system is 64-bit or 32-bit:uname -A2. Move the downloaded Firefox compression package to the specified directory (/user/local):sudo MV firefox**. tar. gz/usr/local3. Unzip:sudo tar -jxvf
SMALL Small is Beauty1THING make every program only good advice thingsPROTO Build prototypes ASAPPORT Loft for high efficiency and portabilityFLAT using plain text files to store dataReuse leveraging the software to the full leverage effectScript
Previously used Ubuntu, did not change the desktop environment, will not change, but also worry about change will not (really sick, worried about using not accustomed, but also go back to use windows)Ubuntu default is unity, with a short period of
. tarUnpacking: Tar xvf Filename.tarPackage: Tar cvf filename.tar DirName(Note: Tar is packaged, not compressed!) )———————————————. gzDecompression 1:gunzip filename.gzDecompression 2:gzip-d filename.gzCompression: gzip FileName. tar.gz and.
Transferred from: http://www.veryarm.com/1491.htmlThe ARM Linux startup process is roughly:bootloader ---->kernel---->root filesystem. Bootloader is a power-up to get control of the CPU, and bootloader implements the initialization of the hardware.
When we wrote the VI configuration file, we found that # could not comment out a line of informationSo what is the Linux standard annotation information?To view the software's corresponding package commandsrpm–ap| grep vimMost example are needed
1:DF to view the capacity information for mounted disks-I view the usage of inodes-H displays in the appropriate units-k-m are displayed in K-m units respectively .2:du Viewing a file or directory occupies a space du [-ABCKMSH] [filename directory
A. Linux trial1. Query with man or info2. Super Simple text editor: Nano3.sync; Data synchronously writes to disk, writes in-memory data to disk3. The usual shutdown command: shutdown/sbin/shutdown[-t seconds] [-ARKHNCFF] time [warning] Normal user
This article mainly introduces the/proc pseudo file system and the uname () function to obtain some information about the system or process./proc File System IntroductionIn the early UNIX distributions, it was not easy to parse some of the kernel's
Five Find commands for Linux1. FindFind is the most common and powerful look-up command you can use to find any file you're looking for.Find uses the following format:$ find ---If no parameters are added, find searches the current directory and
1. Mount the optical drive: [[email protected] ~] #mount/dev/cdrom/media/cdrom2. See if the Yum source is installed [[email protected] ~] #yum List3. Configure the CD as local Yum source command: [[email protected] ~]
Install jdk in linux and linuxjdk
Check whether the system has its own jdk:
# Java-version
# Rpm-qa | grep jdk: view the built-in jdk package information
# Yum-y remove jdk name uninstall software package
It is recommended to use
Common Linux shortcut keys and basic commands, and linux shortcut keys
*******1. in Linux, only the drive letter/must be assigned to the partition where the system disk is located.*******2. swap partition, equivalent to the virtual memory in Windows,
Linux Shell series (5) Shell string, linuxshell
This article is part 5 of the Linux Shell series tutorials. For more shell tutorials, see the Linux Shell series tutorials.String is the most commonly used and useful data type in Shell programming.
Install OpenCV 3.1.0 on Mac OS X
In my previous article "Configure OpenCV 3.1.0 for Java in Ubuntu 16.04", I have introduced the installation and configuration methods of OpenCV in Linux. for details, I will only record the differences between the
Build a Xilinx cross-compilation environment in Ubuntu 12.04
Set up the Xilinx cross-compiling environment in Ubuntu 12.04. My Linux is Ubuntu 12.04 LTS. The latest version is Ubuntu 16.04 LTS.
1. Update Source
For ease of use, you can first update
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