Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Ten Powerful Linux Commands

Today is the last day in 2009, I have no idea what should I do but just want to pray that my family, relatives and bosom  friends would have a sweet life in the next year. Linux is a 2nd OS in my life, there are always something new can make me  feel awesome, so I think that with continuous interests it brings to me I believe that I will do well in it though some  obstacles may often encountered when using it. Following article is digged from digg website that I think it's helpful to me  and post it here hoping the author do not mind. The original article's link is http://laptoplogic.com/resources/ten-powerful -linux-commands
This article is equal parts opinion and fact, as the most powerful commands depends on what one needs them for; someone who  is running a network of Linux machines will require different commands than an individual user. With that said, without  regard to opinion, many commands are powerful, and any Linux user would do well to know them. Below are ten such commands,  all simple in nature but powerful in their usefulness. The method in which they are executed will depend on the Linux system  used. For example, you may need to use su instead of sudo or nothing at all, if you're running as root. Note: to see a full  list of possibilities for commands, type 'command - -help' in the Terminal.
1. PS
The PS command is a powerful command, and its power comes from its utter versatility. The PS command means 'process status',  and displays everything to do with processes; think of it as the task manager of geeks. There are many variations of PS that  can be used, such as the common PS AUX, which will pull a Terminal list of all running processes, or PS AUX | GREP PID to  pull up a specific process. Used in conjunction with the kill command allows users to end processes.
2. RM -RF
This command is, quite possibly, the most powerful command, as it can destroy entire systems in the wrong hands


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨ËÄ£© L2CAP²ã±à³Ì

£¨L2CAPЭÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPЭÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼­Á¬½Ó¿ØÖƺÍÊÊÅäЭÒé (L2CAP) ΪÉϲãЭÒéÌá¹©ÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àЭÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãЭÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......

LinuxÖÐÎļþµÄѹËõÓë½âѹËõ

¶ÔÐí¶àÓû§À´Ëµ£¬ÔÚDOSºÍWindows»·¾³ÏÂÀûÓù¤¾ßÈí¼þARJ¡¢WinzipµÈ£¬Ñ¹Ëõ»ò½âѹÎļþÊDZȽÏÈÝÒ×µÄÊ¡£µ«ÊÇ£¬ÔÚLinuxÖÐÈçºÎ¶ÔÎļþ½øÐÐѹËõÓë½âÑ¹ÄØ£¿±¾ÎÄ»ùÓÚRed Hat 6.0£¬½éÉÜÁËѹËõÓë½âѹÎļþµÄ¼¸ÖÖ·½·¨Óë¼¼ÇÉ£¬Ï£Íû¶Ô¶ÁÕßÓÐÒ»¶¨µÄ°ïÖú¡£
ÃüÁ
compress
¸ñʽ£º
compress Ñ¡Ïî ÎļþÁбí
¹¦ÄÜ£º
ÓÃLempel-zivѹËõ·½·¨ ......

linuxÀï²é¿´ËùÓÐÓû§ºÍÓû§×é

1¡¢linuxÀï²é¿´ËùÓÐÓû§
£¨1£©ÔÚÖÕ¶ËÀï.ÆäʵֻÐèÒª²é¿´ /etc/passwdÎļþ¾ÍÐÐÁË.
£¨2£©¿´µÚÈý¸ö²ÎÊý:500ÒÔÉϵÄ,¾ÍÊǺóÃæ½¨µÄÓû§ÁË.ÆäËüÔòΪϵͳµÄÓû§.
»òÕßÓÃcat /etc/passwd |cut -f 1 -d :
2¡¢Óû§¹ÜÀíÃüÁî
useradd ×¢£ºÌí¼ÓÓû§
adduser ×¢£ºÌí¼ÓÓû§
passwd ×¢£ºÎªÓû§ÉèÖÃÃÜÂë
usermod ×¢£ºÐÞ¸ÄÓû§ÃüÁ ......

ÍõÛóÍÆ¼öµÄһЩLinux¹¤¾ß


Shell: bash¡£Ëü½áºÏÁË csh ºÍ ksh µÄÓŵ㣬²¢ÇÒÓÐ readline ¹¦ÄÜ£¬Äã¿ÉÒÔËæÒâ°ó¶¨×Ô¼ºµÄ¼üÅÌ¡£
±à¼­Æ÷£º VIM, Emacs¡£
³ÌÐò¿ª·¢£º GCC, make, ld, Scheme48, j2sdk, Perl, Python, Tcl/Tk ...
ÂÛÎÄ£¬»ÃµÆ¹¤¾ß£ºLaTeX, ConTeXt
»æÍ¼¹¤¾ß£ºMetaPost¡£Õâ¸öÓïÑÔ̫ǿÁË£¬ÒÔÖÁÓÚÎÒÖ»ÓÃËüÁË¡£Äã²»ÊìϤµÄ»°¿ÉÒÔÓÃxfig,dia À´ ......

LINUXϹØÓÚCPUÐÅÏ¢»ñÈ¡

1. TOP    ÃüÁî È»ºó°´“1”£¬¿ÉÒԲ鿴CPUÓжàÉÙ¸öºË¡£
2. less /proc/cpuinof ¿ÉÒԲ鿴 CPUÄں˸öÊý¼°¸ü¶àÄÚºËÐÅÏ¢¡£
3.dmesg |grep CPU ¿ÉÒÔºËʵCPUÄں˸öÊýÇÒ»ùÓÚ¶àÉÙ¸öÎïÀíCPU¼°ÏêϸÐÅÏ¢¡£
4.dmidecode |grep "CPU"  ¿ÉÒÔºËʵ¶àÉÙ¸öÎïÀíCPU¡£
ÁíÍâ  grep '' * ÓÐÃîÓ㬿ÉÒԲ鿴 ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ