UbuntuA mini-game in the terminal is a game that I wantLinuxThis game is currently popular on Android and iPhone.
first, this game is very easy to use, first, GCC or G ++ compile the Source Code , run the command directly to see the
Join is similar to the join keyword in SQL. Function Description : Merge two files using public fields. Connection Method As follows:Join Left join format: Join-A1 Right join format: Join-A2 Full join format: Join-A1-A2 Parameter description:
1. Install gcc
Sudo apt-Get update
Sudo apt-Get install build-essential
2. Install sun-java6-jdk
Sudo VI/etc/APT/sources. List
Add Deb http://archive.canonical.com/ubuntu lucid partner save exit
You can directly copy the previously
We all know that such a Linux, called lindows, is not only named like windows, but also has a very similar interface and function. what's even more amazing is that it can even run Windows.
Program. Therefore, I want to see if I can make a software
In Linux, we can use
Int pthread_create (pthread_t *Thread, Const pthread_attr_t *ATTR,Void *(*Start_routine) (Void *), void *ARG);But how to set the thread priority?When discussing this issue, we first need to determine the scheduling policy used
1 PrefaceIn embedded development, MIPS processors are one of the most common types of processors. On the other hand, Linux is an open-source software with a wide range of applications. Because of its good support for multiple embedded processor
RK28-Linux I2CInstructions for use
Contents
I. Version Number and version description... 2
Ii. module function description... 2
Iii. module software design ideas... 2
Iv. Module main process... 2
5. system resource usage... 2
6. Directory and file
The hard disk is divided into two areas: one is the information area describing the hard disk itself, called the Master Boot Record, MBR, and the other is the area storing the actual file information. MBR is the most important part of the entire
CVS is a widely used, open-source, and network-transparent version control system. When using CVS, you must first set up a CVS server, import a project instance to the CVS server, and set up CVS project access control. The customer accesses the CVS
Currently, the project needs to benchmark the time. The accuracy of the benchmark is in microseconds. In the afternoon, Liu told me that do_gettimeofday cannot be used, because although its precision can be microseconds, it depends on the accuracy
Let's look at the example. Only capture the interruption of a device...
The file name is IRQ. C.
# Include # include # include # include # include # define debug # ifdef debug # define MSG (message, argS ...) printk (kern_debug
Rz uploads local files to the Linux server.
Tar zxvf decompress the .tar.gz file.
Ls displays all files. CP copy files and directories.
Su switches users.
SCP remote copy. SCP-r/data/bjhadoop/nmdata/bjhadoop @ yunmall010:/data/bjhadoop/
SSH service
1. Download xmame (APT-Get install xmame -*)
2.download the kof97.tar.bz2 file to my resource and put it in the/usr/share/games/xmame/rooms/folder: (Note that all the names in the folder must be in lowercase)
3. Enter xmame kof97 in the terminal.
# Include # include # include # include # include # include # include # include # include # define bind_port 9999 # define buffsz 4096int main (INT argc, char * argv []) {// extern int socket (INT _ domain, int _ type, int _ protocol) //
Common system management commands
1. useradd RedHat
2. passwd RedHat
3. Su-
4. Exit
5. df-H Partition
6. Du-SH/* size of the space used by the statistical file or directory
7. fdisk-L/dev/SDA
8. configure network parameters in netconfig
9. ifconfig
File System Maintenance
Ext2/ext3 store files through data blocks
Format a file system:
Mkfs. ext3-B 4096-I 8192-M 5/dev/sdb4
-B data block size
-I inode node indicates the number of bytes (or the size of the data block)
-M 5: 5% disk
Manage Disk File Systems
Mount device name mount point
Mount/dev/fd0/mnt/floppy
Optical Drive (IDE)/dev/CDROM (à/dev/hdx)
Optical Drive (SCSI)/dev/scdn (n = 0, 1 ...)
Hard Disk (IDE)/dev/hdx (x = A, B, C ...)
Hard Disk (SCSI)/dev/sdx (x = A, B,
LVMLogical Volume Manager
Physical Volume of PV (physical volume)
VG (volume group) volume group
LV (logical volume) logical volume
1. fdisk/dev/SDB
Partition sdb1, sdb2, sdb3
Partition type 8e (Linux LVM)
If the system is using SDB,
The nginx startup command is:
/Usr/local/nginx/sbin/nginx-C/usr/local/nginx/CONF/nginx. conf
-C: Specifies the path of the configuration file. If this parameter is not added, the default path configuration file is automatically loaded.
The above
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