Find the answer to your Linux question:
Results 1 to 4 of 4
Can someone help with these coursework questions. (4) What is the main difference between the df and du commands? (5) Try typing the % du s /etc write the output. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2005
    Posts
    2

    Editing In Linux


    Can someone help with these coursework questions.


    (4) What is the main difference between the df and du commands?

    (5) Try typing the
    % du s /etc
    write the output.

    (6) Execute the following command sequence:
    % cd
    % mkdor temp
    % cp /etc/passwd temp
    % chmod 400 temp
    If you were now to execute the command ls temp what would you expect the output to be?

    (7) What would you expect to obtain from executing the command ls l temp? Did you obtain what you expected? If not, why not?

    Any answers would be apreciated, Thanks!

  2. #2
    Linux Engineer
    Join Date
    Mar 2005
    Location
    Where my hat is
    Posts
    766
    Read the rules for this site. Gotta do your own homework.
    Registered Linux user #384279
    Vector Linux SOHO 7

  3. #3
    Linux Guru Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,252
    Um...first off, do your own homework (as retired1af said).

    Second, why not just open your terminal and run the commands?

  4. #4
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284
    topic locked, do your own homework.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •