Common Linux commands (9) and common linux commands
The cat command is used to connect files or standard input and print. This command is often used to display the file content, connect several files, or read and display the content from the standard input. It is often used with the redirection symbol.
1. Command Forma
Common Linux commands (4) and common linux commands
The linux mkdir command is used to create a directory with the specified name. The user who creates the directory must have the write permission in the current directory, and the specified directory name cannot be an existing directory in the current directory.
1. Com
Details of Common commands on Linux servers and Common commands on linuxI. User
1. useradd is used to create an account.
Useradd newname // create newnamepasswd newname // set change the password. After entering this command, you will be prompted to enter the password
2. delete a user
userdel newname
3. Switch users
s
Summary of common linux commands and parameters (basic) and common linux commands
1. user's home directory (~) In linux, users all have their own home directories. you can place your own configuration files and other things. pwd: list the current directory. optional parameter-P: when the current directory is a link dir
Summary of Common commands in linux and summary of Common commands in linuxClear terminal screen
Clear terminal screen usageClearCommand orCtrl + LCombination of shortcut keys. However, this operation does not actually clear the screen. If you scroll up, you can still see the previous output.
So you can also useReset
Linux-Common commands for daily system management and Common commands for linux1: W view the overall load of the system. You cannot view the specific load, such as memory or disk.23:25:20 up 13 min, 2 users, load average: 0.00, 0.01, 0.01User tty from login @ IDLE JCPU PCPU WHATFlex tty1-0.01 s 0.01 s-bashFlex pts/0 19
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? Represent
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--------------------
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 com
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.
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
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
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
Pa
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-na
. After reading all the content, you will exit. If you want to quit early, just press the Q key. Less is the same as more, but better than the more good can be turned upside down. The SPACEBAR can also be paged, while pressing the "J" key can be moved downward (click to move down one line) and press "K" key to move up. When you use more and less to view a file, you can click the "/" key and then enter a word carriage return so that you can find the word. If you have more than one word, you can p
Common commands in linux and Common commands in linux
Common commands in linux. We should first learn some very basic commands, but the usage is very high. Otherwise, the subsequent cou
In Linux, how does one view, kill, and start processes? (Common commands), common linux commands
Keywords: linux Process query, killing process, Starting Process
1. Check the process
Ps command to find the process-related PID:
Ps a shows all programs under the current terminal, including those of other users.
Ps-A show
Common commands of yum and rpm and Common commands of yumrpm
Directory
Installation Package of common command packages for yum and rpm query package uninstalling all other options for yum and rpm all options in yum
Common
Tags: absolute path installation file output Reference Declaration switch Directory View extLinux common commands (Common Commands for Linux)1. Statement, this article only write based on the Bash shell commonly used commands, if you encounter the command in the course of us
Common Linux commands and common linux commandsDirectory: relative path and absolute path.
Absolute path: the path is written in the root directory, for example,/usr/share/doc.
Relative Path: the path is not written by/. For example, if/usr/share/doc is to be written under/usr/share/man, you can write it as [cd .. /man: This is the relative path.
Cd: Swi
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.