linux ÅäÖÃ telnet
1¡¢²é¿´telentÊÇ·ñ°²×°£ºrpm -q
telnet
[root@localhost root]#rpm -qa Linux telnet
Linux telnet-0.17-25
//Linux telnet*.rpmÊÇĬÈÏ°²×°µÄ//
2¡¢²é¿´telent-serverÊÇ·ñ°²×°£ºrpm -q
telnet-server
[root@localhost root]#rpm -qa Linux telnet-server¿Õ
//Linux telnet*.rpmÊÇĬÈÏûÓа²×°µÄ//
3¡¢°²×°telnet-server£ºµÚ3ÕÅÅÌÉÏÓÐLinux
telnet-server-0.17-25.i386.rpm
[root@localhost root]#rpm -ivh Linux
telnet-server*.i386.rpm
4¡¢ÐÞ¸ÄLinux telnetÅäÖÃÎļþ
vi /etc/xinetd.d/Linux telnet
service Linux telnet
{
disable
=
yes
flags
=
REUSE
socket_type
=
stream
wait
=
no
user
=
root
server
= /usr/sbin/in.Linux telnetd
log_on_failure += USERID
}
½«disable=yesÐÐÇ°¼Ó#£¬»òÕ߸ÄΪdisable=noPS
5¡¢ÖØÐÂÆô¶¯Linux xinetdÊØ»¤½ø³Ì£º
ÓÉÓÚLinux
telnet·þÎñÒ²ÊÇÓÉxinetdÊØ»¤µÄ£¬ËùÒÔ°²×°ÍêLinux telnet-server£¬
Ïà¹ØÎĵµ£º
½øÈë/boot/grub
ÐÞ¸Ägrub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, ......
linux ÊÂÇéÒª´ÓSSH˵Æð£¬×ʼÎÒÃÇÔ¶³Ì·ÃÎÊlinux·þÎñÆ÷£¬¶¼ÊÇÓõÄSSH£¬Õâ¸ö¶«Î÷ºÜ·½±ãÁË£¬ÌṩÁËÃüÁîÐУ¬»¹Óд°¿Ú½çÃ棬ÓÃÆðÀ´·½±ã£¬ÏàÐÅÓùýµÄÈ˶¼ÓÐÌå»á£¬µ«Êǵ±ÎÒ»»³ÉflashFXPÁ¬½ÓͬÑùµÄlinux·þÎñÆ÷ʱÔõô¶¼Á¬²»ÉÏ£¬ÕâÏÂÓôÃÆ»µÁË£¬Ôõô°ìÄØ£¿ ÔÚ¾ÀúÁËÎÞÊý´ÎµÄ³¢ÊÔÖ®ºó£ ......
ÔÚÍøÉÏÕÒµ½µÄÒ»¸ö³ÌÐò
[c]
#include <stdio.h>
#include <sys/types.h>
#include <regex.h>
/* È¡×Ó´®µÄº¯Êý */
static char* substr(const char*str,unsigned start, unsigned end)
{
unsigned n = end - start;
static char stbuf[256]; ......
ʵÏÖÒ»¸öÁ´±í£¬Íê³ÉÁ´±íµÄ²åÈ룬²éÕÒ£¬É¾³ý
typedef struct _FIFO_M{
void *pdata;
struct _FIFO_M *pNext;
}FIFO_M,* pFIFO_M;
typedef struct _FIFO{
pFIFO_M head;
pFIFO_M tail;
pFIFO_M pos;
int mcount;//½Úµã¸öÊý
int max_count;//½Úµã×î´ó¸öÊý¡£
}FIFO,* pFIFO;
......
chmod(change mode)
¹¦ÄÜ˵Ã÷£º±ä¸üÎļþ»òĿ¼µÄȨÏÞ¡£
Óï¡¡¡¡·¨£ºchmod [-cfRv][--help][--version][<ȨÏÞ·¶Î§>+/-/=<ȨÏÞÉèÖÃ...>][Îļþ»òĿ¼...] »ò chmod [-cfRv][--help][--version][Êý×Ö´úºÅ][Îļþ»òĿ¼...] »ò chmod [-cfRv][--help][--reference=<²Î¿¼ ......