Common Linux commands-file search command find, common linux commands
Command name: findCommand path:/bin/findSyntax: find [search range] [matching condition]Function Description: file search
ExampleFind/etc-name initFind the file init In the/etc directory-Iname is case insensitive.* Represents a wildcard? Represents a character
Find/-size + 204800Search for files larger than MB in the root directory+ N
Detailed description of vi commands and vi commands
Esc switch mode
Esc + I insert before the cursor
Esc + a Insert after cursor
Esc + o line feed
Esc + u undo
Esc + dl delete a character
Esc + dd delete a row
Esc + x delete a character
Esc + yy copy a row at the cursor + p paste it to the next row of the cursor
Esc + q do not save and exit
Esc + wq! Force exit after saving
Pwd current path
S
Common Linux commands and common linux commandsCommand [Option] [parameter]------------------------ Positioning ------------------------Cd webapps/-- locate webappsCd .. -- return to the parent directoryCd--- return to the last directoryCd -- return to the home directory-- Display the complete path of the current filePwd-- Clear screenCtrl + L------------------------ Demonstration ------------------------Ls -- display the file list--- Display detailsL
Detailed explanation of jstat commands and display results, and detailed explanation of jstat commands
Reference Original:Http://blog.163.com/yangshuo_qq/blog/static/2554680201272871350110/Http://zizihaier.iteye.com/blog/1157245
Jstat1. jstat-gc pidThe gc information is displayed, and the gc count and time are displayed.The last five items are the young gc count, young gc time, full gc count, full gc time,
Record some recently used commands, record usage commands
(Command to paint in green)
View the device USB command:Ls/dev/ttyUSB *
The serial number of the device first inserted into the PC is small, for example, the OpenJTAG device and USB to serial port device are successively inserted.
They are ttyUSB0 and ttyUSB1 respectively.
Logon telnet command:Telnet local host 4444
Ln command: This command
Common Git commands and common Git commands
Mkdir:XX (create an empty directory XX refers to the directory name)
Pwd:Shows the path of the current directory.
Git initChange the current directory to a manageable git repository and generate a hidden. git file.
Git add XXAdd xx files to the temporary storage area.
Git commit-m "XX"Comments are followed by the submitted file-m.
Git statusView repository status
Summary of Common commands for android development and common commands for android Development
1. compile the project
Enter the project directory, for short,
2. Installation Project
Ant debug install, which version should be determined during installation. Note: Go to the project directory and execute this statement.
3. Start the android Simulator
Emulator-avd av, av is the name of the simulator
4. list
Common linux commands and linux commands
1. Network Parameter Setting command
1. ifconfig: Query and SET network card and IP network segment parameters
1.1 man manual Definition
DESCRIPTION Ifconfig is used to configure the kernel-resident network interfaces. It is used at boot time to set up interfaces as necessary. After that, it is usually only needed when debugging or when system tuning
[Django] user permission operation commands (1), django operation commands
To create a py file for testing, add the following code to the file.
# Coding: UTF-8 import OS. environ. setdefault ("DJANGO_SETTINGS_MODULE", "www. settings ") ''' when the Django version is greater than or equal to 1.7, add the following two statements: import djangodjango. setup () otherwise, the error django will be thrown. core.
Summary of Common commands for GDB debugging in Linux, and Common commands for gdb
Prepared by: longshike
Email: longshike2010@163.com
2016-01-05
Gdb is the default debugging tool in Linux. When compiling a program file, such as debug. c. To use gdb for debugging, you must add cc-g or gcc-g before the terminal command to compile debug. c can be obtained using the following command:
gcc -g -o debug debug.c
E
Common nmap commands and nmap commands
1) obtain the system type and open port of the remote host
nmap -sS -P0 -sV -O
-SS tcp syn scan (also known as semi-open or stealth scan)-P0 allows you to Disable ICMP pings.-SV: Enable System Version Detection-O attempts to identify remote operating systems
Other options:
-A: Enable the operating system fingerprint and version detection at the same time.-V: Output S
Summary of Common commands in Linux (7) Security Settings and Common commands in linux
Security Settings
Category
Command
Option
Annotation
Security PolicySelinux
Setenforce
Number (0, 1)
Set selinux status, 0 closed, 1 Enabled
Getenforce
Displays the current selinux status. enforcing indicates enabled, and permissive indicates
Use of cp, rm, and mv commands and cp commands in Linux Command lines
The following content comes from laruence's private kitchenCopy, delete, and move Linux Command lines: cp, rm, and mvCp (copy) replicationThe cp command is used for many purposes. In addition to simple copying, you can also create a link file to compare the old and new files and update them,And copy the entire directory.SyntaxCp [-adfilpr
Common commands in Linux System (4) program and resource management, Common commands in linux
Program and Resource Management
Category
Command
Option
Annotation
Background Management
Command +
Move the task to the background
Ctrl + z
Pause a task
Fg
[% Number]
When the background program is pushed to the foreg
Common Linux commands (4) -- Help Command 1. Command name: man www.2cto.com execution permission: All Users Function Description: Get help Syntax: man [command or configuration file] views the help information of the ls command. When the help information is displayed, press the space to next page, press Enter next line, and press q to exit [root @ localhost ~] # Man ls: view the help information of the configuration file services. After the help infor
Vim commands and vim commands
1. About Vim
Vim is my favorite editor and the second most powerful editor in Linux. Although emacs is recognized as the world's No. 1, I think it is more efficient to use emacs without using vi for editing. If you are a beginner, running vimtutor is a smart decision. (If your system environment is not Chinese and you want to use a Chinese vimtutor, run vimtutor zh)
1.1 several
Linux basic commands and linux commandsLs command
Pwd: display the current directory touch 11.txt: Create a txt file named 11 mkdir laowang under the current directory: Create a folder named laowang ls-a-l-h in the current directory: it is equivalent to ls-alh.-a is used to display all files in the current directory, including hidden files.-l is displayed as a list, -h is the size of the displayed file automatically converted to the default format, su
Common commands for file search in Linux and Common commands for linux
File SEARCH Command: find
1. Search by file name
1.1. Search for precise files
Find path-name file name
1.2. Search for a file whose file name contains a string.
Find path-name * file name *
1.3. Search for files prefixed with a string.
Find path-name file name *
1.4. Search for files suffixed with a string.
Find path-name * file name
1.
Linux Network-related commands and linux Network-related commands
Ifconfig
Ifconfig is the command to view the NIC in centos6. In centos7, you must install the net-tools package before using it?Nic configuration file:/etc/sysconfig/network-scripts/ifcfg-ens33?Command: ifconfig
[root@shuai-01 ~]# ifconfigens33: flags=4163
mtu 1500 inet 192.168.176.135 netmask 255.255.255.0 broadcast 192.168.1
File search commands and search commands
1. Copy the/etc/skel directory to/home/tuser1. The owner group of/home/tuser1 and its internal files and other users do not have any access permissions.
1 [root@bogon home]# cp -r /etc/skel /home/tuser1 2 [root@bogon home]# chmod -R go= /home/tuser1 3 [root@bogon home]# ll -d tuser1 4 drwx------. 3 root root 74 Mar 20 00:03 tuser1 5 [root@bogon home]# ll -A tuser1 6
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.