PS
Syntax: PS [Options] [-- help]
Views: displays the dynamics of the instantaneous process.
Parameters: (common)-W display widening can display more information
-L displays the process execution priority.-A: List all trips.-U: displays all
If the FTP service is not installed, install vsftpd: Yum install vsftpd first.
Add a User Username
Useradd-D/home/SEA/-M Username
The user's FTP root directory is/home/sea. The-M parameter allows the system to create this directory for you.
1) switch to the root user (SU ).
2) Add the write permission for the file. That is, enter the command "chmod U + w/etc/sudoers ".
3) edit the/etc/sudoers file. That is, enter the command "VI/etc/sudoers", enter "I" to enter the editing mode,
The following content is transferred from http://hi.baidu.com/tekuba/item/b247ce5a9a8653c8d2e10c51
Errno-number of last error
Errno records the last error in LinuxCode. The code is an int value defined in errno. h.Pay attention to reference his
Rounded corner: cutroundcornerParameter: $1: edgesize $2: width (I. e. Height) $3: radius $4: srcfilename $5: destfilenameNote: $1 indicates the length of the removed advertising area, $2 indicates the edge length of the final square rounded corner
Install and configure wine
The source wine is 0.9.59 and has been updated to 0.9.61.
1. Enter sudo apt-Get install wine in the command line. You can also download the source code and compile it on the wine official website. This will reduce problems
Obtain the IP address in Linux, which can be implemented by using shell or code. What I want to discuss today is to obtain the IP address of the Local Machine in C language.
After my verification, the commonly used methods of gethostname (),
General makefile templates for Linux
# The following variables can be specified in the shell environment variables.# It can also be specified in makefile as follows.# Cc = GCC # Compiler# Cflags =-wall-werror-G # compiler Parameters# LD = GCC #
Linux vs. Windows: this is a topic that is often discussed on the Internet. We are always eager to hear and enjoy it. Have you ever wondered whether you are wandering between Linux and Windows, and those who really want to make a good fortune in the
1: message receiving end
# Include # include # include # include # include # include # include # include # include # include # define max_text 512 struct my_msg_st {int my_msg_type; char msg_text [max_text] ;};# define msg_file
1: differences between threads and processes
2: thread synchronization: mutex lock
3: thread synchronization: Condition variable
4. Thread Synchronization: The post semaphore has an instance in the code. 5: The thread exits.
6: Sample thread code
/*
1: Code
# Include # include # include # include # include # include # include # include # include # include # include # include // extern int h_errno; char interfaceipaddr [50]; int struct (char * ethname) {int inet_sock; struct ifreq
[Software development environment and resources]
HOST: fedora 10Target Board: bcm7466
Cross-compilation tools: mipsel-Linux-GCC, mipsel-Linux-AR, mipsel-Linux-ranlib, and mipsel-Linux-strip
To implement an email sending and receiving client, you
//---------------------------------------------------------------------------
// Lock. h
//---------------------------------------------------------------------------
# Pragma once
# Ifdef Win32
# Include
# Include
Class clock
{
Public:
Clock ()
When I first started learning embedded systems, no one was asking questions. Fortunately, there was a board that could at least cross the river by feeling the stones. I found a lot of information on the Internet and looked dizzy. I did not write
Fcntl system call]Function Description: describes the features of a file based on its description.Usage:Int fcntl (int fd, int cmd );Int fcntl (int fd, int cmd, long Arg );Int fcntl (int fd, int cmd, struct flock * Lock );Parameters:FD: file
1. Use CAT/proc/devices to view the primary device ID corresponding to the currently used device.
CAT/proc/interrupts view records the interrupt number that the device is using
CAT/proc/tty/drivers can view information about all tty devices in the
// 4led. c
# Include # Include # Include # Include
# Include # Include # Include # Include # Include # Include # Include
# Include
# Define device_name "ledwen"# Define led_major 240
Module_license ("GPL"); // used to remove copyright notice
Problems cross-compiling QT/Embedded 3.3 for big-Endian ubuntures:
When cross-compiling on a little-endian machine (e.g. x86) for a big-Endian processor (e.g. powerPC), the configure script will use the host's endianness instead of the target's.
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