ÊÕ¼¯µÄһЩ¼òµ¥µÄUNIX/LinuxÃæÊÔÌâ
1. Q. How do you find out the processes that are currently running or a particular user?
A. ps -au Myname (-u by effective user ID (supports names)) (a - all users)
2. Q. How do you kill a process?
A. kill -9 8 (process_id 8) or kill -9 %7 (job number 7)
kill -9 -1 (Kill all processes you can kill.)
killall - kill processes by name most (useful - killall java)
3. Q. What would you use to view contents of a large error log file?
A. tail -10 file_name ( last 10 rows)
4.Q. How do you list contents of a directory including all of its
subdirectories, providing full details and sorted by modification time?
A. ls -lac
-a all entries
-c by time
5.Q. How do you create a symbolic link to a file (give some reasons of doing so)?
A. ln /../file1 Link_name
Hard Link, soft Link?
6.Q. How do you check the sizes of all usersï¿?home directories (one command)?
A. du -s
df
7.Q. How do you check for processes started by user 'pat'?
A. ps -fu pat (-f -full_format u -user_name )
8.Q. How do you start a job on background?
A. bg %4 (job 4)
9. Q. How to remove directory with files?
A. rm -rf directory_name
10. Q. How can you see all mounted drives?
A. mount -l
11. Q. How can you find a path to the file in the system?
A. locate file_name (locate - list files in databases that match a pattern)
12. Q. What Linux HotKeys do you know?
A. Ctrl-Alt-F1 Exit to command prompt
Ctrl-Alt-F7 or F8 Takes you back to KDE desktop from command prompt
Crtl-Alt-Back
Ïà¹ØÎĵµ£º
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌá¹©ÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
ÔÎĵØÖ·£ºhttp://www.ibm.com/developerworks/cn/linux/l-cn-cmake/index.html
±¾ÎĽéÉÜÁËÒ»¸ö¿çƽ̨µÄ×Ô¶¯»¯¹¹½¨ÏµÍ³ CMake ÔÚ linux ÉϵÄʹÓ÷½·¨¡£ CMake ÊÇÒ»¸ö±È automake ¸ü¼ÓÈÝÒ×ʹÓõŤ¾ß£¬Äܹ»Ê¹³ÌÐòÔ±´Ó¸´ÔӵıàÒëÁ¬½Ó¹ý³ÌÖнâÍѳöÀ´¡£ÎÄÖÐͨ¹ýһЩÀý×Ó½éÉÜʹÓà CMake ´¦Àí¶àÔ´ÎļþĿ¼µÄ·½·¨¡¢²éÕÒ²¢Ê¹ÓÃÆäËû ......
[ת]Õâ¸öÌâÄ¿ºÜ´ó£¬¸øÈËÒ»ÖָоõÎÒºÃÏñºÜ³É¹¦£¬Æäʵ²»È»¡£Êµ¼ÊÉÏ×Ô¼ºË®Æ½²»¸ß£¬ÉõÖÁºÜµÍ£¬µ«ÊÇ×ö¹ýÁËһЩÇúÕÛµÄѧϰµÀ·£¬Í¬Ê±°Ñ×Ô¼ºÕæÊµµÄѧϰÀú³Ì±í´ï³öÀ´£¬Ï£Íû¶ÔºóÀ´ÕßÓÐ½è¼øµÄÒâÒ壬ÉõÐÒ£¡
¹¤×÷ÈýÄê¡¢¼¸³É·ÏÈË£¡
ÎÒ2000Äê±ÏÒµÓÚ»ªÖеØÇøµÄÒ»¸öÀí¹¤¿Æ´óѧ£¬×¨ÒµÊÇ»úеµç×Ó£¬ÎÒµ±Ê±ÒѾǩÁËÒ»¼ÒÄÚ½ij¸öÊ¡¼¶»ú¹Ø¹¤× ......
[תÌû]
Îļþϵͳ¸ÅÄî
Ò». ÎļþÓëĿ¼µÄ¶¨Òå
1. Îļþϵͳ£ºËüÊÇ´ÅÅÌÉÏÓÐÌØ¶¨¸ñʽµÄÒ»Æ¬ÇøÓò£¬²Ù×÷ϵͳͨ¹ýÎļþϵͳ¿ÉÒÔ·½±ãµØ²éѰºÍ·ÃÎÊÆäÖÐËù°üº¬µÄ´ÅÅ̿飻
2. Îļþ£ºÎļþϵͳÖд洢Êý¾ÝµÄÒ»¸öÃüÃûµÄ¶ÔÏó¡£
3. Ŀ¼£ºÆäÖаüº¬Ðí¶àÎļþÏîÄ¿µÄÒ»ÀàÌØÊâÎļþ¡£
4. ×ÓĿ¼£º±»°üº¬ÔÚÁíÒ»¸öĿ¼ÖеÄĿ¼¡£
5. ÎļþÃû£ºÓÃÀ ......