Computer Science 2211A/B Lecture Notes - Lecture 4: Documenta, Rmdir, Mkdir

80 views3 pages

Document Summary

Discuss this quote: unix was not meant to be a user-friendly operating system. It was meant to be a user-helpful operating system . What will cat foo foo foo display: assuming that bar is a directory, explain what the command rm -r bar does. How is the command different from rmdir bar: the command rmdir c. progs failed. Copyright 2014 mahmoud el-sakka: the command rmdir bar fails with a message saying that the directory is not empty. On running ls bar, no files are displayed. Does rm * remove these files as well: explain what the commands ls . * ; (ii) *[0-9]: a directory bar contains a number of files including one named -foo. How do you remove this -foo file: you have a file named * and a directory named my documents in the current directory. How will each command affect the inode of file2: when you invoke ls -l foo, the access time of foo changes.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents