command to enter VIVI FileName: Opens or creates a new file and places the cursor at the beginning of the firstVI +n FileName: Opens the file and places the cursor at the beginning of nthVI + FileName: Opens the file and places the cursor at the
Linux 3.4.103 kernel ported to s3c6410 Development BoardThis week is almost in the face, at first it feels very unworthy, transplant this waste of time things, want to immediately fix, and then quiet reading & coding.The thing about the pit daddy is
1. First use switch to root user;2. Use the Fdisk-l command to view the disk information and locate the U disk (depending on the size shown)3. Create a mount point under/mnt, such as creating a USB folder: Mkdir/mnt/usb4. Mount the U-disk with mount,
1. Cat command:function:1) Displays the entire file.Example: $ cat FileName2) Connect the file string to the basic output, such as merging several files into one file or output to the screen.Example: $ cat file1 file2 > fileDescription: Connect the
SYS/TYPES.H: Data type definitionSys/socket.h: Provides socket functions and data structuresNetinet/in.h: Defining Data Structures sockaddr_inArpa/inet.h: provides IP address translation functionsNetdb.h: Provides functions for setting and
1. Before installing, it is best to remove the OPENJDK from Linux:(1) Run java-version, you will find Linux comes with OPENJDK, run Rpm-qa | grep OpenJDK, find the OpenJDK name that comes with it;(2) Run RPM-NODEPS-E openjdk name, delete openjdk;2.
has been learning Linux for 3 months, I have a little feeling.First layer: Learn what Linux is and what you can doSecond tier: Linux Basics revolves around shell scripting and the configuration of a variety of services (people who have studied the
Ldd/path/to/program To find out which libraries a particular executable depends on, you can use the LDD command. This command invokes the dynamic linker to find the library file dependencies of the program. Objdump-p/path/to/program | grep NEEDED
Sentence notation: Find corresponds to the directory -mtime + days-name "file name"-exec rm-rf {} \;Example 1: Place all 10 days before the/usr/local/backups directory with "." The file deletionFind/usr/local/backups -mtime +10-name "* *"-exec RM-RF
DD test io, often used, is used to simply test the read and write performance of a directory.This test environment: your own computer's Ubuntu system ~ Other Unix/linux system can also use DD.TIPS:DD operation need to think twice, make clear confirm
2014-08-19REDIRECT Symbol greater than sign: a command execution result (standard output, or error output, which would otherwise have been printed to the screen) instance of redirecting other output devices (files, open file operators, or printers,
First, user and user group:3 Concepts: File owner (user), group, other person (others)./etc/passwd /etc/shadow /etc/group Second, the concept of file permissions:1. File attributes Drwxr-x---1 root root 4096 sep8 18:27 Install.log①②③④⑤⑥⑦Parameter
CentOS environment variable settings~ /. Bash_profile &&~ /. Bashrc
"/Etc/profile ","~ /. Bash_profile "and other configuration files will be automatically executed.
The execution process is as follows:
When logging on to Linux, first start
Bind multiple IP addresses to a single Nic In CentOS and share one IP address with multiple NICs
In centos, you sometimes need to bind multiple IP addresses to one network card. This article describes the Redhat series (redhat, Fedora Core, Centos)
Python Thread Programming-synchronous queue
We often use two threads in the producer/consumer relationship to process data in a shared buffer. For example, a producer thread accepts user data into a shared buffer and waits for a consumer thread to
Embedded Development (I) Build a cross-compilation environment under Ubuntu12.04, embedded ubuntu12.04
Operating System: Ubuntu12.04 AMD64-bit
Cross-compilation environment: arm-Linux gcc version 4.4.3
Preface:
First, understand the meaning of cross-
Linux introduction and Common commands
Linux composition:
Kernel: it is the heart of the system and the core program for running programs and managing hardware devices such as disks and printers. Shell: A system user interface that provides an
Install jdk correctly on centos
1 first, find the default java installation in centos
Whereis javaWhich java (java execution path)Echo $ JAVA_HOME
Echo $ PATH
2> View and uninstall:
Check if there is any java command: rpm-qa | grep java
Delete if
Disable IP address access for Nginx in CentOS
We will encounter a lot of malicious IP attacks when using it. In this case, we need to use Nginx to prohibit IP Access. Next, let's take a look at the default Nginx VM accessed by the user via IP
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