4 System Administration commands
Shutdown graceful shutdown NBSP
Reboot Restart computer PS NBSP ; Show transient process status, view current program execution ps-aux
Top NBS p; View current program execution scenarios and memory usage, dynamic display currently consumes the most resources process information
Kill to terminate a process, You can use the PS or top
Network Configuration Common commands Introduction:The function of the network kernel in Linux1. Execute command generated address:(effective immediately after execution, service restart after the failure)RHEL5:/etc/modprobe.confRHEL6:/etc/udev/rules.d/70-persistent-net.rulesAliasIfconfig [EthX]-A: Shows the configuration of all interfacesIfconfig EthX Ip/mask [Up|down] immediately after the configuration, network service or host failure after restar
.② file belongs to group: a user can belong to more than one group, but it can only have one default group . So when a file is created, its owning group can only be the default group that the user belongs to(2) Umask command
Command name
Umask (The user file-creation mask)
Command path
Shell built-in commands
Execute permissions
All Users
Grammar
Umask [-S]-S Displays the
1. command format and directory processing command LSCommand format: command [-options] [parameters] Example: ls-la/etc (Note: Individual commands do not follow this format; when there are multiple options, they can be written together; option parameters in brackets are generally ignored)Command name: LSCommand English original: listCommand path:/bin/lsExecute Permissions: All UsersFunction Description: Display directory fileSyntax: LS [-options] [par
commands about disk space
Command
Function
Mount
Mount File System
Umount
Uninstalling a file system mounted on a mount
Df
Check the disk space of each hard disk partition and the mounted file system
Du
Show file directory and size
Fsck
Mainly to check and repair the Linux file system
2.1 Mount CommandThe mount command is
Linux commands for managing files and directories
Command
Function
Command
Function
Pwd
Show current directory
Ls
View the contents of the directory
Cd
Change your directory
Cat
Display the contents of a file
Grep
Find a character in a file
Cp
Copying files
Touch
Create a file
Mv
Moving files
Rm
The watch command executes the command periodically, displaying the output in full screen. A program can be repeatedly executed by the Watch command to monitor its output changes.Command formatWatch [-DHVT] [-n Command parameters-N,--intervalSpecify a time interval. By default, watch executes the command every 2 seconds.-D,--differencesHighlight the area of change. The-d=cumulative option highlights all areas that have changed (including those that have been changed).-T,-no-titleClose the time i
Oracle Delete user commands and partial commandsDrop user user_name cascade;Drop user user_name cascade;CREATE TABLE SpaceCREATE tablespace DATA01DataFile '/oracle/oradata/db/data01.dbf ' SIZE 500MUNIFORM SIZE 128k; #指定区尺寸为128k, if not specified, the zone size defaults to 64kDelete Table spaceDROP tablespace data01 including CONTENTS and datafiles;I. Create a table spaceCREATE tablespace DATA01DataFile '/oracle/oradata/db/data01.dbf ' SIZE 500MUNIFORM
Tags: ls command display file name src MV command MDI RM-RF file returnOriginal Blog Address: https://www.cnblogs.com/BaiYiShaoNian/p/4831022.htmlShell Common Commands Summary:1. ls command: List filesLs-a list all files and folders in the current directoryLS A * lists all files starting with the A letter in the current directoryLs-l *.txt lists all files with the suffix txt in the current directory2. CP Command: CopyCP a.txt B.txt Copy the contents o
PHP implements methods for connecting devices, communicating, and sending commands, and PHP commands
This article describes how PHP implements connection devices, communication, and sending commands. Share to everyone for your reference. Specific as follows:
The development of the BS architecture of the Software (PHP), need to communicate with the device, in thi
Go to Ubuntu and run the root permission command-sudo and Su commands for Ubuntu user management
Sudo refers to super-user do, which allows the current user to temporarily run this command as the administrator.
Su is used to change the current user. Su root is used to switch the current user to the root user. After Su root is used, all the following commands can be skipped, because the current user is alrea
Tags: Specify make unzip should parameter nbsp Create automatic and[BZIP2]Bzip2 Compress the file into bz2 format and delete the original file.Suitable for large file compression-D Extract-Specifies the compression ratio. -KKeep the original fileRelated Commands bunzip2[BUNZIP2]BUNZIP2 Decompression *.bz2Related Commands bzip2[Bzcat]Bzcat View bz2 's File contentsRelated
#. (2) query host namethe command to query the host name is hostname650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M00/9D/13/wKioL1l5qU7DSp-1AAAKx7IPdaU742.png "title=" Image006.png "style=" Float:none; "alt=" Wkiol1l5qu7dsp-1aaakx7ipdau742.png "/>It can be found that the host name displayed at the prompt is not the full hostname, but only the first part of the display, in order to facilitate the distinction.(3) directory Display~ indicates the current directory. If not entered, the d
[CentOS7] Common commands, continuous updates, and centos7 Common commands
1. Firewall related.
1. Disable the Firewall
Systemctl stop firewalld
2. Enable Firewall
Systemctl start firewalld. service
3. Open the default port number
Firewall-cmd -- permanent -- zone = public -- add-port = 3306/tcp
Firewall-cmd -- permanent -- zone = public -- add-port = 3306/udp
4. Make the latest firewall setting ru
Some simple commands in Linux and some simple commands in Linux
[Epeter @ localhost ~] $
Where: epeter is the user name; localhost is the current host name ;~ The broken wave number indicates that the current user directory is used (If yes, the slash indicates that the current root directory is used ); $ indicates that you are currently logged on as a normal user (If yes, # indicates that you are currently
Common git commands and git commands
1. Create a branch that is identical to the remote dev branch and switch
Git checkout-B zhaojigangDev origin/dev
2. Create a branch identical to the remote dev branch, track the remote dev branch, and finally switch
Git checkout-B zhaojigangDev -- track origin/dev
3. Undo the git add command.
Git reset
4. view the status of the current git reposit
Create windows custom commands and windows custom commands
First, create a folder in any location. The directory I use isD: \ Program Files \ Quick Start \ command \, Desktop my computer/computer icon right-click Properties
Advanced System settings-> advanced-> Environment Variables
Find in System VariablesPathDouble-click Modify to append your directory.D: \ Program Files \ Quick Start \ command \,
MySQL Common commands and operations, MySQL Common commands and operations
1. logon and exit1) log onIn windows, log on to the doscommand window as the root user and enter mysql and press Enter;In linux, enter the server that uses PUTTY to connect to mysql, and then enter the mysql-u username-p password to enter the mysql> interface.2) quitRun exit and press Enter.3) change the passwordMysql-u username-p pa
Summary of basic MySQL commands and common commands bitsCN.com
Start: net start mysql;Enter: mysql-u root-p/mysql-h localhost-u root-p databaseName;List databases: show databases;Select database: use databaseName;List tables: show tables;Show columns from tableName;Create a database: source fileName.txt;Matching character: Wildcard _ can be used to represent any character, and % represents any string;Add a
Common Linux commands (2) -- permission management command 1. command name: chmodwww.2cto.com execution permission: all users function description: change the file or directory permission syntax: chmod [{ugo} {+-} {rwx}] [file or directory] [mod... common Linux commands (2) -- permission management command 1. command name: chmod www.2cto.com execution permission: all users function description: change the f
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.