Assignment1Semester22018ICT2631 MEMO
Assignment1Semester22018ICT2631 MEMO
2. Which one of the following does not belong in the list below?
1. GNOME
2. Xfce
3. CUPS
4. KDE
3. Assume you need to terminate the shell you are working in, which command would you use
to terminate the shell?
1. close
2. end
3. term
4. exit
4. Which one of keys below will complete a command line is bash automatically?
1. Tab
2. Shift
3. Ctrl Alt
4. Right arrow
1
ICT2631
Assignment 1 Semester 2 for 2018
1. md
2. makedir
3. mkdir
4. madir
7. Which option best describes a system allowing you to boot into more than one operating system?
1. Access boot
2. BASH
3. Dual boot
4. Clustering
8. What keyboard shortcut would you use to open an application from the main menu in
Metacity?
1. CTRL+F1
2. ALT+M
3. ALT+m
4. ALT+F1
9. The ________ command will not list any files with names starting with s.
1. ls –no=s*
2. ls - -hide=s
3. ls – hide=s*
4. ls - -hide=s*
ICT2631
Assignment 1 Semester 2 for 2018
1. Press i
2. Press Alt+I
3. Press V
4. Press ctrl+I
11. The command to find files and list those with execute permissions for all groups in the
current directory would be:
12. What command must be used to see which commands are running in the background?
1. bg –ls
2. bgground –ls
3. jobs
4. jobs –ls
3. renice
4. nice
14. What test expression would you use in a shell script to determine if a file is a named pipe?
ICT2631
Assignment 1 Semester 2 for 2018
1. -n file
2. -f file
3. -u file
4. -p file
15. What test expression would you use in a shell script to determine if a PI1 is less than or
equal to PI2?
1. PI –le PI2
2. PI –!= PI2
3. PI –ge PI2
4. PI –ne PI2
16. What option would you pass to the installer when installing Linux and the machine does not
1. nopar
2. noide
3. noprobe
4. noid
17. Packages can be installed in groups using yum. You would use ___________ subcommand
1. - -probe
2. - -groupinfo
3. groupinfo
4. query.
ICT2631
Assignment 1 Semester 2 for 2018
1. to assign permissions to the group so that all users in the group have the same
permissions.
1. msdos
2. ext4
3. fat32
4. swap
20. When unmounting a file system, it is better to use a directory name rather than a device
1. the unmount will fail it the device if mounted in more than one location.
3. the ummount command will unmount all file systems related to the device.