
学习Linux
文章平均质量分 77
薄帷清风
小河弯弯 浪遏飞舟
展开
-
把Linux系统装在U盘上
最近在学操作系统这门课,有些代码需要在Linux上跑,自己又不想装双系统,一是比较麻烦,而是怕玩儿坏了,需要重新设置引导记录云云。于是,把Linux装在U盘上这个想法自然而然地就产生了。网上有很多介绍,可是要么牛头不对马嘴(U盘装Linux双系统),要么过程繁琐或者含糊其辞。经过一番探索,下面介绍一下我的经验。我的电脑配置如下(其实和电脑配置没有太大关系,Linux一些驱动基本都能够运行,原创 2016-03-27 11:27:15 · 15755 阅读 · 4 评论 -
Linux基础练习_进程
【问题1】Write a C program that creates a new process to copy the files using the sampleMyCopy. This program should spawn a new process using fork system call. Then useexeclp to execute MyCopy progr原创 2016-05-05 15:49:09 · 552 阅读 · 0 评论 -
Linux基础练习_多线程
【问题描述】Fast-food restaurant problem: Design, implement and test a solution forthe IPC problem specified below. Suppose we have the following scenario: 50 customers successively come to a fast-原创 2016-05-05 20:01:26 · 4759 阅读 · 0 评论 -
Linux基础练习_复习题
Q:It has been suggested that the first part of each UNIX file be kept in the same disk block as its i-node. What good would this do?A:When reading the file, if the first partof file is kept in t原创 2016-06-30 23:18:29 · 805 阅读 · 0 评论