Linux: Under the signal

in the Linux: On the signal in the blog post we wrote a mysleep, but in fact this function in the multi-threaded environment will be wrong, that is, our mysleep function is not reentrant function,Now re-examine the "mysleep" program and imagine the

Linux Command error

1. find:paths must precede expression[Email protected]/]# Find Find/u01/app/diag/tnslsnr/fossdb/listener/alert-name log_*.xmlFind:paths must precede expressionUsage:find [-h] [-l] [-p] [path ...] [Expression][Email protected]/]#To find data,

Linux command ($): NL command

The NL command is used in a Linux system to calculate the line number of a file. NL can automatically add a line number to the output file content! The default result is a bit different from Cat-n, NL can make the line number more display design,

How to install two Nginx under Linux system

When installing Nginx under Linux, it is common in the./configure phase to require the installation path to be set through prefix. Therefore, when you specify a different prefix in the./configure, you can install multiple nginx.It is worth noting

Linux Epoll Simple Demo

A simple Epoll demo that accepts multiple client connections and converts the received string to uppercase to return to the client1#include 2#include 3#include 4#include 5#include 6 #defineMaxLen 10247 #defineServ_port 80008 #defineMAX_OPEN_FD 10249

Linux Kernel Analysis Course summary () to be perfected

How the first section of the computer works http://www.cnblogs.com/July0207/p/5218597.htmlHow the second section of the operating system works http://www.cnblogs.com/July0207/p/5242103.htmlThe third section constructs a simple Linux system

Linux commands: mkdir command

Example 1: Create an empty directorymkdir testExample 2: Creating Multiple directories recursivelyMkdir-p/home/testExample 3: Create a directory with permissions of 777MKDIR-M 777 TestExample 4: Creating a new directory displays informationMkdir-v

Linux command (+): ln command

Command format:ln [parameter] [source file or directory] [destination file or directory]Necessary parameters:-B Delete, overwrite previously established link-D allows super users to make hard links to directories-F Force Execution-I interactive mode,

Linux system Programming-file IO functions

First, the IOCTL functionThe IOCTL is used to control and configure commands to the device, and some commands also need to read and write some data, but the data cannot be read and written by Read/write, known as out-of-band data. That is,

Linux commands: Find command

1 . command format:Find Pathname-options [-print-exec-ok ...]2 . Command function:Used to locate files in the file tree and to make corresponding processing3 . Command parameters:The directory path that the Pathname:find command looks for. For

Linux commands (1): sed command

Example one:The contents of the Config_file file are as follows: Sed removal Comment line: sed-i-c-e '/^#/d ' Config_file "deletes the specified file with comment lines" Sed to remove empty line: Sed-i-c-e '/^$/d ' config_file "Delete

The issue of Space not released after Linux deleted large files

Problem Description:Disk 100% , after deleting large files, df-h found disk space not releasedWorkaround:The problem is that in Linux systems, deleting files via RM or File Manager will unlink the file system from the directory structure (unlink).

Linux Modify File Permissions command

Let's look at an example:[Email protected] opt]#Ls-alThe Ls-al command is to list all files in the directory, including hidden files. The first character of the hidden file's file name is '. '-rw-r--r--1 root root bayi 08-02 14:54

Linux mistakenly deleted File recovery

The document is too much for force! Mistakenly deleted a few important documents, shaking and then secretly recovered, saved me!!!Http://jingyan.baidu.com/article/2f9b480d6c2bcd41cb6cc223.htmlNote several places:1) The last CD to the wrong delete

Introduction to the free command on Linux

Each use of free is more confusing, for the above content is not very clear, today carefully check the following, and everyone to share the following:Let's look at the results of the free operation:Free print out the memory information is mainly

Linux commands Daquan (2)

1. Switch directoriesIn Linux, one may operate in this file directory, one may go to another file directory to operate, this will need to use the directory switch, using the CD command.When it comes to directory switching, it involves path

Linux operation instructions

Linux operation instructionsCtrl+alt+f3 into the text interfaceCTRL+ALT+F1 into the Desktop interfacemkdir Create File commandVI Edit File commandCD Switch Directory commandCd.. Return to Parent DirectoryLS View folder under File commandWq Saveq!

linux-12-installing VMware and creating a virtual machine system (L003-26)

First, install VMwareStupid, next, done.Ii. creating a virtual machine system with VMware1. Double-click on VMware software, right "My Computer", select New folder:After being built, such as:2. Point file-Create a new virtual machine:The following

Linux-32-linux Basic Important Command (L005-14)

which can find the path where the command is located, then find can also,where/is the search from the root directory,-TYPEF is (find) the file type,-name "Cat" is the name of cat, in short, the command is to start from the root directory to search

Linux Connect to Remote Desktop

#!/usr/bin/env Python3#-*-encoding:utf-8-*-ImportReImportOSImporturllib.request, Urllib.parse, Urllib.errorImporturllib.request, Urllib.error, Urllib.parseImporthttp.cookiejar filename='/tmp/cookie.txt'Cookies=Http.cookiejar.MozillaCookieJar

Total Pages: 5467 1 .... 3307 3308 3309 3310 3311 .... 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.