The basic structure of the Linux file system

Linux File System architectureLearn about the architecture of the Linux file system by following two images.Current working directoryPractice:File nameThese rules apply not only to files, but also to folders.Practice:ls commandThe LS command

Linux compression commands

bz2

. zip Format compressionZip compressed file name source files compressed filesZip-r compressed file name source directory #压缩目录. zip Format DecompressionUnzip compressed Files #解压缩. gz format CompressionGzip source files #压缩为. gz compressed file,

"Linux Foundation" vsftpd+ Local user authentication

1. Modify the configuration file[Email protected] ~]#

Several methods of Linux emptying files

1. emptying files with overwrite redirection650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M01/9D/5D/wKiom1l-56jwVH1gAAA_x2gj5j8537.png "title=" 01. PNG "alt=" Wkiom1l-56jwvh1gaaa_x2gj5j8537.png "/>2. Clear the file with the echo command +

Linux mount operation

1, call: From the user state into the kernel state:Syscall_define5 (Mount, Char __user *, Dev_name, Char __user *, Dir_name,char __user *, type, unsigned long, flags, void __ User *, data) {int Ret;char *kernel_type;struct filename *kernel_dir;char *

Linux Common Commands 3

Command Description: Copy File command: CP 4.txt 5.txt650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M01/9D/53/wKioL1l-jWazLcBlAAASvq1TuLI788.png-wh_500x0-wm_ 3-wmp_4-s_2647667583.png "title=" 1.png "alt=" Wkiol1l-jwazlcblaaasvq1tuli788.png-

Hands-on Linux VLAN

In this section we look at how to implement and configure the following VLAN networks in an experimental environmentConfigure VLANsEdit/etc/network/interfaces, configure eth0.10, Brvlan10, eth0.20, and Brvlan20.The following shows the modification

Linux Classroom Essay-day eighth

viewing system process InformationPS Viewing system process informationall Ps-efPs-fuPID PPIDIdentify Processes   parent process (create) Tree ProcessTop Displays the process being executedUsed already use space free How much is leftMpQ

Linux Boot prompt Information script

Linux boot cue information script #!/bin/sh############################################################## filename:     motd.sh# Revision:    1.1# Date:         2017/07/28# Author:      doublelinux# Website:      doublelinux.blog.51cto.com###########

Linux Setup Boot interface mode

Centos7 view/etc/inittab as follows:' Targets ' instead of runlevels. # By default, there is both main targets:## multi 3 5# to view current default target, run:# systemctl get-default## to set a default target, run:# Systemctl set-default

Interrupt handling methods in Linux

1: Interrupt processing is a few points to note(1) in an interrupt context, you cannot interact with user spatial data, that is, you cannot use Copy_to_user () and Copy_from_user (). (2) Interrupt context, cannot hand over the CPU (cannot hibernate,

Linux commands (3) Top

1. RoleDynamic viewing of process changes, often used to find the process that consumes the most CPU resources.2. UsageTop "Parameters"Parameters:-D: The number of seconds after which the entire process interface is updated. The default is 5 seconds;

Set up tomcat boot on Linux

1. Enter/ETC/RC.D/INIT.D, create a new file Tomcat, and make it executable chmod 755 Tomcat.[Email protected]/]# cd/etc/rc.d/Init.d[[email protected]-3C46 init.d]#VItomcat#!/bin/bash##/etc/rc.d/init.d/tomcat# init script forTomcat precesses##

Linux Bash leverages judgment

1. Test function using the tests command$ test-e Hello. SH Echo " OK " Echo " No " OK2. First, judge, let the user enter a file name, we judge: If this file exists, give a "Filename does not exist" message if it does not exist, and

Linux temporarily or temporarily modifies DNS

1, temporarily modify the network card DNS addresssudo vim/etc/resolv.confChange to the following content:NameServer 8.8.8.8 #修改成你的主DNSnameserver 8.8.4.4 #修改成你的备用DNSsearch localhost #你的域名I used the Google DNS resolution server, Modified: Wq exit,

Linux Basic command SED

Sed (stream editor) Linux Three Musketeers, stream editor, to achieve the deletion of files and replace the searchParameter-n cancels the default output-I modify Content-E allows multiple edits, p printingSed-n ' $ ' p ett,txt $ is the meaning of

Linux User Management

Add userUseradd or AddUser. Actually AddUser is a soft connection of useradd. Take Useradd as an example, with the usage of useradd [option] USERNAME1 [[email protected] ~]# ll 'which adduser '217 May 26 £/usr/sbin/adduser -Useradd-u Specifies

The process under Linux

I. The basis of the process:1, program : Program is a number of stored on the disk of the order of the set of instructions;2, process : Process is a process of implementation of the program;3, the relationship between process and procedure : ①, the

SCP error: WARNING: remote host identification has changed !, Scpidentification

SCP error: WARNING: remote host identification has changed !, Scpidentification After google, the cause of this problem is that this is an ssh problem, said GkFool (the first time I used an SSH connection, an authentication will be generated

Create a shared folder in Linux.

Create a shared folder in Linux. 1. view the ip address ifconifg; 2. Check whether the samba server is installed. rpm-qa | grep samba; 3. If the server exists, start service smb start; otherwise, install yum install samba; Samba-3.0.21b-2 // if this

Total Pages: 5467 1 .... 4917 4918 4919 4920 4921 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.