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
[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
main.cplNetwork connection:control netconnections或ncpa.cplNotepad:notepadOn-Screen Keyboard:oskPerformance monitoring:perfmon.msc或perfmonPhone and Modem Options:telephon.cplPower Options:powercfg.cplPrinters and Faxes:control printersTrueType font-character programs:eudceditRegion and Language:intl.cplRegistry Editor:regeditRemote Desktop:mstscResultant Set of Policy:rsop.mscTo schedule a task:control schedtasksWindows Security Center:wscui.cplService:services.mscShared folders:fsmgmt.mscSound a
promptChkdsk.exe-----CHKDSK disk CheckCertmgr.msc----Certificate Management UtilityCalc-----------Start CalculatorCharmap--------Start character mapping tableCLICONFG-------SQL Server Client Network UtilityCLIPBRD--------Clipboard ViewerConf-----------start NetMeetingCompmgmt.msc---Computer Managementcleanmgr-------Waste FinishingCIADV.MSC------Indexing Service ProgramOSK------------Open the On-screen keyboardODBCAD32-------ODBC data Source ManagerOobemsoobea----Check if XP is activeLusrmgr.msc
Shutdown
Poweroff
Halt
Shutdown-H now
Init 0
The above four commands are equivalent. Normal users do not have the permission to shut down and must use sudo to execute the above commands.
Do not use poweroff-F. The F Switch refers to force, meaning forced shutdown.
Think exercises for teacher Haiming.
In Windows, there is only one clock, that is, the BIOS clock. linux clock is a soft clock, whi
View common system configuration commands in Linux and Common commands in linux
System
# Uname-a # view kernel/operating system/CPU Information# Head-n 1/etc/issue # view the operating system version# Cat/proc/cpuinfo # view CPU Information# Hostname # view the computer name# Lspci-TV # list all PCI devices# Lsusb-TV # list all USB devices# Lsmod # list loaded Kernel Modules# Env # view environment variable
Linux File Management commands and linux commands
File command and Its Usage
File: Type of the file content.
Du command and Its Usage
-S:
-H:
Read command and usage
Describes the relationships and differences between the three open source protocols GPL, BSD, and Apache.
Free Software
Open source agreement, copyright description
List Linux releases and describe their relationships with Linux kernels
Linux,
Common commands for project deployment and Common commands for deployment
Connect to the ssh root@172.16.2.245ExitView tomcat process ps-ef | grep tomcatGo to the cd folderFile List ll
Edit the configuration file vim/usr/local/tomcat/conf/server. xmlEditSave wq!Do not save and exit q!
Run chmod 777 *. shStart tomcat to view logs./restart. sh tail-f logs/catalina. outSynchronize files to scp-r on another
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.