Q:What are the different types of file system overhead ?
A:There are 3 different types of file system as mentioned below
1)Inode-It denotes individual refer points to the actual data in the file system like a pointer to the address
2)Superblock-contains the inodes and it is present in every corner of the file system so that other superblock can be used in case of unavailability of other superblocks .
3)Journalling -It keep track of every process that is being runned.It has great data integrity and less file transfer which is very important for real time examples like bank process.
Q:What are the different task that can be performed for partioning file system in linux?
A:Parted and fdisk can be used for partioning file system in linux where fdiska is most often used always.
Q:When and how to use fschk in linux ?
A:Fschk is used for doing the maintenance work in file system and it should be done after un-mounting all the partions in the file system as fschk performed while the files is in process is not valid.
Q:What is the use of df and du command in linux?
A:du denotes size of the directories in the file system/directories.df command denotes size on file system,it will tel how many blocks used and percentage amount of space used and remaining.
(i,e)df shows blocks usage and (df -i ) shows in terms of inode usage
Q:What is the use of fstab and mtab command in linux ?
A: /etc/fstab -It will show which file systems are automatically mounted while booting
/etc/mtab -It shows which files are mounted currently while the process is executed.
Q:What is Shebang?
A:The shebang are the one starting with exclamation mark.The contents of the shebang line will be automatically ignored by the interpreter, because the # character is a comment marker in many scripting languages. The syntax of feature consists of the character sequence #!. This initiating character sequence may be followed by whitespace, then followed by the (absolute) path to the interpreter program that will provide the interpretation. The shebang is looked for and used when a script is invoked directly (as with a regular executable), and largely to the end of making scripts look and act like regular executable, to the operating system and to the user.
No comments:
Post a Comment