linuxÈçºÎ¶¯Ì¬¼ÓÔØ¶¯Ì¬¿â
1.¶¨Ò庯ÊýÖ¸ÕëÀàÐÍ
Òª¸ù¾Ý¶¯Ì¬¿âÖÐҩʹÓõĺ¯Êý£¬ÔÚÍâÃæ¶¨ÒåͬÑùÀàÐ͵ĺ¯ÊýÖ¸ÕëÀàÐÍ£¬¹©ÒÔºóʹÓÃ
typedef unsigned long(*POpenDev)(IN unsigned long int);
2. ¶¨Ò庯ÊýÖ¸Õë
POpenDev OpenDev;
3.¶¯Ì¬¼ÓÔØ¶¯Ì¬¿â
HANDLE sohandle = NULL;
sohandle = dlopen("libNiKeyDll.so", RTLD_NOW);
if(NULL != sohandle)
{
fprintf(stderr, "%s\n", dlerror());
}
4.»ñÈ¡º¯ÊýµØÖ·
OPenDev = (POpenDev)dlsym(sohandle, "Opendev");
Opendev Ϊ¶¯Ì¬¿âÄڵĺ¯ÊýÃû£¬ OPenDevΪ»òµÃµÄOpendevµÄº¯ÊýµØÖ·£¬ÒÔºó¿ÉÒÔͨ¹ýOPenDevʹÓÃOpendevº¯Êý¡£
Ïà¹ØÎĵµ£º
linuxµÄechoÃüÁî, ÔÚshell±à³ÌÖм«Îª³£ÓÃ, ÔÚÖÕ¶ËÏ´òÓ¡±äÁ¿valueµÄʱºòÒ²Êdz£³£Óõ½µÄ, Òò´ËÓбØÒªÁ˽âÏÂechoµÄÓ÷¨
echoÃüÁîµÄ¹¦ÄÜÊÇÔÚÏÔʾÆ÷ÉÏÏÔʾһ¶ÎÎÄ×Ö£¬Ò»°ãÆðµ½Ò»¸öÌáʾµÄ×÷Óá£
¸ÃÃüÁîµÄÒ»°ã¸ñʽΪ£º echo [ -n ] ×Ö·û´®
ÆäÖÐÑ¡Ïîn±íʾÊä³öÎÄ×Öºó²»»»ÐУ»×Ö·û´®ÄܼÓÒýºÅ£¬Ò²Äܲ»¼ÓÒýºÅ¡£ÓÃechoÃüÁîÊä³ö¼ÓÒýº ......
mkdir -p /usr/local/svn/to/bakcup
/usr/local/svn/bin/svnadmin hotcopy /usr/local/svn/repos/test /usr/local/svn/to/bakcup --clean-logs
ÏêϸÇë²Î¿¼svn ÊÖ²á:
http://wenku.baidu.com/view/7c4617791711cc7931b71655.html ......
Èç¹ûÊÇÒÔtarballÐÎʽ°²×°°²×°£¬È¥rar
ÍøÕ¾ÏÂÔØÏàÓ¦°æ±¾µÄtarball¡£µØÖ·Îª
http://www.rarlab.com/
ÒÔ3.8°æ±¾ÎªÀý£¬Èç¹ûÊÇi386µÄƽ̨,Ö´ÐÐÒÔÏÂÃüÁ
$wget http://www.rarlab.com/rar
/rarlinux-3.8.0.tar.gz
rar
Èí¼þ²»ÐèÒª°²×°£¬Ö±½Ó½âѹµ½/usr/localÏ£¬ÒÔϲÙ×÷ÐèÒªÓÐroot
ȨÏÞ¡£
#tar zxvf rarlinux-3.8.0 ......
¶ÔÓںܶàÆÕͨÓû§À´ËµLinuxÊÇÉñÃØµÄ£¬ºÜ¶àÅóÓÑ´Ó½Ó´¥PC¿ªÊ¼½Ó´¥µÄ¾ÍÊÇwindow£¬Ò»ÇÐϰ¹ß¶¼Ô´ÓÚwindow£¬ÅóÓÑLinuxϵͳ¼¸ºõÊøÊÖÎ޲ߣ¨±ÊÕß»ù±¾¾ÍÕâÑù£¬ËùÒÔÔÚŬÁ¦Ñ§Ï°ing…£©£¬ÄÇôLinuxµ½µ×ÄÜ×öЩʲô£¬ÓÖÓÐʲôÓÃÍ¾ÄØ£¿ÈÃÎÒÃÇÀ´Ò»Ì½¾¿¾¹¡£ÊÀ½çÉÏ×î´óµÄ¼¼ÊõÖ§³Ö¡¢Èí¼þºÍÓ²¼þ¹«Ë¾Ã¿ÌìÊ¹Ó ......
°²×°openssh ·þÎñ¶Ë
sudo apt-get install openssh-server openssh-client
windows Ï¿ͻ§¶Ë
puTTY
³£ÓÃÃüÁî:
Ò»£®Ls ²é¿´Ä¿Â¼ÃüÁî
Ò»°ã·ÅÔÚhome Ŀ¼ÏÂ
Ls –l / ¸ùĿ¼ÏµÄÁбí
Ls –a / ¸ùĿ¼ÏÂËùÓеÄÎļþ
Ls –la ×éºÏµÄÑ¡Ïî
Ls –l / ......