2017-2018-1 20179219 "Linux kernel Principles and design" Seventh week assignment

First, the experimental operationUsing GDB to track the process of creating a new processFirst remove the menu folder and re-clone a new menu from GitHub, replacing test.c with TEST_FORK.CAfter compiling, start menuos and find the command fork that

Linux shutdown (restart) command

Linux System shutdown Command:#关机命令1.halt2.poweroff3.shutdown-h now shuts down immediately (with root access for users)#重启命令1.reboot2.shutdown-r now restart immediately (with root user access)Shutdown syntaxShutdown [OPTION ...] [TIME] [WALL

Linux notes (1)

su-root; Switch to AdministratorExit quit current AccountInit 0 Shutdown SystemInit 6 RestartShutdown-h immediately shut down the machineWho's Landing terminal?WhoAmI Current account NameDate 031511112011 change time to March 15, 2011 11:11Cal

Configuration and use of Doxygen under Linux

In a large program, it is important to have a good comment on your own program, to read and maintain your program, especially when writing a package. Others recommended Doxygen to comment on the program, their own use of the next feeling is very

The grep, cut of the Linux command

Input:ifconfig eth0The eth0 represents the first NIC of the host.Output:eth0:flags=4163 MTU theinet192.168.118.136Netmask255.255.255.0Broadcast192.168.118.255Inet6 fe80::20c:29ff:fe2c:3c8f Prefixlen -ScopeID0x20etherxx: 0c: in: 2c:3c:8f Txqueuelen +(

Common commands for Linux systems

# uname-a #查看内核/operating system/CPU information#hostname #查看计算机名#env #查看环境变量#free-M #查看内存使用量和交换区使用量#df-H #查看各分区使用情况#du-sh #查看指定目录大小#grep Memtotal/proc/meminfo #查看内存总量#grep Memfree/proc/meminfo #查看空闲内存总量#uptime #查看系统运行时间/Number of

Linux platform based on NAT mode for LVS construction

One: Nat mode workflowVs-nat: Virtual Server via NAT A virtual server based on address translation650) this.width=650; "src=" Https://s1.51cto.com/oss/201711/10/b36c55cd463432955c35c771874bf339.png "title=" Image [ 6].png "alt=" B36c55cd463432955c35

Linux installation Project Lemon Evaluation Machine

(Write down spare)Machine: Xubuntu 16.04 LTS1. Download lemonGitHub Address: Https://github.com/Sojiv/Project_lemonThis download zip is good.2. InstallationThe readme.md written is the current directory compilation method, equivalent to do a

commands for viewing the contents of a file under Linux

Commands to view the contents of a file:Cat starts displaying content from the first line and outputs all contentThe TAC displays the contents in reverse from the last line and outputs all the contentMore according to the window size, one page of

Linux function library uses

The Library of program functions can be divided into 3 types: static function library (libraries), shared function library (GKFX libraries) and dynamic load function library (dynamically loaded libraries)The static function library is added to the

Summary of Common Linux commands

Common commandsLS Display file or directory-l list File details L (list)-a lists all files and directories under the current directory, including Hidden A (all)mkdir Creating a Directory-P Create directory, if no parent directory, create p

LINUX Yum Online package management

01:ip address configuration =Setup graphical interface ConfigurationVi/etc/sysconfig/network-scripts/ifcfg-eth0Service Network restart02: Test If you can get on the public network: Ping www.baidu.com03: Go in the yum command directory: = =

Linux Enterprise Face test

The following string is known to be the result of MD5 sum|sut-c 1-8 after random number variablesWould you please decipher the random numbers corresponding to the md5sum of these strings?2102929900205d1ca3da16771f6d12dd890684dAnswer:#!/bin/bashmima=

Linux File System Model

Disclaimer: This article is limited to cnblogs release, other third-party websites are pirated, original address: Linux file system Model In the Linux environment have experienced some students may encounter a problem, the problem is to insert a

Linux command line shortcut keys

Involves fast cursor movement under the Linux command line, command editing, post-editing execution history commands, Bang (!) commands, control commands, and so on. Make basher more efficient.Common Ctrl+key around: jump between words Ctrl+A: Jump

"One Linux command per day" awk

awk: Remove the specified character#"-F ': '" will look up the content to: Split#the nth value is printed after the "{print $}" split (All)CAT/ETC/PASSWD |awk-f':' '{print $}'#"End{print $}" is separated by a space, printing out the last line of all

Several special directories for accounts in Linux

Several special directories for accounts in LinuxSome of the special directories described below are special directories that operate on file permissions. I'll introduce the file permissions in the next article, which describes these several

Linux Tuning maximum file open number

vim/etc/security/limits.conf Add the following content* Soft Nofile 65535* Hard Nofile 65535and add boot bootVim/etc/rc.localUlimit-shn 65535Under Nginx process Check maximum file open number script#!/bin/bashFor PID in ' PS aux | grep Nginx |

Springboot Linux Boot Mode

Original: https://www.cnblogs.com/woms/p/6145688.htmlFront startJava-jar Xxx.jarBackground bootJava-jar Xxx.jar &Difference: The foreground starts CTRL + C will close the program, background boot CTRL + C will not close the programSet standard

CentOS7 use firewalld to open and close the firewall and port, centos7firewalld

CentOS7 use firewalld to open and close the firewall and port, centos7firewalld1. Basic use of firewalld start: systemctl start firewalld view status: systemctl status firewalld stop: systemctl disable firewalld disable: systemctl stop firewalld 2.

Total Pages: 5467 1 .... 2960 2961 2962 2963 2964 .... 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.