operating systems Online Quiz - 19
operating systems Online Quiz - 19
Questions
Which command can be used to verify that all logical volumes in volume group datavg are mirrored?
- lsvg -l datavg
- lslv -m datavg
- lslv -p datavg
- lsvg -p datavg
A System p administrator plans to install a new system with AIX 5.3 TL5 using a NIM server. Which of the following is required?
- NIM server must be at same AIX version and TL or higher.
- NIM server must at the same AIX version
- New server must have existing AIX installation.
- NIM server must be at least at AIX 5.2 and ML9
A system administrator issued the errpt command and had no results. The system administrator determined that error logging was turned off. Which of the following commands would start logging system errors?
- /usr/lib/errstart
- /usr/lib/errlogger
- /usr/bin/errmsg
- /usr/lib/errdemon
A System p adminstrator has a new application that requires AIX 5.3, technology level 6 and service pack 2. Which of the following will display the currently installed service pack level?
- lslpp -L
- oslevel -s
- uname -v
- instfix -r
Which of the following commands calls rc.net during the second boot phase to initialize and start TCP/IP interfaces?
- init
- rc
- cfgmgr
- inittab
which command is used to exit the single user mode ?
- exit
- init 5
- init 3
- init 2
which command is used to list the contens of the tar file ?
- tar –tvf newfile.tar
- tar –xvf newfile.tar
- tar –cvf newfile.tar
- tar -avf newfile.tar
Which command is used to count the no of characters in a file?
- wc -m
- wc -l
- wc -s
- wc -w
Which directory contains the configuration files?
- /boot
- /root
- /etc
- /bin
Which of the following runlevel boots Linux in Single user mode?
- init 0
- init 1
- init 2
- init 3
What is the command used to create user account?
- usercreate
- createuser
- adduser
- useradd
How will you find the files that are accessed/edited before a day?
- find -mtime -24
- find -mday -1
- find -mday +1
- find -mtime -1
What will the following command do? echo *
- It is similar to 'ls -a' command and displays all the hidden files in the current directory
- displays all the files in the /etc directory
- displays all the files in the root
- It is similar to 'ls' command and displays all the files in the current directory
How will you restrict the incoming message?
- mesp
- mesn
- mesk
- mesg
How will the kernal differentiate the ordinary files and device files?
- using the temp filed in the file's inode
- using the id filed in the file's inode
- using the type filed in the file's inode
- using the type filed in the directory's inode
How will you substitute the strings in a file using SED?
- s/old/new/l
- s/old/new/g
- s/new/old/g
- s/old/new/f
How will you change the ownership of the file and group?
- chown user:group file
- chgrp user:group file
- chown group:user file
- chgrp group:user file
what is the use of chroot command?
- Runs a command with a different root directory
- Runs a command with a same root directory
- Runs a command in root directory
- Runs a command with a different /opt directory