Question
1. Create an empty file in your home directory named myEmptyFile. Show a long listing of the non-hidden files/directories in your home directory. 2. Hide
1. Create an empty file in your home directory named myEmptyFile. Show a long listing of the non-hidden files/directories in your home directory. 2. Hide the file you created in Q1. Show a long listing of the non-hidden files/directories in your home directory. Show a long listing of all the files/directories in your home directory. Note the entry of the hidden file you created. 3. Hard link the hidden file you have in Q2 to a file named MyVisibleFile in a new directory named assignment-2. Show a long listing of the non-hidden files/directories in your assignment-2 directory. Note the difference between this listing and the listing of Q1 in regards to the linked files. 4. Find the device file for the /var file system, then find out whether it is of a block or character type and its both major & minor numbers. 5. Find a device connected to the system that uses a character device file. 6. What is the file system type of the /tmp file system? Show its current mounting options and explain their meaning. 7. Find the available disk space in the /opt file system in GigaBytes. 8. Which file is used to mount file systems at boot time? Show the contents of that file. Explain the fields for the /var/log file system. 9. You are going to umount the /home file system for maintenance, but before you do that you need to find out the users who are currently using that file system to alert them. Show a list of the users who may be using that file system. 10. Display the memory block size and the total memory on the server. 11. Display the currently allocated swap space, how much of it is in use and its device file location. 12. Find the name of the cdrom device driver (i.e. module)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started