作者共發了3篇帖子。 內容轉換:不轉換▼
 
點擊 回復
467 4
我们这周的部分作业(表示刚刚忙完)
UTC+13:00
張樹人
中級工程師 十級
1樓 發表于:2014-7-13 16:05
1. File system and command shell 
A command shell is a keyboard based interface to the operating system. Commands are typed in at the command line; they perform operations and may print out results. Commands may take options (switches) to modify their behaviour. You can find out information about commands by using the man command e.g. man ls to look up the manual page for the ls list command: alternatively you can use google  On Linux most things are represented as files in the file system including programs, commands, settings, devices, data, applications etc. 
a) Explore the operating system file system using the following commands: ls, cd, pwd and more. Get used to moving around the file system using these commands. 
b) Find your operating systems file which represents the kernel, where is it? Which version is it? And how big is it? 
c) Use ps and top to find out which processes are running, which processes takes most CPU time? Which takes most memory? What are the different states in which a process can be? 
UTC+13:00
張樹人
中級工程師 十級
2樓 發表于:2014-7-13 16:06
2. I/O Redirection and Pipes 
a) The (>) operator can be used to redirect the output of a command (what would normally be printed on the screen) into a file. Redirect the output of the ls and ps commands into files. 
b) The output of one command can be redirected into another command using the pipe operator (|). Thus the (screen) output of the first command becomes the (keyboard) input of the second command. Use the wc and ps commands to count how many processes that are running. Show the composite command. 

3. Finding Files 
a) How can the find command be used to find all files whose names contain the word “kernel”? 

4. Editing Files 
a) Learn how to use the nano editor to edit a simple text file. For example edit a file to contain your groups names and student numbers. (There are lots of online guides to using nano e.g. http://www.raspberrypi-spy.co.uk/2013/11/quick-guide-to-nano-text-editor-on-the-raspberry-pi/

Once you have completed these practical exercises you should individually demonstrate your understanding and competency to your tutor during tutorial. You need your tutor to be satisfied that you have this new practical knowledge and skill in order to pass this module. 
UTC+13:00
張樹人
中級工程師 十級
3樓 發表于:2014-7-13 16:06
Further Investigation Questions 
Please answer the following questions. 
1. Linux history 
a) List some of the key developments to the Linux operating system over its lifetime and explain why they are important. 

2. Embedded OS 
a) What is an embedded operating system? 
b) List three places where you might find an embedded operating system. 

3. Open source software 
a) Why might an open source operating system be preferable to a closed source one? 
b) How do companies like RedHat make money from ‘free’ software? 

4. References 
Provide a list references to all material you have used. 

回復帖子

內容:
用戶名: 您目前是匿名發表
驗證碼:
(快捷鍵:Ctrl+Enter)
 

本帖信息

點擊數:467 回複數:4
評論數: ?
作者:張樹人
最後回復:巨大八爪鱼
最後回復時間:2014-9-29 12:43
 
©2010-2024 Arslanbar Ver2.0
除非另有聲明,本站採用創用CC姓名標示-相同方式分享 3.0 Unported許可協議進行許可。