Linux/Unix Operating Systems Quiz
Test your knowledge of Linux and Unix operating systems including shell commands, process management, terminal shortcuts, network configuration, and server administration.
Questions
which file need to be edited with nameserver ip to configure DNS client?
- /etc/hostname
- /etc/resolv.conf
- /etc/sysconfig/network
- /etc/named.conf
What is the command to update configuration changes on apache server without restarting the service?
- /usr/sbin/apachectl restart
- /usr/sbin/apachectl reload
- /usr/sbin/apachectl configtest
- /usr/sbin/apachectl full-server-status
how can we use enter into virtual console i.e what is the way to have more number of login sessions at a time?
- edit file /etc/inittab and change value to 5
- ctrl + 6
- alt + ctrl + del
- alt + F1 to F6
what does mean ethernet bonding in linux?
- it means bind service which is used for dns service
- this is related to troubleshooting tool for ethernet cable
- used while configuring routers on linux
- id binding two (or more) physical ethernet interfaces together to look and act as a single interface under Linux
How to find default gateway and routing tables in linux?
- route print
- route -n
- ifconfig
- netstat -rn
how to list the number ports opened on linux system?
- portmap
- top
- netstat -nap
- nmap -p
- lsof -i -n -P
what is the file, need to be edited for deny userlogin via ftp(vsftp service)?
- /etc/vsftpd/deny
- /etc/host/vsftpd.deny
- /etc/host.deny
- /etc/vsftpd/ftpusers
what is the command to start with client-side kickstart installation ?
- linux boot=kickstart
- linux askmethod
- linux ks=ftp://path/of/ks.cfg
- linux ask method kickstart
what is the use virtualhosting?
- to assign single site to many ip address
- assigning many ip address to single domain name
- assigning multiple virtual address to single ethenet interface
- to host more number of site(different domain) on single webserver
Up/Down Arrow Keys are used for?
- Memory Info
- Scroll back and forward through your terminal.
- Scroll through your most recent commands.
- List the interrupts in use.
CTRL+Z is used for?
- Force a process shut down.
- Send the current process to the background
- Exit the terminal
- Exit the current process
CTRL-R is used for?
- run a executable in current directory
- To search the commands.
- To find list of users logged in
- List all the process currently running
Shift-PageUp and Page Down used for?
- Scroll back and forward through your terminal.
- List the content of current directory
- Scroll through your most recent commands.
- Show command history
key is used for?
- List the content of current directory
- show the current user environment
- List the process currently run by the user
- Autocomplete
CTRL+C is used for?
- print kernel messages
- Shut down the system to hault
- Kill the current process
- Halt or reboot the machine
Which Is the latest version for android operating system
- Froyo
- Gingerbread
- Eclair
- Donut
How to find out pid of current shell?
- ps
- echo $$
- ptree
- psrinfo
zoneadm is used to configure zone in Solaris 10
- True
- False
How to Obtain the Process Privileges of the Current Shell?
- ppriv $$
- ps
- ps -ef
- prtdiag -v