In which directory all device files are stored?
1.usr
2.bin
3.dev
4.etc
Interrupts in Linux is handle by following files
1.Access file
2.Access file
3.hard disk file
4.Proc interrupts file
the link counter of the file will increased by soft line .(T/F)
1.True
2.false
3.both a and b
4.none of these
-wxrwx-x is equivalent to
1.567
2.675
3.571
4.672
A swap partition is actually
1.Primary partition
2.Extended partition
3.Extended memory
4.Virtual memory
All run levels are stored in
1.etc/fstab
2.etc/init
3.etc/inittab
4.etc/rc.d
Default file system type of Linux is
1.etx
2.ext2
3.etx3
4.mimix
Device files have following two types?
1.Character & Block
2.Character & Socket
3. Block & FIFO
4.Input & output
Directory have following device special files?
1./etc
2./etc/dev
3./etc/bin
4./dev
Executable or binary files will be:
1.Device files
2.Regular files
3.Special files
4.Directory files
For a user _______ is an autoexec.bat equivalent file in Linux
1.bashrc
2. .bash_rc
3.bash_profile
4.bashprofile
Hidden file can be viewed using
1.ls -l
2.ls -a
3.ls -h
4.None of the above
If there is any problem with the command, the error is given by
1.Kernel
2.Shell
3.root
4. None of the above
In Linux a user can upload
1.UNIX
2.I/O Devices
3.Kernel Modules
4. File Base I/O
In practical, at the most _____ terminals can be opened at a time
1. 3
2. 6
3.10
4.12
init 6 is
1.Shutdown
2.Restart
3.Text mode
4.Graphics mode
On Linux which of the following is not a valid file type
1.Socket
2.Inode
3.Softlinked
4.FIFO
Password is applied using
1.psswd
2.pssword
3.uerpasswd
4. passwd username
Samba is actually a
1.Share
2. File server
3.File
4.None of the above
The command to check a partition is
1.fsck
2.fstab
3.fdisk
4.diskdruid
The command to view the partition information is
1.fsck
2.fstab
3.fdisk
4.diskdruid
The core of Linux OS is also called
1.Kernel
2.Shell
3.root
4.bash
The dictonery is removed by using which of the following command?
1.rdir
2.rd
3.rdr
4.rmdir
The directory file have:
1.File names & File location
2. File names & Inode Numbers
3.File names & Permissions
4.File names & Address
The Linux file system is created by using the following command
1.fsck
2.mkfs
3.mount
4.both b and c
The mounted partition information is stored in
1.etc/passwd
2.etc/fstab
3.etc/inittab
4.sbin/lilo
To change the ownership of a file use
1.chmod
2.chgrp
3.chown
4.change
To check if a service is running, the command is
1.Ntsysv
2.setup
3.etc/rc.d/init.d/service
4.etc/serice
To create multiple directories in one shot ________ is used
1.mkdir
2.mkdir -a
3.mkdir -p
4.mkdir -h
To get information about the Ethernet card, ___________ command is used
1.ipconfig
2.ifconfig
3.eth0
4.man Ethernet
To remove a directory which is not empty ____ is used
1.rmdir
2.rmdir-r
3. rm -r
4.rm
To search a pattern in a file _________ can be used
1.grep
2.egrep
3.find
4.search
To setup a Firewall, the command is
1.ntsysv
2.setup
3.etc/firewall
4.etc/install
To start graphics mode use
1. init 3
2.init 5
3. init 0
4.init 6
To unmount a filesystem ________ command is ised
1.Umount
2.unmount
3.dismount
4. mount -u
To view all the installed RPM packages use
1.rpm -qa
2.rpm -iv
3.rpm -h
4. rpm -I
User can be assigned to a group while creating the user. The command for this is
1.adduser -g
2.useradd -a
3.aduser -a
4. useradd -g
User passwords are stored in
1.etc/password
2.root/password
3.etc/passwd
4.root/passwd
wc -l will give the
1. Number of lines
2.Number of characters
3. Number of words
4. All of the above
Which is an example for CD-ROM?
1.Virtual Terminal
2.block special file
3.Terminal
4.Serial modem
Which is an example of Terminal?
1.CD-ROM
2.character special file
3.Memory
4.RAM
Which is not correct statement regarding file types?
1.Hard links share same inode number
2.Socket files are Unix domain sockets
3.Soft links cannot be created across partitions
4.Character file is a special file e) none of these
Which of the following command is used for removing the files?
1.escape
2.rm
3.dm
4.erase
Which of the following command is used to record session in Linux?
1.session
2.transcipt
3.script
4.both a and c
which of the following occurs for ln command?
1.a file is created that is a copy of an existing file
2.a file is moved from one location to another
3.a file is renamed
4.that points to an existing file is created by a file
Which of the following range of Linux system?
1.20 ot 0
2.20 to 0
3.20 to 19
4.0 to 19
__ is used to change the file/folder permission
1.chown
2.chmod
3.mod
4.chgrp
___ gives information about an user
1.who
2.who am i
3.who -i
4. None of the above
___ is used to rename files
1.ren
2.move
3.rename
4.mv
_____ will add contents to an existing file
1. cat > file
2.cat >> file
3.cat file | file1
4.at file > file1