Académique Documents
Professionnel Documents
Culture Documents
URSE.
================================================================================
====UDDALAK BANERJEE(UBJ)
Q.What is SCSI?
ANS:IT is set of evolving standard electronic interfaces that allow personal com
puters to communicate with peripheral hardware
it allows connecting of 7 to 15.
Q.What is ide?
ANS:It is a standard electronic interface used between the data path of a comput
er motherboard and the disk storage device.
Q.What is Gateway?
ANS:The Ip address of the machine that has the network IDs of other network in t
he Internet/Intranet so that it can forward the packets to other networks for de
livery.
Q.What is a netmask?
ANS:A 32 bit value that allows the recipient of IP packets to distinguish networ
k ID of the ipaddress from the host id .
Q.What is MasterBootRecord?
ANS:It is information stored on the first sector of any hard disk.IT also contai
ns bootloader program.
Q.What are the types of Partition?
ANS: 1.primary--partition from which OS boots
2.Extended--store data or program
#There can me more than one primary partition at a time but only one of them is
a active primary partition.
Q.What is partition naming scheme in Red Hat LInux?
ANS: /dev/xxyN
/dev-where all device files reside
xx:-Types of device on which the partition resides hd or sd
y:-device on which partition resides.
/dev/hda2-First hard disk's(a) second primary partition.
/dev/sda5-First hard disk's first logical partition.
N-partition numbers.
1-4-primary partition
5-logical partition.
Q.What are 2 types of partition?
Ans:1./boot partition (less than 16 mb)
2.root partition
#all files except boot files are stored here.
Q.What is network boot diskette image file?
ANs:bootnet.img
Q.What is 'PCMCIA'?
ANS:IT stands for personal computer Memory card International Assosiation.
PCMCIA support diskette image file is pcmcia.img and is located in the images di
rectory on the Redhat cd.
Q.WHAT ARE The way of installing REDHAT linux in your system?
Ans: 1.local CDROM
2.NFS IMAGE
3.FTP
4.HARD DRIVE
Q.What Installation classes in Redhat linux?
Ans: 1.WorkStation
2.Server
3.Custom
Q.How to start installation from cd?
ANs: d:
cd\dosutils
autoboot.bat
Q.What is default method of installation?
Ans:The default method of installation of RedHat Linux is autoprobing to automat
ically detect the hardware in your system.
Q.What is expert mode?
Ans:boot:expert
if initial set up doesnot detect hardware you may need to restart the installat
ion in expert mode.
Q.How can we perform unintended installation?
ANs: by KICKSTART MODE
boot:linux ks
it looks for file named ks in the floopy
Q.What are the five virtual consoles ?
Ans:f1-- installation program's dialog box
f2--- shell prompt
f3---install log
f4---system log
f5---Other messages
Q.Why is virtual consoles used?
Ans:so that user can work on multiple terminals.
Q.How to change keyboard type after you have booted your RedHat Linux System?
Ans:usr/sbin/kbconfig
or setup command if logged in as root
Q.How is partition created?
ANs:1.disk druid utility
2.fdisk
Incase os/2 is also present how would partitions be done?
Ans: fdisk can be used to set partition types to linux swap and linux native.
Q.What are Druid Buttons sections options?
Ans:ADD,EDIT,DELETE,OK AND BACK
Q.What are function keys that are used incase of Druid?
Ans:f2--add nfs
f5:Reset
TO select every partition we use spacebar
Q.How to configure a mouse?
ANs:to determine the interface of the mouse device,check where the mouse cable p
lugs into the system.
IF the connector at the end of the mouse cable plugs into a rectangular connecto
r,you have a serial mouse.
Q.How to configure mouse after installation.?
Ans:/usr/sbin/mouseconfig command
Q.What are options for setting ip addresses at installation time?
Ans:1.Static Ip address
2.BOOTp
3.DHCP
Q.how to configure Tcp/ip?
ANs:Enter ipaddress -
NETMASK-
DEFAULT GATEWAY-
PRIMARY NAMESERVER-
Q.How configure the network?
ANs:Domain name
Host name
Secondary Nameserver(IP)
Tertiary Nameserver(ip)
Q.how to configure clock and set to GMT?
ANs:Select hardware clockset to GMT
and uncheck this to follow local time
Q.how to select services for start on reboots?
ANs:Services dialog box /ok/enter /configurePrinter/enter
Q.what is authentication configuration?
Ans: ENABLE NIS
USE SHADOW PASSWORD
ENABLE MD5 PASSWORDS(ENABLING THIS ALLOW A LONG PASSWORD OF 256 CHARACTERS)
Q.HOW TO INSTALL LILO?
Ans:1.install it at MASTER BOOT RECORD
2.First sector of your root partition.
Q.HOW is xwindow system configured?
ANs:While configuring the xfree86 server,the installation program launches the x
configurator utility.
Q. How to customerize your computer?
ANs:Custom/ok/Custom Monitor/OK/Screen Config/Dont probe
Q. What is default group name?
ANs: Username
Q.How to check Userid and groupid?
Ans: using id [opition][username]
options:
-u--- username
-g---groupid
-G---Supplimentary group
-n---print name
Q.What is umask value?
ANs: IT determines the initial file permission on newly created file.
Umask 002 --> 666 -002=664
Q. What are default values of user and group?
Ans root userid=0 groupid=0
bin groupid=1
steve groupid=500
Q.How can you force all files created to have same groupid as that of directory
in which it is created?
Ans:chmod g+s (directory name)
Q.what is a sticky bit?
Ans:For an executable program file,a sticky bit saves the programs text image on
the swap device so that it loads more quickly when it runs.Thus the program sti
cks to memory ,hence name "sticky bit"
Q.How to use sticky bit?
Ans:chmod +t dir1
Q.What info is present in following files
1./etc/passwd
2./etc/shadow
3./etc/group
4./etc/gshadow
5./etc/default/useradd
6./etc/skel
7./etc/login.defs
Ans:1, user account information
2.maintains password related information of the users in an encrypted and secure
3.maintain group information
4.maintain group password in an encrypted form
5.Maintain the default information that is used whenever new user is created
6.The directory contains default files that are copied to user home directory.
7.This contains system wide settings that are used while creating new users and
groups.
Q.What are contents of above files?
Ans:1.Username,Password,userid,groupid,comment,HOME,LOGINSHELL
2.Username,password,last,may,must,warn,Expire,diable,reserved.
3.groupname,password,groupid,user.
5. Group,home,inactive,expire,shell,skel
directly etc/default/useradd can be edited to create users
6.It acts as home directory for newly created user
7./etc/logindefs file contains system wide settings
Q.what are opitions available for useradd command?
Ans: -C comment
-d Path for user home directory
default:/home/loginname
-e expire date
when user account will be disabled
mm/dd/yy format
-f inactive days
value 0 disable the account -1 does not disable
-g initial groups .The option is used to specify the group name or number of the
users login group. Default is 1
-G group-this option specifies a list of supplementary groups of which you will
become a member
-u UID-default users if value>99 and greater than every other id
0-99 -uid used for the system
UID STARTS FROM 500 UPWARDS
-s shell -specify loginshell
-n -turnoff the feature that group will have same name as the username
Q.How to delete a user account?
Ans:userdel command
userdel [-r] login
used remove his home directory and all files in his home directory
Q.How to add a group?
Ans:group add -g GID
-r creates system account that is group having GID lower than 500
-f supress error messages
Q how to modify a group?
Ans: groupmod -n ubj
where ubj is name of the group
else use group id with -g
group mod -g 234
Q.what is use of groupdel?
ANs: It deletes a groupaccount from the system.
It changes /etc/group file
You have to manually change groupid for the files whose groupowner has been dele
ted.
groupdel groupname
Q.What is use of newgrp?
Ans: It is used to change the group identification for a user.It logs the user i
nto a new group.
newgrp[group]
IF no group is specified the group is changed to the users default GID
Q. Suppose ubj has primary group troy and supp group thomas .How to login as tho
mas?
Ans newgrp thomas.
Q.what are uses of pwconv and pwunconv?
ANs:pwconv-creates the shadow file that stores userpassword in an encrypted form
to provide better security.
pwunconv- remove the shadow password system.
Q.What are use of pwck and grpck?
Ans:pwck[-r][password shadow]
-r is used to execute pwck command in readonly mode.
here etc/passwd and etc/shadow files are checked.
grpck[-r] [group][shadow]
etc/group and etc/shadow options are checked.
Q.How can a root user run LINUX CONF?
ANS: IT can be run by root by any of the following interfaces--
1.command line
2.character based
3.xwindow based
4.web based
to enable it rootconfig/networking/misc/linuxnetworkacc
Q.What is use of KDE?
Ans: it is k desktop environment.
it is used to manage users and groups in LINUX SYSTEM.
Q.what are options used with chgrp?
ANs:IT is used to change group ownership for a file or directory.
option -r changes group ownership of files and directories recursively under a p
articular directory
-f it suppresses most of the error messages for instance if the filename that yo
u specify doesnot exist
-v it stands for verbose .this displays status of all files processed.
Q,what are options used with su?
Ans : - makes a new shell created as users login shell
This reset all the environment variables except TERM,HOME,SHELL
-m or -p- it preserves the environment variable
It doesnot reset the values of environment variable the HOME,USER,LOGINNAME,SHEL
LS
-S(SHELL NAME) IT SPECIFIES SHELL TO BE USED BY NEW USER
-C(COMMAND) IT SPECIFIES COMMANDS TO BE RUN ON NEW SHELL
Q.How to know whether printer daemon is running or not?
Ans lpc status
Q.what are components of print services in LINUX?
Ans:1.the print device files(/dev file)
2.the spooler(by lpd command)
3.print queue'(by lpq command)
4.the printer capablity etc/printcap database
Q.what is spooling?
Ans:Spooling is the process by which print jobs are rendered to a disk based fil
e that is understood by the printer and sent for printing
It is carried out by lpd(lline printer daemon)
The spool file are store at/var/spool/lpd
Q.Suppose two printer lp and lp0 are connected through server Message block (SMB
) service?HOw to arrange for the directory specification?
Ans::sd--- specifies spool directory
:mx-----specifies maximum filesize 0 index unlimited
:sh---specifies printer to suppress the printing of page header
:if---Specifies name of input filter
:at---specifies name of accounting file
Q.What is a taper?
Ans:IT is a tapedrive backup utility.
IT is used to maintain compressed or uncompressed archive on tapes or removable
media
Taper -t devicetype option device
l-harddisk
i-ide tape drive
s-scsi tape drive
m-removable floppy disk
z-floppy tape drive.
Q What is use of rpm?
Ans1.Installing
2.upgrading
3.uninstalling
4.Querying
5 .verifying
i386 means architecture of package
rpm -option package file
i=install
v=verify
h=print hashmark
u=upgrade
f=upgrade if older version exist
q=used to query on packages
e=uninstall
Q.Suppose you come across a file that you donot recognise and would like to find
out which package owns it .How would you do ?
Ans: rpm -qf/usr/bin/ubj
ubj-12.4.14
Q.SUppose you accidentally deleted somefile but are not very sure what you have
deleted .If you want to verify what you have deleted then what step should you t
ake?
Ans rpm-Va
Q.How to obtain more information about a package?
Ans:rpm -qip eject 2.0
Q.What are the 3 modes of cpio facility?
Ans:copy out-copy files into archive
copy in -extracts and list files from an archive
copy pass-copy files from one directory to another.
Q What is the disadvantage of dump facility?
Ans:It makes the backup program specific to only one filesystem.
Q WHat are backup tools?
Ans in redhat it is tar,cpio and dump
Utilities used are BRU 200O AND TAPER