1. Use commands
Use in bashUlimit, Only effective for the Current Shell
You can alsoAdd the ulimit command line to the bashrc STARTUP script.
2. Use Functions
In your ownProgramCallingSetrlimitTo modify
3. modify the configuration file (I
For example, for the u m a s k value 0 0 2, what is the default creation permission for the corresponding files and directories?
Step 1: Write down the mode with all permissions, namely 7 7 7 (all users have read, write, and execute permissions ).
To start installation, first modify the/etc/inittab file:
ID: 5: initdefault:
Changed:
ID: 3: initdefault:
# Vi/etc/inittab
Restart the computer.
The system enters character mode and logs on with root, then runs the
In Linux, scripts that check Apache running status regularly check whether Apache is started. If Apache is not started, the service is automatically started.
Copy content to clipboard
Code :
#! /Bin/shCheck_services (){Echo "check services .
The following example uses the IP address of the clock source server as 192.168.0.1. You can run ntpstat and ntpq-P to view the native ntpd service status. After the configuration is complete, you must restart the ntpd service ntpd restart.
Http://www.xdowns.com/soft/softdown.asp? Softid = 28509
Software introduction:This package does not require absolute green installation. After decompression, run the Linux. BAT file.Qume is a virtual machine software.DSL. ISO is a Linux livecd
PS: I was asked the day before yesterday, why is there so little memory available in my Linux system? In fact, different from Windows Memory Management, Linux will try to cache memory to improve read/write performance, usually called cache
It took me one night to compile log4cxx and finally passed it. This bird tool is my whole time.The log4cxx version is 0.97 and the OS is fedora 6. The first problem encountered during the make process is:
Quote:
Auxiliary commands for Linux development (1)
1. view the files opened by the Process
Lsof
2. View IPv4 and IPv6 listening statuses and corresponding processes
Lsof-pnl + M-i4lsof-pnl + M-I6
3. View RPM installation information
Some time ago, because of project requirements, I had to solve the AVI file. At that time, I first wanted to use FFMPEG for processing, but I thought it was too big to run it on the arm. I felt unnecessary. Then, I searched the search engine a
I have never had the habit of writing a blog. Recently I have been studying the development in Linux (but it is only a rough research) and I used the boost library to write something, at least record some of the steps I have taken to install boost,
Ln command: ln command is used to establish hard links and symbolic links.
Hard link:
$ Ln file1 file2
$ Cat file1 file2
We can see that file2 is exactly the same as file1. If you delete the file file1, the file file2 still exists. If you delete
1,CAT/proc/version
Kernel version
# Cat/proc/versionLinux version 2.6.5-7.244-SMP (geeko @ buildhost) (GCC version 3.3.3 (SuSE Linux ))#1 SMP mon Dec 12 18:32:25 UTC 2005
2,Uname-
Kernel version
# Uname-
Linux WebServer 2.6.5-7.244-SMP #1 SMP mon
First, paste some struct used in asynchronous Io, because it is rarely used, it is easy to organize and view.
Struct aiocb in AIO. h
struct aiocb{ int aio_fildes; /* file desriptor. */ int aio_lio_opcode; /* operation to be
(1) in Linux, the batch processing file is basically a shell script file. 1. the simplest way to write a script is to create a new file named "clean" and write Rm-FV * in it *. o; LS-Al; (you can write some common shell commands, which are separated
Dotgnu: Another. Net implementation in Linux
While Mono is in full swing, GNU has started its. Net GNU implementation. You can get the latest project progress in http://dotgnu.org and download the latest code.
Portable.net implements the basic.
When using Windows, Linux, and other different operating systems, grub boot is used and the default access to Linux is set. however, Windows is usually used, so sometimes you may accidentally enter Linux, which is not convenient. therefore, you
Search for files on a certain day
Tip Administrator)
[Back] [forward 〗
A = 'Find ~ -Print '| LS-l -- full-time $ A 2>/dev/null | grep "Jun 27" | grep 1998Linux commands are amazing!I wrote the following script for you, which is easy to
Introduce the hash_set and hash_map header files in Windows and Linux
Recommended usage:Write the code before the source code:
// Just for "# include " in Linux# If _ gnuc __> 2# Include # Include Using namespace _ gnu_cxx;# Else# Include # Include
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