Saturday, March 23, 2019


Disk Space Free Command (df): -
Q) What is df command ?
Ans – df command shows the number and name of the file systems, total memory allocated to each file system, used memory and free memory of each file system.
Q) What is health check command ?
Ans - $ df<Enter – Key>
Q) How we get different file systems, used and available memory in human readable format?
Ans - $ df –h<Enter – Key>
Q) How we get the number of file systems ?
Ans - $ df | wc –l<Enter – Key>

Disk Space Used (du): -
Q) How you check the memory used by files, sub – directories of my current directory ?
Ans - $ du –ch<Enter – Key>
It shows grand total memory used by the directory in human readable format.
Q) How you check hidden files memory ?
Ans - $ du –a<Enter – Key>
Q) How you check the memory used by directory in kilobyte ?
Ans - $ du –k<Enter – Key>

No comments:

Post a Comment

Interview Questions: - (UNIX - 0) UNIX: -   Q) How to get inode number of a file/directory? Ans – $ ls –i <File/Directory_Name...