Each time you run a command, Linux returns an error code (integer, usually 0 ~ 256). What do these numbers mean? (Note: Fedora 7. For details about other platforms, refer ):
1. simple and clear, a command, what do you want to see:
# Perror
For
Vfs_cache_pressure:This file indicates that the kernel is recycled for directory and inodeCache memory preference; default value: 100 indicates that the kernel uses directory and inode according to pagecache and swapcacheCache stays at a reasonable
Pthreads documents are as follows:
What is a thread, why do we need it? -- Linux Process and thread overview;
What is pthreads? Why pthreads? -- Pthreads overview;
How to create and cancel a pthreads thread? -- POSIX thread creation and
The UMASK score indicates the "permission to be removed for the value of the default value !』 Because R, W, and X are 4, 2, and 1 points respectively. That is to say, to get the write permission, enter 2 points. If you want to get the read
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
preface: I have been in contact with arm-Linux for more than nine months. I have gone through the graduation design and the company's practice design, and have a certain understanding of arm-Linux, it also made me fall in love with arm-Linux and
View the release version:
Method 1
Execute the following commands on the terminal:
cat /etc/issue
You can view the version number of the currently running ubuntu. The output result is similar to the following:
Ubuntu 7.04 \n \l
Method 2
You can also
There are five processes in Linux:1. Run (running or waiting in the running Queue)2. interruption (in sleep, blocked, waiting for the formation or receipt of a signal of a condition)3. Do not interrupt (do not wake up when receiving the signal or do
1 configure Option 43Solution Description: configure the DHCP server on Linux to provide IP addresses and Option 43 for the AP.1.2 configuration ideas1)Download and install DHCP server programs.2)Debug the basic DHCP service and verify
When XAMPP was used yesterday, an error was reported during startup, saying that port 443 was occupied. I looked at the application for half a day and thought it was strange that the program would use port 443? Using the Process Manager to kill, and
Use fc6 to Access Windows shared folders.
1. Windows shares a Folder Share with all Permissions
2. Run Mount-t cifs // 192.168.2.26/device/mnt/share-O username = share, password = share, RW, file_mode = 0777, dir_mode = 0777, setuid = 509 in Linux,
Linux is a system that automatically generates files, such as logs, emails, and backups. So it is very convenient to delete it.
Statement Syntax:Find directory-mtime + days-name "file name"-exec Rm-RF {}/;
Example 1:Find/u01/backups-mtime + 10-name "
Today, I have played something in Linux and I am familiar with some performance. So I would like to record it for future queries.
1. When VMware installs Linux, the following message is displayed: The valid device for creating a file system is not
(Recently, I have returned to the Linux kernel. Continue .)
The process in Linux is similar to the thread. One reason for this is that they all use the same data structure, that is, task_struct. The difference is that there is an independent user
Linux network device configuration files are stored in/etc/sysconfig/network-scripts, For the first network device Ethernet, the configuration file name is generally ifcfg-eth0. To bind one more IP address to the first network device, create a file
Library is used to package similar functions in a unit. Then these units can be shared by other developers, andModular programmingThat is, building a program from a module. Linux supports two types of libraries, each of which has its own advantages
Reprinted at: Workshop.Upload files from the local machine to the target machine. The local machine is linux1 and the target machine is linux2.Steps:Linux1 operation:1. Ssh-keygen-T RSAGenerate a public key. The default path is under/root/. Ssh/,
In Linux, the FTP configuration (RedHat) Linux cloud host has already installed the FTP server named vsftp by default, and is not started by default.
1. Start the vsftp Server
A. After logging on to the Linux host, run the command: "service vsftpd
Before going to bed at night, if you want to use your computer to listen to songs and sleep, and you don't want your computer to stay till tomorrow morning, you need to shut down at a certain time. Although many players now come with the Timed
How to decompress commands in Linux
. TarUnpack: Tar xvf filename.tarPackage: Tar CVF filename.tar dirname(Note: tar is packed, not compressed !)---------------. GZDecompress 1: gunzip filename.gzDecompress 2: gzip-D filename.gzCompression: gzip
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