1. VI Editor
Three modes:Command mode
VI filename
(1.) Positioning:
H: Move one character to the left J: Move down one character K: move one character up L: Move right one character $: moves to end of line 0: moves to the beginning of
Start the VSFTP serverRun under A:cenos: Yum install vsftpdB. After logging into the Linux host, run the command: "Service vsftpd start"C. To allow FTP to start automatically every time, run the command: "Chkconfig--level vsftpd on"2. Set FTP
Reference Blog: https://www.cnblogs.com/linhaifeng/articles/6045600.html1: initial Linux commandRight-click, open Terminal, or Ctrl+alt "F1-f6" to open terminalNormal User Login After the system prompt $;root sign in after the prompt for #;Exit
1. Install Linux2. Write Hello Worldhello.c #include /*Needed by all modules*/#include /*Needed for KERN_* */#include /* Needed for the macros */MODULE_LICENSE("GPL");static int year=2014;static int hello_init(void){ printk(KERN_WARNING "Hello
Buy a new server, you need to manually partition the hard disk mount: (This is CentOS, other versions should also be similar)1. View hard disk with no partition: Fdisk-l The information on the graph shows that the server consists of three hard disk
Just started to learn Linux, sorting out the common commands and shortcut keys, insufficient to add later.directive: #CD: Enter directoryPWD: View your current pathLS: View all subdirectories or sub-files under the current directoryLs-l | LL: View
一:Linux虚拟机的安装1: Check your computer version # #hostnamectl2: Download the required version of the virtual machine from the teacher machine3: Install the virtual machine(1) Virt-manager # #进入安装页面(2)(3)(4)(5)(6)(7)(8)(9)(10)(11)(12)(13)(14)(15)4:
Bash basic features (2) I. Alias of the command (alias)
Alias can simplify the complex commands to improve the efficiency of the work. For example, the "Ls-l" Alias becomes "ll" by default in the system.
Managing Commands with Alias
File Directory Introduction
Bin executable Commands
Boot startup related program: boot→grub→grub.conf timeout Modify start time
Dev device, hardware related information
ETC program, System configuration file
First, Linux common commands
All command operations are performed on the server:
1) Classification
software Operation command : Software installation, uninstall;
server hardware Resources and disk operations : There are
ln LINK/BIN/LN-S Create soft linksln-s [Original file] [link file]Soft linksLn-s/etc/issue/tmp/issue.softHard LinksLn/etc/issue/tmp/issue.hardLs-l/tmp/issue.softlrwxrwxrwx. 1 root root 10 August 05:27 Issue.soft-/etc/issueL means this file is a soft
1. Linux Network model①osi seven-tier model and Linux four-tier model② the relationship between various protocols and their location in the Linux model③ Protocol Encapsulation: Various protocols in a layer-by-layer package relationship(1) Ethernet(2)
1. Basic commandsLS View this directoryll view this directory and display detailed information equal to Ls-lLs-r dirname recursively displays all contents of a directoryPWD View the text of the current file, which is the current pathCd. . Go to
---restore content starts---1. Directories and files1.1 Show current directory pwdFunction: Displays the directory under which it is locatedSpecial: Although bash displays the current directory, not all shells are displayed, and in the OS such as
First, install Tomcat1. Upload the Tomcat installation package to Linux;2. Unzip 2 Tomcat and modify the name separately:1), decompression command: Unzip 2), modify the user name: MV 3, modify the port number of two Tomcat, modify the file: The
Compression
Compression format:gz、bz2、xz、zip、z
Compression algorithms are different, and compression ratios may be different
The ancient compression and decompression method: compress、uncompress , compression is relatively small
The concept of exception in the microcontroller has also been exposed, it means that the CPU can pause the current thing, jump to the exception handler to execute. Previously written MCU bare metal program belongs to the front and rear program, the
Linux firewall iptables (iii)Our previous two articles have introduced iptables more fully, today a iptables on layer 7 practice. We said that Iptables/netfilter work in the kernel space is not support application layer protocol, but such as QQ, MSN,
Moving Windows files to a Linux system adds a newline character to the end of the file line ^mUse the command cat-v tmp.c to see ^m characters behind each lineTo solve this problem, we use the following command: Touch love_tmp.c (first create a
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