随笔分类 - 操作系统
摘要:Linux操作系统文件系统基础知识详解(转载) blog.chinaunix.net/uid-26449305-id-3023428.html 三大经典 不可不知的Linux发行版本介绍(转载) blog.chinaunix.net/uid-26449305-id-3027547.html Linu
阅读全文
摘要:linux下网络常用命令摘要; #ifconfig <==查看网络接口信息 #ifconfig eth0 up <==启动网络设备 #ifconfig eth0 down <==关闭网络设备 #ifconfig 192.168.1.111 <==更改网络设备参数(重启失效) #ifup eth0 <
阅读全文
摘要:linux下重要的网络配置文件:一; /etc/sysconfig/network 文件内容;NETWORKING=yes <== yes启动网络no关闭网络HOSTNAME=hostname <== 主机名GATEWAY=192.168.1.1 <== 默认网关这个文件的主要功能是设置主机名(Ho
阅读全文
摘要:View Code the pages that will be touch:2 5 3 6 2 4 4 3 2 4 3 6 7 5 7 最大的内存页面数:5 FIFO child pid:3311 , my father pid:2 2 5 2 5 3 2 5 3 6 2 5 3 6 2 5 3 6 4 2 5 3 6 4 2 5 3 6 4 2 5 3 6 4 2 5 3 6 4 2 5 3 6 4 2 5 3 6 4 5 3 6 4 7 5 3 6 4 7 5 3 6 4 7 FIFO child end, ming : 9,que : 6.the pages that will be
阅读全文
摘要:shell的本意即“壳”,它是与核相对的一个概念。是指“提供使用者使用界面”的软件(命令解析器)。它类似于DOS下的command.com和后来的cmd.exe。它接收用户命令,然后调用相应的应用程序。同时它又是一种程序设计语言。作为命令解释语言,它交互式解释和执行用户输入的命令或者自动地解释和执行预先设定好的一连串的命令;作为程序设计语言,它定义了各种变量和参数,并提供了许多在高阶语言中才具有的控制结构,包括循环和分支。 一般为了加快命令的运行,同事更为有效的定制shell程序,shell中定义了一些内置的命令,我们把shell自身解释执行的命令成为内置命令,如cd、pwd、exit和e..
阅读全文
摘要:View Code 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <sys/types.h> 4 #include <unistd.h> 5 #include <string.h> 6 #include <sys/stat.h> 7 #include <fcntl.h> 8 #include <error.h> 9 #include <wait.h> 10 #define PSIZE 2 11 #define total_in
阅读全文
摘要:View Code 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <sys/types.h> 4 #include <unistd.h> 5 #include <string.h> 6 #include <sys/stat.h> 7 #include <fcntl.h> 8 #include <error.h> 9 #include <wait.h>10 #define PSIZE 211 12 int main(){13 i
阅读全文
摘要:挂载光盘,解压光盘内的tar安装包,并安装(Install VMware Tools in a Linux Guest)下面是vmware帮助文档里在linux下安装vmware tools的步骤,觉得不错。其中红字为重要步骤。Before you begin, make sure the virtual machine is powered on and the guest operating system is running.To install VMware Tools in a Linux guest1On the host, select VM > Install VMwar
阅读全文
摘要:========================================================================ubuntu默认root密码是什么? 没有默认的,因为你还没给root设置密码,,你第一个 user 是在 admin 组 ,所以他可以给 root 设置密码 安装完Ubuntu后忽然意识到没有设置root密码,不知道密码自然就无法进入根用户下。到网上搜了一下,原来是这麽回事。Ubuntu的 默认root密码是随机的,即每次开机都有一个新的root密码。解决办法: 我们可以在终端输入命令 sudo passwd,然后输入当前用户的密码,...
阅读全文
摘要:1. 创建子目录命令 mkdir用法: mkdir subdir (例: mkdir aaa)2. 转换路径命令 cd用法: cd subdir (例: cd aaa, cd .. ,cd \)3. 显示当前工作路径命令 pwd 用法:4. 拷贝文件命令 cp (参数: -a, -f, -i, -r )用法: cp sfile dfile5. 删除文件命令 rm用法: rm filename6. 删除目录命令 rmdir 用法: rmdir sdir(空目录)7. 显示文件内容和file1与file2之间的连接 cat(1) cat filename 显示文件内容(2) cat file1 f
阅读全文
摘要:今天在CodeBlocks下折腾来半天,终于把中文乱码给解决了,其实很简单。在环境设置里进行如下设置: 把Terminal to launch console programs那个选项改成gnome-terminal -t $TITLE -x 原来是xterm -T $TITLE –e 来源:http://blog.csdn.net/lanseshenhua/article/details/5206380
阅读全文
摘要:献给初学者:谈谈如何学习Linux操作系统
阅读全文

浙公网安备 33010602011771号