/article/details/46874241productflavors{flavors_release{Manifestplaceholders = [str: "Releasestr", Package_name: "Com.example.android.newsreader"]ApplicationID "Com.example.android.newsreader"}flavors_dev{Manifestplaceholders = [str: "Devstr", Package_name: "Com.example.android.newsreaderdev"]ApplicationID "Com.example.android.newsreaderdev"}}In the Gradle panel on the right side of Android studio, click the button to refresh, so in the build sub-columnWhere the assemble* starts with the APK opt
: HeadCommand name: HeadCommand location:/usr/bin/headExecute Permissions: All UsersFunction Description: Displays the first few lines of the file-n Specifies the number of rowsSyntax: head [filename]Example: $ head-n 20/etc/services-----------------------------------------------------------------------------------File Processing command: TailCommand name: TailCommand location:/usr/bin/tailExecute Permissions: All UsersFunction Description: Displays the following lines of the file-n Specifies th
: (statistics) count sum max min avg standard for grouping) select Invest.projectid ProjectID, Invest.projectname ProjectName, Company.companyname companyName, Invest.investtime inves Ttime, Invest.investmoney Investmoney, sum (Invest.investmoney) Projectmoney, CONCAT (Company.area,company.industryid) projectintroduction Span style= "color: #0000ff;" >from Invest join company on I Nvest.companyid = Company.companyid Span style= "color: #0000ff;" >where fundid= 1 g
Command format:commands [-options] [parameters]Example: ls-la/etcNote: The use of individual commands does not follow this format.Directory processing command: LS (column directory)More options:-H replaces byte display file size in KB and other human-readable waysNote: In Linux, the file name begins with a.Under the-l option, the first part of the file details shows the file type and file permissions:Directory Processing command: mkdir (create directo
RPM packages that can be updated in the resource source.
# Yum info updates
Lists all the RPM packages that have been installed
# Yum info installed
Lists the RPM packages that have been installed but are not included in the resource source.
# Yum info extras
Note: Information of the RPM packages installed on other websites
Search for RPM packages
Search for RPM packages matching specific characters
# Yum search Mozilla
Note: Search for RPM package names and package descriptions
Search for RPM
location.such as: [[email protected] ~]# cd/etc/Another: You can use tab Auto-completion in Linux, such as CD/Press two tab will show the root directoryLinux Common Level Directory/root directoryIn the bin and Sbin,user directories under the root directory, both bin and sbin, these four directories are used to save system commands.Boot boot directory, which holds the system boot dataSave directory for dev special filesETC Saved system default profile
created , and the command needs to be rooted . Identity Run/usr/sbin/makewhatis# When an error occurs using these two commands , the whatis database is not established With the-[ command ] --help# is primarily used to get the option information for a commandApropos [ file ]4. Help #查看 The shell's built-in command files For example: Man CD differs from Help CDAttached-man bash# can be used to see What built-in c
Recently in learning Linux from 0, it took 10 days to get basic commands and a realistic use of operational learning points fur. Many Linux commands are summarized here for reviewDirectory structure:/: root directory, usually under the sub-directory, not put files;/dev: Stores the device files under the Linux system and accesses a device in that directory, equivalent to accessing a device;/root: System admi
[=attr_list] Mode: Permission ownership: belongs to the main group Timestamp:links xattr context All-P: Equivalent--preserv=mode,ownership,timestamp-V:--verbose-F:--force8.RM: Delete command-I: Interactive-F: Force delete-R: Recursive9.tree Display directory tree-D: Show only directories-L Level: Specifies the number of levels to display-P Pattern: Displays only the paths that are matched by the specified pattern10.mkdir Creating a Directory-P: exists in no error, and can automatically create th
Recorded after listening to Jack Haiming's video lecture
Ubunt Common commands
Shutdown:Sudo shutdown now or sudo poweroff
Reload or restart network:Sudo/etc/init. d/networking restart
Enable the sshd remote connection protocol:Server sshd start
Install starship:Sudo apt-Get install stardict
Access the Windows Shared Folder:Sudo Mount-t cifs-O username = test, password = test, iochartset = utf8
Common commands for Linux File Management Commandsi. ls file View ls-A lists all the files under the file, including "." Hidden files at the beginningls-L List Details of the file, such as creator, creation time, file read-write permission list, and so on. ls-F Add a character to the end of each file to indicate the type of the file. "@"Represents a symbolic link,"|"Represents FIFOs,"/"Represents a dir
to UTF8. "Summary of Errors"In many cases, have encountered 1045 of errors, in the process of checking data, found that the general reasons for the following two points:1. There may be incomplete records in the MySQL user table; 2. The user may not have been granted permission in the MySQL user table. Because MySQL database is not like SQL Server database, can operate in the visual interface, in MySQL, all kinds of operations are required by various co
Help commandsCommand name: manCommand English original meaning: manualCommand path:/usr/bin/manExecute Permissions: All UsersSyntax: Man [command or configuration file]Function Description: Get help information example: Man ls to view the help information of the LS command; Man services view Help for Profile services, view configuration file Help does not require the absolute path of the write configuration fileHelp Document Description: 1 means help for the command; 5 Help for the configuration
Common commands for Linux commands1. Create a foldermkdir [Options] The [Options] folder name command has the following two types:-M is used to set access permissions on the new directory, or it can be set with the chmod command. -P creates a top-level folder (or directory) when needed, and is not considered an error if the folder (or directory) already exists.2. Delete FolderFormat: RM [options] The option
Common commands and Linux common senseVersion number analysis2.6.32-2202 Major Version number6 minor version number even for stable version odd for dev version32 Derived version number220 modification TimesRoot Super Admin home directory equivalent to Windows-My DocumentsHome Common User Home directoryShow Machine Name
Common Tomcat problems and Common commands
For a long time, you don't need to forget many tomcat commands, so you have to record them for reference. I also hope that I can start to develop a good habit of logging on to my blog.
1. view the java version number.
Go to the java installation directory and run the follow
Http://linuxhacker.blogchina.com/
Introduction to common network configuration files and Common commands in Linux
/Etc/sysconfig/network includes the basic network information of the host for system startup./Etc/sysconfig/network-script/the directory contains the information about the most initialized network started by the system./Etc/sysc
Common Linux Commands1 View Linux version 1.1 view Linux kernel version uname-r or uname-a1.2 view the specific version number of Linux cat/proc/version1.3 view the hostname of the Linux system hostname 2 start or shut down the FTP service Service vsftp start 3 View Linux hard disk size Df-lh4 view the Linux memory size free5 See the number of CPUs ls/proc/acpi/processor see information about CPUs CAT/PROC/CPU Info6 View the absolute path of the curre
1. Basic knowledge of Linux
Linux version of I386/I686/X86-64/PCC, etc... The difference
The understanding of the Inode of Linux (the interview, once asked, is to find space, but still cannot create new directories and files, a big reason is that the inode is already full)
How to redirect the output path of the keepalived log
Why command not found appears when you add sudo before executing some commands in Linux
Three ways to configure Linux environm
following format:netstat [options]Where the-t option represents the TCP protocol, the-U option represents the UDP protocol,-L for listening,-R for routing, and-n for displaying the IP address and port number.such as: View the local listening port-----Netstat-tlunView all network connections on this computer-----netstat-anView the native routing table-----Netstat-rn.(Ten) SetupThe Setup command is used to configure the network, which is characterized by a permanent effect, unlike ifconfig, where
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.