be written (write)x indicates that the file can be executed (if it is a program)Where: Rwx can also be replaced by numbersR------------4W-----------2X------------1-------------0Let's go:Represents the Add permission-Indicates delete permission= indicates a permission to make it uniqueWhen we all understand the above, then we often have some of the following permissions are easy to understand:-RW-------(600) Only the owner has read and write permissions-rw-r--r--(644) Only the owner has read and
Welcome to: Ruchunli's work notes, learning is a faith that allows time to test the strength of persistence.
Kafka The main shell scripts are[[Emailprotected]kafka0.8.2.1]$ll Total 80-rwxr-xr-x1hadoophadoop 9432015-02-27kafka-console-consumer.sh-rwxr-xr-x1hadoophadoop 9422015-02-27kafka-console-producer.sh-rwxr-xr-x1hadoophadoop870 2015-02-27kafka-consumer-
.
Execute Configure
[Vagrant@rs-1 mysqli]$./configure--with-php-config=/usr/local/bin/php-config--with-mysqli=/usr/bin/mysql_config
Compiling the installation
[Vagrant@rs-1 mysqli]$ sudo make sudo make install
This time you will find that the/usr/local/include/php/ext directory has more than MYSQLI modules
[Root@rs-1 ext]# LL
Total 152
Drwxr-xr-x 3 root root 4096 May 9 05:09 date
Drwxr-xr-x 2 root
file to a directory in the following way, usually mounted to/media/cdrom:Mount-t iso9660-o loop/root/CentOS-6.4-x86_64-bin-DVD1.iso/media/cdrom/(2) install and start the vsftpd service.The vsftpd service is not installed by default because the installation of my server is minimized. Enter the mounted directory here. Use rpm-ivh to install the vsftpd service.[Root@centos6centos6.4] # cd/media/cdrom/[Root @ centos6cdrom] # llTotal usage 676-R -- 2 root root14 March 6 2013 CentOS_BuildTagDr-
lot of files under/etc/, we need to wait a while.[Email protected] ~]# ls/testdir/bakup2016-08-01Results to meet the requirements, the following explanation of the use of the CP three options, the requirement is that all files in the/etc directory should be backed up first, so you need to use the recursive option-R, which requires the backup process to be visible, and then plus-V, as for-D is to keep the backup file and the source file consistency, Although not explicitly required, but plus-D l
.
NBSP;10, find/oldboy all 7 days ago with the olg end of the heavy rain 1M file moved to/tmp * * * * * * * * * * * * * *: [[emailprotected] oldboy]# LS-LH first simulation of files larger than 1M, View the maximum number of files closest to the current file. Total dosage 624k-rw-r--r--1 root root 596K November 13:34 456.log This is the closest drwxr-xr-x 3 root root 4.0K November 06:27 ext-rw-r--r--1 ro OT root 0 November 06:27 jeacendrwxr-
standard, the difference is actually limited!catalog tree (directory trees)In addition, under Linux, all files and directories are started by the root directory! That's the source of all the directories and files ~ and then one branch down, a bit like a twig ~ so we also call this directory configuration: "Directory tree" What is the directory tree feature? His main features are:
The starting point of the directory tree is the root directory (/, root);
Each directory can not only u
1 Mv/usr/bin/python/usr/bin/python.bak2 vim ' which Yum ' modifies the interpreter into what MV after the Python name, here is the MV into the/usr/bin/python.bak reference belowNote PIP3Ext.: https://www.cnblogs.com/stonehe/p/7944366.htmlPreparation environment: CentOS6.8 Machine1. View the default Python version of the machine[email protected] ~]# python-2.6. 6whereis pythonpython:/usr/bin/python/usr/bin/python2. 6/usr/lib/python2. 6/usr/lib64/python2. 6/usr/local/bin/python/usr/include/pytho
actually limited!catalog tree (directory trees)In addition, under Linux, all files and directories are started by the root directory! That's the source of all the directories and files ~ and then one branch down, a bit like a twig ~ so we also call this directory configuration: "Directory tree" What is the directory tree feature? His main features are:
The starting point of the directory tree is the root directory (/, root);
Each directory can not only use the local-side partition
/****************************************************************************** * BuildRoot Linux FileSystem * Statement: * In their own file system when the discovery of this buildroot, can be used to directly do file system, so * download their own compiled a bit, found that this is true, so simply try it, first see how the effect. * 2016-2-1 Shenzhen Nanshan Ping Shan village Zengjianfeng **************************************************** *************************/First, reference documents
)
0 means protocol (IP protocol)
Use Socket_desc to refer to the pipe file, which is the same as the file descriptor, and then use the system function read () and write () to read and write data from the pipe file separately.Catalog FilesThis is a special file that can contain both ordinary files and other special files, which are hierarchically organized in the Linux file system starting from the root (/) directory.List the directory files under a directory:Output Example:Drwxr-
) devpts on/dev/pts type devpts (rw,gi d=5,mode=620) Tmpfs on/dev/shm type Tmpfs (rw,rootcontext= "System_u:object_r:tmpfs_t:s0")/dev/sda1 on/boot type EXT4 ( RW)/dev/mapper/vg_magine356wj-lv_home on/home type EXT4 (rw) None On/proc/sys/fs/binfmt_misc type Binfmt_misc (rw) Sunrpc on/var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)/dev/mapper/myvg-mydata on/mydata type EXT4 (rw)#新建用户mysql, and modify the relevant file corresponding to the main genus Group[[email protected] ~]# useradd-r mysql[[email p
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.