我的CPP之路

路漫漫其修远兮
随笔 - 42, 文章 - 0, 评论 - 16, 引用 - 0
数据加载中……

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即可。

posted on 2010-12-23 10:50 yanvenhom 阅读(632) 评论(0)  编辑 收藏 引用 所属分类: UNIX


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理