shantanusarkar Mount 20130711-060540


Posted:

Objective

To create a file mount.py which when executed gives output as the mount command.

Procedure

  1. Open the file "/mount/proc"
  2. Read the file.
  3. Print the read data.
  4. Close the file.

Program

The link.

Run

Run the above problem like:

$ chmod +x mount.py
$ ./mount.py
Contents © 2013 dgplug - Powered by Nikola
Share
UA-42392315-1