GAT Subject :: All Aptitude Test ::

Hassan
1.How can you rebuild the RPM file to include the new patches?
A. - - recompile
B. - - rebuild
C. - - generate
D. - - recompile

2.What command is used to set user and group quotas?
A. /sbin/usrquota
B. /sbin/edquota
C. /sbin/quotaon
D. /sbin/usrquota

3.NIS
A. is Network Information Service
B. is a simple directory service whose main purpose is to allow remote authentication of systems on local network systems
C. was formerly known as yellow pages
D. is Network Information Service

4.In order to increase the amount of memory available for a system, what is the maximum size of a swap partition (with kernel version 2.2.x)?
A. 2GB
B. 128MB
C. 64MB
D. 2GB

5.Which file is used to configure which filesystems are mounted?
A. /etc/mount.sys
B. /etc/filesys
C. /etc/sysconfig
D. /etc/mount.sys

6.Who has developed the Linux?
A. Bob Young
B. Mark Eving
C. Richard Stallman
D. Bob Young

7.What does OSS stand for?
A. Open System Software
B. Original Source Software
C. Open Source Software
D. Open System Software

8.Which of the following subdirectory(ies) contains the device files?
A. /dev
B. /bin
C. /etc
D. /dev

9.Which of the following subdirectory(ies) contains the system boot scripts.
A. /dev
B. /bin
C. /etc
D. /dev

10.What of the following tool is used to check and repair Linux file systems?
A. mkfs
B. fdisk
C. fsck
D. mkfs

11.Which of the following tool is used to partition your hard drive?
A. mkfs
B. fdisk
C. fsck
D. mkfs

12.Where can system and mail logs be found in Ret Hat Linux?
A. /var/log
B. /etc/log
C. /mail
D. /var/log

13.What command is used to display and create files?
A. lyrix
B. ed
C. vi
D. lyrix

14.Which of the following command can be used to rename a file in UNIX?
A. ren
B. mv
C. remove
D. ren

15.What command is used to remove a file?
A. del
B. mv
C. rm
D. del

16.What command is used to display the top of the file?
A. grep
B. more
C. head
D. grep

17.What command can be used to get information about yourself?
A. which
B. pwd
C. i /4
D. which

18.What layer protocol is responsible for user and the application programme support such as passwords, resource sharing, file transfer and network management?
A. Layer 4 protocols
B. Layer 5 protocols
C. Layer 6 protocols
D. Layer 4 protocols

19.What package group will you select during the custom configuration to enable the machine to communicate with Windows clients?
A. SMB (Samba) Connectivity
B. IPX/NetWare Connectivity
C. Dial-up Workstation
D. SMB (Samba) Connectivity

20.Which of the following tool allows you to change your default X Window desktop?
A. switchdesk
B. intrc
C. xinitre
D. switchdesk

21.Which of the following is the main Apache configuration file?
A. httpd.conf
B. apache.con
C. /etc/profile
D. httpd.conf

22.What command is used to sort the lines of data in a file in reverse order?
A. sort - r
B. st
C. sh
D. sort - r

23.What command is used to print a file?
A. lp
B. pg
C. prn
D. lp

24.The command chmod 761 letter is equivalent to
A. chmod 4=7, g = 6, o = 1 letter
B. chmod a = 761 letter
C. chmod u = rwx, g = rw, o = x letter
D. chmod 4=7, g = 6, o = 1 letter

25.What command is used with vi editor to move forward to the end of a word?
A. c
B. d
C. b
D. c

26.The IP address are based on
A. 16-bit addresses
B. 32-bit addresses
C. 64-bit addresses
D. 16-bit addresses

27.What TCP/IP protocol is used for file transfer with minimal capability and minimal overhead?
A. TELNET
B. TFTP
C. FTP
D. TELNET

28.What TCP/IP protocol is used for transferring electronic mail messages from one machine to another?
A. FTP
B. SNMP
C. SMTP
D. FTP

29.What command is used to halt a Linux system?
A. init 0
B. Shutdown -t
C. Shutdown -g -y0
D. init 0

30.Which daemon is used for the Apache server?
A. apached
B. httpd
C. html
D. apached


Date to Date Current Affairs 2022

PakMCQs.net

Quick Links

GAT Subject



   Computer Science    English Mcqs    Agriculture    

Engineering



   Computer Science    Civil Engineering    

Technical



   Networking    Electronics    Database    

Past Papers



   Model Papers    FPSC Papers