absolute path to preserving files and directories-T: List view files in package-V: Output details-X: Unpack package files in. tar format-Z: Call the gzip compression tool1, archiveCommand format: Tar option archive and Compress file name source files and directories to be archivedUse the command: Tar zcvf ceshi.txt.tar ceshi.txt//Call gzip command compression and create a tar package650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/79/B9/wKi
[ commands and Directories ] full-complement function, two .Directory commandsLs-a All FilesLS-LH user-friendly detailed informationLs-ld Detailed Directory PropertiesLl-a... ls ll option likeCreate Directory commandmkdir Bolsmkdir-p Janpan/cangls build the first non-existent directory and build a second commandSwitch directoriesCD ~ Current User home DirectoryCD/root directoryCD-Last CatalogCd.. Top level DirectoryRM Delete DirectoryRM Delete File
Explanation of basic operation commands for folders in CentOS
ls--Display the contents of the specified directory
Description: LS displays results in different colors to distinguish file categories. Blue represents the directory, gray for ordinary files, green for executable files, red for compressed files, light blue for linked files.
-A---display all content, including hidden files
Descripti
Application Testing Options 6. View the database version 1Sql> Select * fromv$version;2
3 BANNER4 --------------------------------------------------------------------------------
5OracleDatabase11g Enterprise Edition Release11.2.0.1.0 -64bitProduction6Pl/SQL Release11.2.0.1.0 -Production7CORE11.2.0.1.0Production8Tns forLinux:version11.2.0.1.0 -Production9Nlsrtl Version11.2.0.1.0 -Production 7. Start/Close instance, open is startup, shut down why is shutdown immediate? The normal shutdown time
From: http://blog.sina.com.cn/s/blog_74dfa9f401017s69.htmlSystem Platform: ubuntu10.04
IntroductionSqlite3 is mainly used for Embedded lightweight databases. This article aims to provide technical documents for familiar with sqlite3 basic commands.Note: All operations in this article are performed under the root user.
1. Install sqlite3Install sqlite3 in Ubuntu and run the following command directly on the terminal:# Apt-Get install sqlite3View versio
for that data table become invalid and discarded. 2) Configure the cache parameters:variables: Query_cache _type, querying the operating mode of the cache. There are 3 modes, 0: Not cached, 1: Cache queries, unless you start with select Sql_no_cache; 2: Only those queries that start with select Sql_cache are cached as needed; Query_cache_size: Sets the maximum result set size of the query cache, Larger than this value will not be cached. 22. Adjust the hardware1) Install more memory on the mach
Tags: nbsp related inux file related and read TE Linux binariesCAT//(CONCATENATE) start from the first line-N List Line numbersReverse operation of TAC//catNL//view and List line numbers-b Specifies how the line number is specified-B A is equivalent to cat-n empty line also listed travel number-B t default blank line does not list line numbers-N Line Number repre
table is updated, any cached queries for that data table become invalid and discarded.2) Configure the cache parameters:Variables: Query_cache _type, querying the operating mode of the cache. There are 3 modes, 0: Not cached, 1: Cache queries, unless you start with select Sql_no_cache; 2: Only those queries that start with select Sql_cache are cached as needed; Query_cache_size: Sets the maximum result set size of the query cache, Larger than this value will not be cached. 22. Adjust the hardw
Under Linux, the PS command is one of the most basic commands for viewing processes running on a system. It provides the current process at the same time, such as user id,cpu usage, memory usage, command name, and so on, it does not display real-time data, such as the top or htop command details. However, even if the functionality and output is simple, but it is still a required process management/monitorin
Guide
Linux has a big impact on our lives. On Linux, however, you should usually use terminal commands instead of just clicking on the launcher image (just like you do on Windows). These 10 basic Linux commands and important commands will help you get started as soon as possible.
When we talk about Linu
, including information such as properties and permissions for files-N: Lists UID and GID numbers instead of user and group names-r: Reverse output of the sort results, for example: original file name from small to large, reverse is from big to small-r: List all the contents of subdirectories together-S: Sort by size of file content, not by filename-T: Sort by time rather than by file name--color=never: Do not give color display based on file characte
whose property is rwxr-XR-X will be searched.
-Perm-mode: searches for files whose attributes contain all modes. For example, search-Perm-755. The file whose property is rwxrwxrwx (777) will also be searched.
-Perm + mode: searches for files whose attributes contain any mode. For example, search-Perm + 755. The file whose property is rwx ------ (700) will also be searched.
2. Additional operations.
After the find Command finds out files, it is often necessary to process these files, such as
[Switch] MySQL basic command 1. mysql service operation 0. view the database version SQL-status; 1. netstartmysql starts mysql Service 2. netstopmysql stops mysql service 3. mysql-h host address-u user name-p User Password enters mysql database 4. quit exits mysql operation 5. mysqladmin-u user
[Switch] MySQL basic command 1. mysql service operation 0. view the database version SQL-status; 1. net start mysq
criteria to update rows;Update table name set column name = "First Name" where filter conditionExample:Update mytable set name= "tt" where birthaddr= "America"2. Delete dataUse the DELETE statement:To delete a specific row from a table: a qualifying condition is required, i.e. the where statement;Delete all rows from the table;Ix. change the structure of a tableTo change the table structure by using the ALTER TABLE statement:ALTER table must be followed by the name of the table you want to chan
-cRepresents the creation of a tar package file that -f specifies the file name created by the –v visualization? Unpacking to the specified directory: TAR–ZXVF shiyanlou.tar–c tardir13. Permission class:? Modify the owner of the directory: Chown-r apache:apache/home/www/web? Modify permissions for the directory: Chmod-r 777/home/www/web (chmod go+rwx iphone6)14. Service? Systemctl start Nginx? Service start-up: Systemctl enable Nginx? Restart Service: Systemctl Reload Nginx15. Help command:L Hel
Article Title: Basic Linux commands and Tomcat maintenance. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Monitor the average CPU usage. After SSH to the Linux server, type uptime to display the CPU usage of 1 minute ago, 5
Start shellThe GNU Bash Shell provides interactive access to Linux systems. He runs as a regular program and usually starts when the user logs on to the terminal. When you log in, you start the shell based on the user profile/etc/passwd./ETC/PASSWD contains a list of all system user accounts and basic information for each user. Eg: one of the entriesChristine:x:501:501:christine Bresnahan:/home/christine:/b
1① command line switch graphical interface: StartX ② display text conversion command line input: Localectl list-localesLocalectl Set-locale Lang=zh_cn.utf8 (Vice-en-us) View language locale③ View the shell type used:"#echo $SHELL2①SSH Protocol Secure Shell:"[Email protected]~" #ss-TNL(see if the system is listening on port 22 of the TCP protocol)View IP (ifconfig)3① Ensure that the firewall is turned off:~ "#iptables-L-NCentOS 7: (execution)~ "#system
must be adjacent to the row to go to the heavyUniq-c Repeat CountSor File | Unqic-cTee redirectionecho "123456" | Tee 1.txt will show the difference between results and >TR Replacementecho "ABCD" | Tr ' A-Z ' A-Z ' one by one corresponds to ' AB ' AB 'Split cutSplit-b 50m 1.txt by size default unit B, can omit (x) AA XabSplit-l 1.txt per row and success-execution unsuccessful-do not execute|| or success-not performing unsuccessful-execution; (not) Success-executiongrep--color ' root '/etc/passw
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.