ubuntu-10.10使用筆記-2
查看cpu信息可以使用
cat /proc/cpuinfo
查看顯卡使用
lspci |grep VGA
dmidecode是從bios中讀取信息
ifconfig
configure une interface réseau
總結:
在mnt掛載的xp(host)的文件夾中,
codeblocks,普通用戶,無法寫入.c
File /mnt/xp-e/lll.c could not be saved...
codeblocks,sudo,可以讀寫.c
gedit,普通用戶,能寫txt,但無法寫入.c
gedit:
** (gedit:2127): WARNING **: Hit unhandled case 0 (Error renaming temporary file: Text file busy) in parse_error.
Erreur inattendue : Erreur lors du renommage du fichier temporaire : Fichier texte occupé
為什么gedit能寫入.txt但不能寫入.c呢?不解。
ps,pstree,top,查看進程
在UNIX環境下怎么查看、殺死進程?
http://topic.csdn.net/t/20020623/17/824552.html
cat /etc/services 所有程序的默認端口列表都在這里了
netstat -an 查看系統運行時端口的狀態
lsof | grep LISTEN
列出LISTEN的端口列表。
rename測試沒有成功,最好需要學習perl表達式。
對單一文件重命名用mv即可。
cat /proc/cpuinfo
查看顯卡使用
lspci |grep VGA
dmidecode是從bios中讀取信息
ifconfig
configure une interface réseau
總結:
在mnt掛載的xp(host)的文件夾中,
codeblocks,普通用戶,無法寫入.c
File /mnt/xp-e/lll.c could not be saved...
codeblocks,sudo,可以讀寫.c
gedit,普通用戶,能寫txt,但無法寫入.c
gedit:
** (gedit:2127): WARNING **: Hit unhandled case 0 (Error renaming temporary file: Text file busy) in parse_error.
Erreur inattendue : Erreur lors du renommage du fichier temporaire : Fichier texte occupé
為什么gedit能寫入.txt但不能寫入.c呢?不解。
ps,pstree,top,查看進程
在UNIX環境下怎么查看、殺死進程?
http://topic.csdn.net/t/20020623/17/824552.html
cat /etc/services 所有程序的默認端口列表都在這里了
netstat -an 查看系統運行時端口的狀態
lsof | grep LISTEN
列出LISTEN的端口列表。
rename測試沒有成功,最好需要學習perl表達式。
對單一文件重命名用mv即可。
posted on 2010-12-23 10:50 yanvenhom 閱讀(662) 評論(0) 編輯 收藏 引用 所屬分類: UNIX