Linux Basics (ii)Actions related to user groups and permissionsOne, useradd command options:–u: Specifies the UID of the user useradd–u mu #指定mu的UID为100–g: Specifies the group to which the user belongs useradd–g Mark Mu #指定mu的所属群组为mark–d: Specifies
Linux file structure, to see what each file is to use, first use the LS command to see what files.650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M00/8F/7C/wKioL1jg6JeSR8MvAAAdthS-iP4366.png "title=" Ls.png "alt=" Wkiol1jg6jesr8mvaaadths-ip43
Linux major distributions are Debian, Slackware, RedHat. whichDebian:ubuntuKnoppixSlackware:s.u.s.eOpenSuSeRedhat:fedoraCentosWe study mainly in the CENTOS7 version of the main, download link http://isoredirect.centos.org/centos/7/isos/x86_64/CentOS-
1. Upload the extracted filesFiles: Hbase-1.0.1.1-bin.tar2. Change the configuration fileIn the hbase-env.sh,Export java_home=/home/lang/software/jdk1.8.0_121Export Hbase_manages_zk=trueIn the
Linux provides a rich help manual that you do not have to look for when you need to see the parameters of a command, as long as you have a man.You can use man man to see how man is usedThere are several chapters in 1.man:
Code
A ping is a communication protocol that is part of the IP protocol, a portion of the TCP/IP protocol. It can be used to check if the network is able to connect, so it can help us to analyze and determine the network fault. The application format is:
Git is not installed by default in Ubuntu12.04. You need to install it yourself.1. Install Git1.1 Ubuntu12.04Can be installed using the Apt-get mode, or you can download the source code installation "1", we use Apt-git installation here.However, due
---restore content starts---Say you may not believe, we still in the first time Red to move bricks, but now sitting in the classroom learning the big Linux operation and maintenance courses-personal feeling it work is NB Ah!So I learned the IT
1. For loopfor variable in list; DoLoop bodyDoneHow to generate a list:
{1..100}
' SEQ [start number [step length]] End number '
for (EXPR1; expr2; expr3); DoLoop bodyDone2. While loop: for scenes with unknown cycle times, exit
FHS definition: filesystem hierarchy standard, File system hierarchy standard .rootfs: root file system ./boot: the relevant file storage path required for system startup vmlinuz: Kernel file . initrd: disk impression file, a
First, query and automatic mountMount #查询系统中已挂载的设备 Mount -a #根据配置文件/etc/fstab content, automatically mountsSecond, mount the command formatMount [-t file system] [-o Special Options] device file name mount pointThird, mount the CD-ROM1. Set up
Linux system use version:CentOS 6.5what the rescue model does:You can change the root password;Recover hard disk, file system operation;When the system starts, it can only be started by rescue mode;The steps to start the rescue mode are as follows:1,
pwd-----To see your current directory/-----represents the root directoryCD (chage directory)-----switch directoriesLS-----View the files in the current directoryls-l----- Listing Current directory detail file information.. -----to return to the
parameter changed the wrong place, should modify selinux=disabled, but changed to Selinuxtype=disabled,650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M01/8F/76/wKiom1jfF-2jNfD3AAAnOdBXZw4790.png "title=" 111. PNG "alt="
Variable: A memory space for storing information such as characters, numbers, and so on.Array:How to declare an array:Assignment Method 1:Aa[0]=jerryAa[1]=tomAa[3]=wendyAa[6]=natashaAssignment Method 2:Aa= (Jerry "Tom Obama" Wendy Natasha)Aa=
Common centos commands (1) -- system commands and common centos commands
1. systemctl: List running tasks
2. Enable systemctl start *. service
3. Disable systemctl stop *. service
4. systemctl restart *. service restart a service
5. systemctl
006day -- linux basic rpm and yum usage and source code installation, 006day -- linuxyum
I. Introduction to rpm-related commands
1. view all files in CD
2. Use rpm to install an rpm package named vsftpd
3. rpm-qi software package name (View
Pwnable bof, pwnable
Http://www.pwnable.kr/play.php
The binary file and source code are provided. view the source code:
# Include # include # include void func (int key) {char overflowme [32]; printf ("overflow me:"); gets (overflowme); //
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