Linux Command streamlining tutorial

Linux VI: vi a. Java; I; ESC;:; WQ/Q! ; Grep (search in text, find is the search file, and history shows the CMD you executed) File class: Pwd; LS; mkdir/rmdir; touch (create an empty file ); CP = copy; more/less (displayed by PAGE); CD; Path

How to view services and ports in Linux

Q: How can I find out which service is listening on a specific port? How can I find one?ProgramListening on a specific port? A: In * nix, you can use any of the following commands to obtain a list of listeners on a specific TCP port. Lsof: Lists

Linux modification time

Linux time zone and time modificationModify the time zone:1>Find the corresponding time zone file/usr/share/zoneinfo/Asia/ShanghaiReplace the current/etc/localtime file with this file.Or find the server that you think is the standard time, and then#

Linux over the intranet using SSH is slow

The common solution to this problem on the internet is (mainly to modify the configuration file/etc/ssh/sshd_config ):     My system is centos 5.3, SSH connection is very slow, it is Intranet, It is very slow and unbearable, basically it takes

Linux releases memory

Careful friends will notice that when you areLinuxAfter files are frequently accessed, the physical memory will soon be used up. When the program ends, the memory will not be released normally, but will always be used as caching. it seems that many

[Sorting] commands for finding and terminating processes in Linux

1. Search for processes PS is the command used to view processes in Linux: [Syntax]: PS [-EFL] [-T grouping table] [-u User table] [-G group table][Note]: displays the status of related processes. 1) pS A shows all programs under the current

Zip encryption and compression in Linux

# Zip-rp abc #123 test.zip test.txt -P abc #123 is the encrypted password. -R recursion: all files and subdirectories in the specified directory are processed together.Test.zip is the generated compressed file.Test.txt is the compressed file. Zip

LVS (Linux virtual server) three load balancing models and a brief introduction to ten types of scheduling

    LVS (Linux virtual server) Linux virtual server (LVS) is designed to meet the needs of highly scalable and highly available network services. It provides a load balancing scheduling solution based on the IP layer and content request distribution,

Functions of kconfig in Linux Kernel

Functions of kconfig in Linux Kernel 2.6 The source code tree directory of the kernel generally contains two texts: kconfig and makefile. Kconfig distributed in various directories forms a distributed Kernel configuration database. Each kconfig

Add an HP5500 printer in Linux

Transferred from "Cu ": 1. Su -Root: Enter the root password. 2. type the REDHAT-CONFIG-PRINTER, press enter, and appear (figure 1) If you configure it for the first time, the following box will be blank, without this default printer. 3. Click "new"

About the use of dot-slash in commands (use of the dot slash in Linux)

  The combination of a dot followed directly by a forward slash (. /) is often used to precede commands in Linux and other UNIX-like operating systems. although this requirement can seem confusing and even tedious to new users, it exists for good

Linux Chat Server Development

Due to work needs, we have recently developed such a server-side program. Strictly speaking, this program is not a server program for normal chat. It is a Broadcast Server processor in a game system. However, you only need to make some modifications

SCP usage in Linux

SCP usage in Linux SCP is secure copy, a command used to remotely copy files in Linux. Sometimes we need to obtain a file on the remote server. This server is neither configured with an FTP server nor shared. When files cannot be obtained through

Development of Linux programmers

Various IT companies recruit Linux programmers. There are three links: 1. network:. system Administrator; B. web development engineer; 2. embedded Development: mainly development of mobile phones and development of video devices and other electronic

Linux memory mapping-MMAP kernel 2.6

In recent days, a project needs to share memory between the user layer and the kernel. In the previous blogs, we found kernel2.4. The pain points of change during implementation. Only the kernel source code can be handled. Later on this site (http://

Read and Write files in Linux Kernel

# Include # Include # Include # Include # Include # Include # Include # Include # Include # Define my_file "/root/logfile" Char Buf [128];Struct file * file = NULL; Static int _ init Init (void){Mm_segment_t old_fs;Printk ("Hello, I'm the

Linux Kernel network and data transmission Flowchart

4.2 Data Transmission Flowchart Description of main functions and locations of each layer: 1) sock_write: Initialize msghdr {} structure net/socket. C 2) sock_sendmsg: net/socket. C 3) inet_sendmsg: net/IPv4/af_net.c 4) tcp_sendmsg: Apply for a

Linux Kernel network and data receiving Flowchart

4.3 Data receiving Flowchart Description of main functions and positions of each layer: 1) sock_read: Initialize msghdr {}'s structure type variable MSG, and pass the address of the data to be received to MSG. msg_iov-> iov_base. net/socket. C 2)

Waiting queue in Linux kernel-init_waitqueue_head

Waiting queue in Linux KernelThe waiting queue of Linux kernel is based on the double-loop linked list and closely integrates with the process scheduling mechanism to implement the core asynchronous event notification mechanism. In linux2.4.21, the

Linux awk command usage

Address: http://madbluesky.iteye.com/blog/738337 Linux awk command details  Awk Introduction0. awk has three different versions: awk, nawk, and gawk. It is generally gawk.1. The most basic function of the awk language is to extract information based

Total Pages: 5467 1 .... 3455 3456 3457 3458 3459 .... 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.