xshellÁ¬½ÓlinuxÖÐÎÄÂÒÂë
ÍøÉϺܶàÌû×ÓÎÊxhellÁ¬½ÓlinuxÖÐÎÄÂÒÂ룬¾ø´ó²¿·ÖÊǽ«LANGÊôÐÔÖµÉèÖÃÓ¢ÎÄ£¬¼´export LANG=en_US.UTF-8;
µ«ÊÇÎÒÃǽ«ÏµÍ³ÉèÖÃΪÖÐÎÄ£¬µ±È»ÊÇÒòΪ×Ô¼ºÓÃÖÐÎÄ¿ÉÒÔÌá¸ßЧÂÊ£¬¼õÉÙ³ö´í¡£
ÕâÖÖ·½Ê½Ö»ÄÜÖα겻ÄÜÖα¾£¬Ï´ÎʹÓÃsshÁ¬linuxʱ»¹ÊÇ»áÂÒÂ룬
ÏÖÔÚ½«ÎÒ×Ô¼ºµÄ½â¾ö·½Ê½¹²Ïí¸ø´ó¼Ò¡£
±à¼/etc/sysconfig/i18n
½«ÎļþÖÐµÄ LANG="zh_CN.UTF-8" ÐÞ¸ÄΪ LANG="zh_CN.GB2312" ¡£
ÖØÐÂÁ¬½Ólinux.
Ïà¹ØÎĵµ£º
Îļþfun.c£¬fun.h£¬hello.c£¬hello.h£¬main.c¶¯Ì¬¿âº¯Êý¶¼ÔÚfun.cºÍhello.cÀïÃæ
----------------------------
fun.c:
int add(int a, int b)
{
return a+b;
}
fun.h:
#ifndef _FUN_H_11
#define _FUN_H_11
int add(int a, int b);
#endif
----------------------------
hello.c:
££i nclude <stdio ......
¡¡±¾Õ½éÉÜLinuxÉÏ×î³£ÓõÄÎı¾±à¼Æ÷Vi¡£Îı¾±à¼Æ÷ÊÇËùÓмÆËã»úϵͳÖÐ×ʹÓõÄÒ»ÖÖ¹¤¾ß¡£Óû§ÔÚʹÓüÆËã»úµÄʱºò£¬ÍùÍùÐèÒª½¨Á¢×Ô¼ºµÄÎļþ£¬ÎÞÂÛÊÇÒ»°ãµÄÎı¾Îļþ¡¢Êý¾ÝÎļþ£¬»¹ÊDZàдµÄÔ´³ÌÐòÎļþ£¬ÕâЩ¹¤×÷¶¼Àë²»¿ª±à¼Æ÷¡£
¡¡¡¡LinuxϵͳÌṩÁËÒ»¸öÍêÕûµÄ±à¼Æ÷¼Ò×åϵÁУ¬ÈçEd¡¢Ex¡¢ViºÍEmacsµÈ£¬°´¹¦ÄÜËüÃÇ¿ÉÒÔ·ÖÎ ......
ÕâÊÇÒ»·â·¢µ½ÓÊÏäÀïÃæµÄÓʼþ£¬¸Ð¾õÓеã´ú±íÐÔ£¬ÕâÀï×ö¸öͳһ»Ø´ð£¬Ò»¼ÒÖ®ÑÔ¹þ£¬»¶ÓÅÄש¡£
ÔÎÄÈçÏ£º
ÎÒ´Ócsdnѧϰ´ó±¾ÓªµÃµ½ÄúµÄÐÅÏ¢¡£²»ºÃÒâ˼´ò½ÁÄú¡£
ÎÒÏÖÔÚÓÃc++ÔÚlinuxÏ¿ª·¢´óÐÍÓ¦ÓóÌÐò¡£ÎÒÏëÇë½ÌÊÇ·ñÖµµÃÉîÈëѧϰlinux kernel¡£
ÎÒûÓÐÌرð¶àµÄʱ¼ä¡£ÁíÍâÎÒÓжàÄêWindowsÏ¿ª·¢Ó¦ÓóÌÐòµÄ¾Ñé¡£
ÎҵĻشð£ ......
½ñÌìfedora¹ÒÁË£¬ÎªÁ˱¸·ÝÊý¾ÝÓÃubuntuµÄlivecdÀ´½øÐÐÊý¾Ý±¸·Ý£¬´ÓÍøÉÏ¿´µ½ÁËһƪÌû×Ó£¬
http://www.linux-sxs.org/storage/fedora2ubuntu.html
½â¾öÁËÎÊÌâ
ÄÚÈÝÈçÏ£º
Boot Ubuntu.
Install lvm2:
$ sudo apt-get install lvm2
Load the necessary module(s):
$ sudo modprobe dm-mod
Scan your system for LVM v ......
ddÃüÁî
°ÑÖ¸¶¨µÄÊäÈëÎļþ¿½±´µ½Ö¸¶¨µÄÊä³öÎļþÖУ¬²¢ÇÒÔÚ¿½±´µÄ¹ý³ÌÖпÉÒÔ½øÐиñʽת»»¡£Óï·¨£º
CODE:[Copy to clipboard]dd ¡²Ñ¡Ï
QUOTE:
if =ÊäÈëÎļþ£¨»òÉ豸Ãû³Æ£©¡£
of =Êä³öÎļþ£¨»òÉ豸Ãû³Æ£©¡£
ibs = bytes Ò»´Î¶ÁÈ¡bytes×Ö½Ú£¬¼´¶ÁÈ뻺³åÇøµÄ×Ö½ÚÊý¡£
skip = blocks Ìø¹ý¶ÁÈ뻺³åÇø¿ªÍ·µÄibs*blo ......