Linux Pepar
Linux Pepar
2.
Identify the service which is used to translate a domain name to IP
address.
NIS
DNS
SMB
NFS
3.
Which of the following command is used to add a new user to the
system?
Using Linuxconf
Using adduser
Using useradd
All of the above
4.
Total primary partitions that can exist on one drive is_____________
1
2
16
4
5.
Identify the command which is used to create Linux File systems.
fsck
mkfs
fdisk
mount
6.
What is the core of the Linux operating system?
Terminal
Kernel
Command
Terminal
7.
In which of the following directory does the configuration files are
present?
/bin/
/root/
/etc/
/dev/
8.
Identify the OS which is not based on Linux.
Ubuntu
BSD
CentOS
Red Hat
9.
Where is the user data stored?
/etc/passwd
/root/password
/etc/password
/root/passwd
10.
Identify the latest file system type of Linux
Ext4
ext2
ext
mimix
12.
Which command is used to create a file
touch
pg
lp
print
13.
Which option of ls command used to view file
cat
-i
-o
-a
14.
Using which of the following command can view all of files?
ls -h
ls -a
ll
ls –k
15.
Which of the following sign is used to represent the user OS
[grandmother] directory?
/
.
~
..
16.
Which of the following is used to represent the root[mother] directory?
~
$
#
/
17.
The Apache2 configuration file is?
/etc/httpd/config.ini
/etc/apache2/site-avalible
/etc/httpd/conf/httpd.conf
/etc/srm.conf
18.
Which of the following command is used to see the custom added in the
samba server?
testparm
rpcinfo
infserv
NFSinfo
19.
Which of the following command is used to change the working
directory?
changed
chdr
dr
cd
20.
Which of the following commands is used to create files?
cat
lyrix
vi
ed
21
/etc/httpd/config.ini
/etc/apache2/site-avalible
/etc/httpd/conf.d/httpd.conf
/etc/srm.conf
Mkdir
Vim
Touch
Vi
23 How to edit file
Vim
Mkdir
Ls
Ll
Su username
Su su username
Mkdir username
Vim username
/etc/sshd
/var/ssh
/mnt/sshd
Pvcreate
Lvcreate
Fdick
Sudo –i
Sudo
Su
Exit
Addgroup
Groupadd
Useradd
Usermod
Chown and ch
None of above
777
755
775
600
Usermod
Useradd
Userdel
Monitoring
Creating
View
None of above
winSCP
putty
puttygen
None of above
Putty
Puttygen
Winscp
Filefilla
Cp
Mv
Ls
Lsof
Passwd root
Password root
Vim root
Cat root
Cp
Cat
Mv
Vi
/var/www
/var/www/html
/var/web
/home/web
43 Where we can edit samba configuration file
Vim /etc/samba/smb.conf
vi /etc/samba/
vi /etc/smb/smb.conf
None of above
vim /etc/ansible/hosts
vim /etc/
vim /var/www/html/index.html
None of above
Ufw
Ucw
Api
call
Yum install
Apt install
Suse install
None of them
777
775
755
700
Mkdir /var/web