Get to one of the tricks of GDB debugging program under Linux today and share it with you! Usually we use the GCC programming, the program debugging, the observation program jumps and so on is not so intuitive. It's all in the interface!But if we
1. DU-SM * | Sort-n the current directory of files (or directories) sorted by size, to see which places occupy the most;2. PWD Gets the current directory path3. tail-f $file _path Display the last few lines of the file4. pgrep $process _name get
11. System Recovery ***********# #系统启动流程 # #Power||BIOS (in read-only storage on the motherboard, basic input or output system)function, hardware detection, activation hardware||Grub System boot (grub boot divided into two stages)1) Stage 1 MBR
(1) Modify the system time.There are two Linux system clocks, one is the hardware clock, that is, the BIOS time, which is the time we see in CMOS setup, and the other is the system clock, which is the kernel time of the Linux system. When Linux
What is GrubGNU GRUB is a multi-os boot manager. GNU grub is derived from grub (GRand Unified Bootloader). GRUB was originally designed and applied by Erich Stefan Boleyn;The system Boot Manager, is the first program to run after the computer starts,
1. CDCD ~ Username: commands are used to switch directories or to switch the user's home directory.[Email protected] ~]# CD ~123[Email protected] 123]# pwd #查看当前路径/home/123A user's home directory is a folder created for a specific user who has
1 sed, also known as the stream editor, reads rows from the text file into the middle of the pattern space, edits the rows that match the editing criteria, and outputs them to the monitor. The default sed does not edit the original file to handle
> is directed output to a file, if the file does not exist, create a file, if the file exists, it is emptied; generally, when we back up the cleanup log file, it is this method: first back up the log, and then use ' > ', the log file is emptied (the
Interrupt mode under Linux Read key driver//include external interrupt hibernate join poll mechanism//Use asynchronous notification method //driver---> App receive (via Kill_fasync ()// To enable the device to support the asynchronous notification
Sometimes we need the Linux system to automatically load some scripts or system services when booting upThis is done in three main ways:Ln-s a soft link to the/etc/init.d/service in the/ETC/RC.D/RC*.D directory (* represents one of the 0~6 seven
grep searches the text file according to the pattern and displays the line conforming to the pattern. grep [options] mode fileOption-I ignore case ignores character capitalization--colour the character to be matched with a color marker-O displays
Working for two or three years, every day with Linux, but often use the Linux command is like a pen to forget how to use, often look up manuals or to find information online. This series of articles is primarily designed to make it easy for you to
ObjectiveAccelerate the creation of Hadoop or spark clusters in two ways: clone or Copy . In fact, I recently returned to write this blog post, to clarify the idea.For example, you install a virtual machine in one of your computers. A Hadoop or
Linux is almost ubiquitous, whether it is server building or client development, and the basic skills of the operating system are essential to the full stack.Selection of the systemLinux distributions can be broadly divided into two categories, one
1. Text Processing command and tar command1) Merge user information database files and group information database files vertically into one file/1.txt (overwrite)Cat/etc/passwd/etc/group >1.txt2) Merge user information database files and user
Judging the system loadThe 1.uptime command, the three number of load average, represents the average number of processes for 1 minutes, 5 minutes, and 15 minutes, respectively.If you continue to read the manual, it will also tell you that when the
RPM is a package management method developed by Red Hat, which allows us to install, query, uninstall and upgrade the software conveniently. However, the dependencies between RPM packages are often cumbersome, especially when the software is made up
Objective:Python3 should be the trend of Python, of course, the current controversy is relatively large, the main purpose of this essay is to record the process of building python3 environment under linux6.4And the problems encountered and the
I downloaded the tar jar package, not rpm,rpm. The goal is to allow Windows to share folders for Linux systems1. Go to the source folder;2../configure->make->make Install3. In/etc/ld.so.config, add "usr/local/samb/lib", the purpose is to sambar at
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