The following error occurred while formatting a disk partition on Linux
root@debian:~# mkfs.ext4/dev/sdb1
mke2fs 1.41.12 (17-may-2010)
mkfs.ext4:inode_size (128) * Inodes_count (0) Too a
filesystem with 0 blocks, specify higher inode_ratio (-i)
1. First Use Vgscan scan LVM results are as follows
[Root@localhost ~]# Vgscan
Reading all physical volumes. This could take a while ...
Warning:duplicate VG name Volgroup00:existing BGKW70-NEBI-QY6S-RVQU-3A59-N8E1-RUOWWH (created here) takes
For a long time or at the command line using Ifconfig to connect to the network, can only be temporarily replaced by Ifup.
I use ifconfig eth0 down after the first Nic down, in the upper right corner of the connection icon a fork, which means that
allow Uboot to load Linux kernel files in a TFTP way
In the embedded Linux development process often need to download the boot program from the computer uboot, if every time the use of burning to Flash or SD card mode, it is relatively
The Linux operating system supports SMP and also runs multiple processes, how they are scheduled across multiple CPUs, and how load is balanced.
The process decides on which CPU to run at the following time
1. When a process is awakened, such as
Feel some tools even simple also always forget, right when this is Notepad, graffiti.
Linux:
Ros:
1 Ros View image type of topic
Rosrun Image_view Image_view image:=/imagetopic this: = is actually changing the meaning of its built-in topic
Toss a few days, add a few days of classes, keep compiling, and constantly replace the code version. It's finally done. A small function, but let me put the whole system of the base upside down.
Step one: ARM-LINUX-UCLIBC the cross-compilation tool
Experiment request: Implement a remote compiling system
Execution process: The client submits the C language code file, compiles the connection on the server, and returns the result to the client after the server executes the file.
Detail
This book is by the National Red Hat Architect (RHCA) based on the RHEL7 system of high-quality Linux technical self-study Books, each chapter knowledge points from the practice and has a strong consistency, extremely suitable for Linux beginners or
Mac ifconfig View IP addressLinux is case-sensitive1. The LS command is the same as the dir command, which lists all the contents of the folderLs-l display of long-form contentLs-a Show all content, including hidden files, there will be one in front
Gun/linux File Type:1.-: Normal file F2. d:directory Directory file3. B:block device block devices file in blocks, support random access4. C:character device character devices file supports linear access in character unitsMajor number identifies the
NIC Configuration RelatedContos NIC configuration file etc/sysconfig/ifcfg-*Configuration file/etc/hosts (Local host IP address mapping, can have multiple aliases)./etc/services (the corresponding relationship between the port number and the
1. Specify the current user JDK environment variable in zkenv.shExport java_home=/usr/local/src/jdk1.7.0_55/2. Create the zookeeper file under the/etc/rc.d/init.d folderContent:#!/bin/bash#chkconfig:2345 20 90case $1 in start) su root
Classification of regular expressions
Basic Regular Expressions (basic Regular expression also known as basic RegEx abbreviation Bres)
Extended Regular expression (Extended Regular expression also known as Extended RegEx abbreviation Eres)
When working with files under Linux, sometimes we want to empty the contents of the file directly without using any Linux command line editor to open the files. How does that end?1. Clear the contents of the file by redirecting to NULLThe simplest
Du commandDisplays the disk space occupied by the file or directory.Command format:Du [option] File/directory-H output File system partition usage, for example: 10KB,10MB,10GB, etc.-S displays the size of the file or the entire directory, the
Linux system to do the secret, key login to pay attention to a few points:
/ROOT/.SSH Directory permission is 700
SELinux to close
/root/.ssh/authorized_keys file name to write to
File content to paste to
-y openssh-clients Host
one, through the setting of permissions to achieve directory sharingIn Linux, the file permissions can be fully protected by the file owner, or the content can be shared to the users who want to share. The following examples illustrate:1, first
2nd day of Linux Learning (self-study)Time: 20180717DirectoryClassification of terminalsGUI and CLICommand promptFeatures of the Linux file systemLinux command help get a detailed explanationMan document levelBasic features of Linux bashHistory,
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