chmodView command Ls-l-RWX r_x r_x 4 user Grop 1024 omittedFile type Owner permissions with group People permissions other people permissions hard connections number owner owner Group size ...-Representative documentsD Represents a FolderR Read
View ports#lsof-I: Port number|\ viewing process information based on port numberExample: #lsof-i:8080Command PID user FD type Device size nodeJava 15419 root 29u ipv6 8277 tcpName*:webcache View process corresponding executable program according to
#tail-F-N-catalina.outMeaning: monitor catalina.out files from the tail of the file main look at the tail 100 lines#tail-F-N catalina.out > nohup.out&------------can also specify the path to the output file& Into the background> Output content to
ChownChown-r MySQL. /usr/localChange the/usr/local/and all of its files and subdirectories to MySQLLs-al * ChgrpChgrp-r mysql/usr/localChange the/usr/local and all files and subdirectories under it to MySQLWays to delete users and groupsAct 1 >
1 diff comparison of two files#diff-y test.txt test.txtAll of the output source and destination files. The left and right two columns.aaaa aaaabbb | BCCC dddNote | Represents two different rows in a file> indicates that the line
Space or ctrl+f forward one screen ctrl+b back one screenEnter forward line/string finding pages that contain string strings? string Ibid. N Same-direction lookupN Reverse Lookup= Current line numberCtrl+u file Move up half screen Ctrl d moving half
Dmidecode is used to view device hardware information, including device model,BIOS, System, motherboard, processor, memory, cache details, and more. Common parameters:# dmidecode-hUsage:dmidecode [OPTIONS]Options are:-D,--dev-mem file Read memory
-n ..... --line-numbers use lines NUMBERS. Displays line numbers. -m- m ... . --long-prompt --long-prompt Set prompt style. The percentage of the read file, line number, and total number of rows. q : Q- q :
Linux Command ls, linuxls
What?
List contents of a directory
How?
Ls [-ABCFGHLOPRSTUW @ abcdefghiklmnopqrstuwx1] [file...]
Points -- Common Parameters
Ls-l displays detailed information about the directory file [linux File Attributes]
Ls-t sort by
Install the vsftpd server in Centos 6.5 and centosvsftpd1. Check whether vsftp is installed.
[Root @ localhost ~] # Rpm-qa | grep vsftpd
IfVsftpd-2.2.2-13.el6_6.1.x86_64Vsftp has been installed.
If no fields such as vsftpd appear, perform step 2;
2.
Detailed explanation of VMware networking after Minimal installation of CentOS Minimal
Recently I want to create a mailman email list, and I don't want to experiment on my commonly used CentOS 6.4. I am afraid it will damage the environment. So I
Linux software installation
. Deb is the ubuntu and debian formats;. rpm is the redhat, fedora, and suse formats. They are not common.Yum
Yum (all called Yellow dog Updater, Modified) is a Shell front-end Package Manager in Fedora, RedHat, and
Cat commands use linux redirection to merge files
Take a look at the document:
[doctor @ localhost Documents] $ cat -- help usage: cat [Option]... [file]... output A [file] or a combination of standard input to standard output. -A, -- show-all
The beauty of Java [from cainiao to expert drills] the use of vi and vim editors in LinuxAuthor: erqingPersonal site: zhangerqing.cn mail: xtfggef@gmail.com Weibo: http://weibo.com/xtfggef
Vi is a commonly used text editor in linux. Basically, all
Linux commands-more
When we use linux/unix, we often need to view the file content or log. Normally, we will choose the cat command, but sometimes our file is too long to go beyond a screen, in this way, it is inconvenient to view the above
Enable the rewrite module for Apache in ubuntu
Enable rewrite Module
Sudo a2enmod rewrite
In the/etc/apache2 directory, the options are "mod-available" and "mod-enabled ).
The above command alone is not enough to rewrite the mechanism for
Install go lang in CentOS 6.5)1. Set the system environment variable [plain] view plaincopyprint?
Vi/etc/profile
Add at the end (press the I key to enter the editing status, drag the cursor down, add the following, and then press: wq to save
The CentOS system sends an error message to your frequently used mailbox.Root User TransferWhen an error occurs in the system or an important notification is sent to the root user, let the system automatically forward the email to our usual mailbox,
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service