User Tools

Site Tools


os:lab05
Return to Home page

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
os:lab05 [2019/11/18 17:34]
zioskenz [Exercise 02: Concurrent exchange-sort on files]
os:lab05 [2019/11/25 14:39] (current)
zioskenz
Line 25: Line 25:
 === B. === === B. ===
 Use pipe and redirection on shell command to perform the following operations: Use pipe and redirection on shell command to perform the following operations:
-  * count the number of files/​directories in the directory tree with root your "''​home''"​ directory+  * count the number of files/​directories ​contained ​in your "''​home''"​ directory ​(do not analyze sub-directories)
   * after downloading the file [[https://​www.skenz.it/​listing/​os/​lab/​lab01e01in.txt|lab01e01in.txt]] in a directory, print the total number of strings in the file.   * after downloading the file [[https://​www.skenz.it/​listing/​os/​lab/​lab01e01in.txt|lab01e01in.txt]] in a directory, print the total number of strings in the file.
-  * count the number of active processes in the system who are owned by the user "''​root''"​.+  * count the number of active processes in the system who are owned by the user "''​root''" ​(Suggestion:​ use the command ''​man os''​ to analyze the option ''​-U''​ of the command).
  
  

If you found any error, or if you want to partecipate to the editing of this wiki, please contact: admin [at] skenz.it

You can reuse, distribute or modify the content of this page, but you must cite in any document (or webpage) this url: https://www.skenz.it/os/lab05?rev=1574689176&do=diff
/web/htdocs/www.skenz.it/home/data/pages/os/lab05.txt ยท Last modified: 2019/11/25 14:39 by zioskenz

Privacy Policy