Linux Ô¶³ÌµÇ¼·þÎñ£ºtelnetºÍssh
Linux Ô¶³ÌµÇ¼·þÎñ£ºtelnetºÍssh
ͨ³£Çé¿öÏÂÔ¶³ÌµÇ¼ÎÒÃÇʹÓÃtelnet·þÎñ£¬Red Hat
Linux´øÓÐtelnet·þÎñÆ÷µÄÈí¼þ°ü£¬ÎÒÃÇÐèÒª°²×°telnet-serverºÍxinetdÁ½¸öÈí¼þ°ü£º
[root@rh73 ~]# rpm -ivh
/mnt/cdrom/RedHat/RPMS/telnet-server-0.17-20.i386.rpm
[root@rh73 ~]# rpm -ivh
/mnt/cdrom/RedHat/RPMS/xinetd-2.3.4-0.8.i386.rpm
ÉèÖÃtelnet·þÎñ£º
Ò»¡¢ÔÊÐítelnetµÇ¼
±à¼/etc/xinetd.d/telnet
[root@rh73 ~]# vi /etc/xinetd.d/telnet
ÐÞ¸ÄΪ£º disable=no
ÆäÄÚÈÝÈçÏ£º
# default: on
# description: The telnet server serves telnet sessions; it uses
\
#
unencrypted username/password pairs for authentication.
service telnet
{
disable = no
flags
= REUSE
socket_type
= stream
wait
= no
user
= root
server
= /usr/sbin/in.telnetd
server_args
= -h
log_on_failure += USERID
}
ÆäÖГserver_args
=
-h”Ò»ÐеÄ×÷ÓÃÊÇÔÚÓû§´ÓÔ¶³ÌµÇ¼¹ýÀ´Ê±£¬Ö»ÏÔʾһ¸ölogin:µÄÌáʾ·û£¬²»ÖÁÓÚ±»±ðÈË´îÑÛÒ»¿´¾ÍÖªµÀÄãÓõÄÊÇʲôϵͳ£¬ÔöÇ¿¶ÔϵͳµÄ±£»¤¡£
ĬÈϵÄrootÓû§ÊDz»ÔÊÐítelnetȨÏ޵쬽¨ÒéÄã¸øÄãµÄϵͳÌí¼ÓÒ»¸öÆÕͨÓû§Õʺţº
[root@rh73 ~]# useradd pangty
Ð޸ĸÃÕʺÅÃÜÂ룺
[root@rh73 ~]# passwd pangty
È»ºóÆô¶¯xinetd·þÎñ£º
[root@rh73 ~]# /etc/rc.d/init.d/xinetd
start
»ò£º[root@rh73 ~]#service xinetd start
ÏÖÔھͿÉÒÔÓÃtelnetÃüÁîÀ´²âÊÔÒ»ÏÂÁË¡£
¶þ¡¢ÈÃrootÓû§
Ïà¹ØÎĵµ£º
½ñÌì×°ºÃÁËmonodevelop£¬±¾À´ÊÇÏëÓÃÀ´C#µÄ£¬¼ûËûÒ²Ö§³ÖC/C++¿ª·¢£¬ÓÚÊÇÊÔÁËһϣ¬¸Ð¾õºÜ²»´í£¬ÖÕÓÚÕÒµ½ÁËlinuxÏÂÒ»¸ö±È½ÏÂúÒâµÄC++¿ª·¢»·¾³¡£
ÒÔǰдC++¶¼ÊÇÔÚEclipseÏÂдµÄ£¬µ«EclipseÆô¶¯Âý£¬ÅäÖÃÂé·³£¬ºÍjavaÒ»ÆðÓõÄʱºòºÜÈÝÒ׳ö´í£¬Óõĺܲ»Ë¬£¬µ±È»¸ ......
±¾À´ÎÒÓõÄÊÇÕâÑùµÄ³ÌÐò
# include <iostream.h>
int main(void)
{
int i,j;
j=0;
i=j+1;
cout<<"hello world!"<<endl;
cout<<"the result is"<<i<<endl;
return 0;
}
ÀûÓÃg++ -o test test.cpp¡£µ«ÊÇÕâÑùÊÇÓдíÎóµÄ£¬ÌáʾÎÞ·¨´ ......
The physical memory map for Linux is completely independent from the virtual map and is designed to maximize contiguous space. Given that the kernel image will always be at the start of DRAM, the Linux kernel maximizes contiguous space by allocating runtime memory from the end of physical DRAM movin ......
²éÕÒ °üº¬alias×Ö·û´®µÄ*.confµÄÎļþ
find / -name "*.conf" | xargs grep "alias"
1. grep -R -l һЩҲ¿ÉÒÔʵÏÖ£¬µ«ÊÇͨ¹ý¹ÜµÀ | ±Èµ¥´¿ÓÃgrep ¸´ÔӵIJÎÊý¸üÓÐЧÂÊ¡£
2. xargsÊÇÓÃÀ´Õ¹¿ªfind»ñµÃµÄ½á¹û£¬Ê¹Æä×÷ΪgrepµÄ²ÎÊý¡£ ......
linuxÖУ¬Í¨¹ý
ls -al
ÏÔʾµÄÊôÐÔÖУ¬µÚÒ»¸ö¾Í±êÖ¾ÎļþÀàÐÍ¡£Í¨³£ÓÐһϼ¸ÖÖÇé¿ö£º
[ - ]££££ÆÕͨÎļþ
[ d]££££Ä¿Â¼
[ l ]££££Á¬½ÓÎļþ
[ b]££££¿éÉ豸
[ c ]££££×Ö·ûÉ豸
[ s ]££££Ì×½á×Ö
[ p ]££££¹ÜµÀ ......