One, grub corruptionEnter " rescue mode " and repair grub See blog http://9124573.blog.51cto.com/9114573/1711950Second, bash corruptionGo to rescue mode Reload Bash packWay One:① Switch root environment:chroot /mnt/sysimage/bin/tcsh② Mount system CD:
More commands, similar functionsCat, the Cat command is the contents of the entire file displayed on the screen from top to bottom. More will be a page-by-page display to facilitate users to read pages, and the most basic instruction is to press the
1, installation CobblerCobbler can be manually compiled or installed based on Yum source, if you install with Yum source, you will need to configure the Epel source Epel source to download the directory of the Epel source on the official website.
1. Create a new folder:mkdir folder2. Modify the folder or file name:MV Main.cpp hello.c3, vi Display line number::Set nu4, decompression. GZ and compressionTar zxvf FileName.tar.gzTar zcvf FileName.tar.gz DirName5. Installation programsudo apt-get
we often find a file in Linux, but do not know where to put it, you can use some of the following commands to search:whichView the location of the executable file. WhereisView the location of the file. LocateView the file location with the database.
Linux as the operating system of course, and Windows is to be set up on the basis of hardware, so the hardware configuration information for us is also sure to understand, the following is the centos/redhat inside the command to view the hardware
2015-11-18du -ch--max-depth=1 ./Example[Email protected] ~]#du-ch--max-depth=1/4.0K/srv27m/lib647.7G/swapadd409m/Dev4.0K/Cgroup0/misc37m/etc4.0K/Media4.0K/. Pulse0/SYSdu: Cannot access '/proc/46542/task/46542/fd/4': No Such file or directorydu:
Introduced:
Like FAT has file attributes (documents, System files, hidden), the Gnu/linux file system has its own file attributes, but there are some differences. Unlike Windows systems, every file in a Linux system has a lot more attributes
DescriptionIn the development of Linux system, it is often used to implement the asynchronous notification mechanism. And in the Linux system, there are many kinds of signals, do not have to remember all, learn several common signals, learn to use,
Linux system startup process brief1, power-on self-test, the initialization of hardware.2, enter the BIOS, look for boot media, the initial installation of Linux system is usually CD-ROM or USB drive boot, installed Linux system selected local HDD
Virtual memory Model
L The Inux kernel itself is not running in virtual space, it uses physical addressing mode.
Physical memory is divided into interfaces, and the size of a memory page is determined by the Page_size macro.
The way
I am Linux small white, because the project in contact with Linux soon, the collection of some common Linux commands, hope to be useful to the later.--List the top 100 files in the/var/data directory by a-Z alphabetical orderLs/var/data |sort|head-10
Shutting down the firewallSelinux=disabledCan be in three different states# Enforcing -SELinux security policy is enforced. Open# Permissive -SELinux prints warnings instead of enforcing. Open do not intercept# Disabled -No SELinux policy is loaded.
Wc-print newline, Word, and byte counts for each filePrint the number of lines, characters, and bytes for a fileParameters:-L only List travel-W lists only how many words (English word)-m number of characters-B How many bytes-L print the longest
1. Under Ubuntu View Windows disk information, Ctrl + ALT + t open terminal, enter the following command:sudo fdisk-l The information is as follows:[Email protected]:~$ sudo fdisk-l [sudo] password
Shell learning notes and shell scriptsI. variable naming
The variable name must start with a letter or underline and consist of letters, numbers, or underscores. The variable name length cannot exceed 255 characters.Ii. Classification of Variables
1.
. Linux swap partition,. linuxswap Partition
1. The most important role of swap partitioning is to prevent the system from using insufficient memory allocated due to the sudden increase of website traffic.
2. Using swap to swap partitions will
Linux kgdb command and linuxkgdb command
I. Introduction
Kgdb is a source code-level Linux kernel debugger. When using kgdb to debug the kernel, you need to use it with gdb. They can perform single-step debugging on the kernel, set breakpoints, and
Linux Kernel upgradeExample of kernel upgrade: the current system is CentOS Linux release 6.0 (Final), and the kernel version is 2.6.32-71. el6.i686. due to the latest kernel Vulnerability (linux kernel has a memory elevation vulnerability, 2.6.39
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