Redhat Linux Interview Questions and Answers part 9

0
3717
Q: – Can we convert ext2 filesystem to ext3 file system?

Yes, we can convert ext2 to ext3 file system by tune2fs command.
tune2fs –j   /dev/<Block-Device-Name>

 Q: – What "neat" command will do?

neat command provides Graphical interface to change network settings for network devices.

 Q: – Which protocol is required to allow local printing and print sharing?

Internet Printing Protocol (IPP) is required to allow local printing and print sharing.

Q: – What is SWAP Space?

Swap space in Linux is used when the amount of physical memory (RAM) is full. If the system needs more memory resources and the RAM is full, inactive pages in memory are moved to the swap space. While swap space can help machines with a small amount of RAM, it should not be considered a replacement for more RAM. Swap space is located on hard drives, which have a slower access time than physical memory.

Q: – What are the steps to create SWAP files or Partition?

– Create swap partition or file
– Write special signature using “mkswap
– Activate swap space by “swapon –a” command
– Add swap entry into /etc/fstab file

Q: – How you will create swap file of size 4 GB and explain swap file entry in /etc/fstab file?

Use “dd” command to create swap file.
dd if=/dev/zero  of=/SWAPFILE  bs=1024  count=4
mkswap /SWAPFILE
swapon –a
Entry into /etc/fstab file.
/SWAPFILE   swap   swap   defaults   0   0

Q: – What is CUPS?

CUPS stands for "Common UNIX Printing System". CUPS is a open source printing system developed by Apple Inc. CUPS uses the Internet Printing Protocol (IPP) to allow local printing and print sharing.

Q: – How we will create ext4 file system?

# mke2fs -t ext4 /dev/DEV

Submitted By:-Parveen Kumar            Email-ID: – parveen.antil@gmail.com

SHARE

LEAVE A REPLY