Learn about Linux together

Open SourceCommunityLupa provides a lab for Linux beginners to remotely connect to the lab.lupa.cn server through SSH, and then learn some basic Linux commands. Server InformationLogon address: lab.lupa.cnUser name: LabPassword: LabRecommended

Install stardict in Linux

I installed it once before. This time the system was reinstalled and I forgot to save the dictionary. Because the address of the original project has been stopped and the dictionary is not easy to find, it is now sorted as follows for your reference.

View the remaining disk space and folder size in Linux

DF command is Linux The system views the file system by disk partition. You can add parameters to view the remaining disk space. Command Format:DF-Hl Display format: File System capacity used available % mount pointFilesystem size used avail use %

Common knowledge about Linux Network Configuration

IfconfigView the IP configuration of the Local Machine Ifconfig eth0 (Note: Corresponding Nic name) new IP netmask 255.255.255.0/Etc/rc. d/init. d/network restart Restart serviceMethod 1 for modifying the IP address of the Local Machine Directly

Linux Kernel System Call

Linux Kernel System Call   1. ApplicationProgramProgramming through APIS rather than directly calling system calls;   2. getpid () System Call example: Asmlinkage long sys_getpid (void) { Return Current-> tgid; } The asmlinkage

In Linux, view all sub-processes and threads of a process.

Obtain the PID of the process:PS-Ef | grep process_name | grep-V "grep" | awk '{print $2 }' View All threads of a process# Ps MP 6648-O thread, tidUSER % CPU pri SCNT wchan user system tidRoot 0.0 ------Root 0.0 24--6648Root 0.0 21--6650Root 1.0 24

Modify the swappiness of Linux swap space to reduce the hard disk cache.

Linux uses part of the hard disk as the swap partition for process scheduling-the process is running.Program-- Change unused processes to 'wait (standby') 'or even 'sleep (sleep)', and then 'Active )', sleep processes lie down in the SWAp partition

Obtain the MAC address source code of the NIC. Currently, Windows/Linux systems are supported to obtain the physical (MAC) Address of the NIC.

forlinux (); break; Case "Solaris": break; Case "Unix": break; Case "Aix": break; default: $ this-> forwindows (); break;} $ temp_array = array (); foreach ($ this-> return_array as $ v Alue) {If (preg_match ("/[0-9a-f] [0-9a-f] [:-]". "[0-9a-f] [0-9

Arch Linux virtualbox 4.2.0 installation Memorandum

Step 1: Install the basic system $ Sudo Pacman-s -- needed dkms QT virtualbox-iso-Additions$ Sudo gpasswd-A 'whoam' vboxusers$ Sudo Vim/etc/rc. conf(Add dkms to daemons)$ Sudo Vim/etc/modules-load.d/virtualbox. confVboxdrvVboxnetfltStep 2: Install

Installation and configuration of Linux NFS server

I. Introduction to the NFS service NFS is short for network file system, that is, Network File System. An agreement for the use of distributed file systems, developed by Sun, was published on April 9, 1984. The function is to allow different

Ubuntu10.10 (Linux) Installation of jdk1.6 and environment variable settings [reprinted]

Address: http://javaangle.blog.163.com/blog/static/1079330652010111374551387/ 1. Test EnvironmentUbuntu10.10/jdk1.6u212. Installation Process2.1 Download the JDK Installation File. Download the bin format here.2.2 copy the installation file to/home/

Makefile in Linux

MakefileFileMakeCommand execution.This file contains a compilation rule for the project. Compile the file first.IDEYou can do this by yourself. Here is a brief introduction. Details:Http://www.chinaunix.net/old_jh/23/408225.html Rule: Target:

File Types named in different colors in Linux

Blue file ---------- directory White file ---------- general files, such as text files, configuration files, source code files, etc. Light blue file ---------- link file, mainly the file created by using the ln command Green file ----------

Linux end nginx with PID File

ArticleDirectory What is a PID file? Nginx default PID File Modify the PID in the configuration file Stop nginx with PID File Reload the configuration file with the PID File The following command is generally used to

A simple tourial for Linux 2.6.24 kernel module

Author: Charles Yang Linux Dist: Ubuntu 8.04 hard 1. Preparation 1.1 download source code with apporiate version Usually, the Linux release distribution have no full kernel source code tree. So you shoshould get a copy of kernel source

Linux restart command

---- Linux restart command ---- 1. Shutdown2. poweroff3. init4. Reboot5. Halt * --- Description --- ShutdownRebootIn Linux, some common shutdown/restart Commands include shutdown, halt, reboot, and init, which can be used to restart the system.

Description of TOP command parameters in Linux

Description of TOP command parameters in Linux The top command is a common performance analysis tool in Linux. It can display the resource usage of various processes in the system in real time, similar to the Windows Task Manager. The following

Linux script writing Basics

Linux Shell script I recently learned about Linux shell scripts, found a basic document, and transferred it for later use.1. Linux script compiling Basics1.1 Basic syntax IntroductionStart with 1.1.1The program must

Linux cache cleanup

Clear free cache by modifying drop_caches of Proc System$ Echo 3>/proc/sys/Vm/drop_caches Drop_caches detailed documentation is as follows:Writing to this will cause the kernel to drop clean caches, dentries and inodes from memory, causing that

Linux Kernel Introduction

In Linux, everything is a file, so that data and devices can be operated through the same system call interface.   The running status of the processor can be divided: Running in the kernel state and in the process context indicates that a process

Total Pages: 5467 1 .... 4799 4800 4801 4802 4803 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.