1. What command is used to count the total number of lines, words, and characters contained in a file? ### wc
2. What command is used to remove files?
### rm
3. What command is used to remove the directory?
### rmdir
4. What command is used with vi editor to delete a single character?
### x
5. What hardware architectures are not supported by Red Hat?
### Macintosh
6. The physical layer of a network
### defines the electrical characteristics of signals passed between the computer and communication devices
7. What TCP/IP protocol is used for remote terminal connection service?
### TELNET
8. How many networks and nodes per network, are allowed by the Class B network?
### 16,384 networks and 65,534 nodes per network
9. What service is used to translate domain names to IP addresses?
### DNS
10. Which of the following command is used to create a Linux installation hoot floppy?
### dd and rawrite
11. How can you add Amit, a new user, to your system?
### All of the above
12. What file specifies the order in which to use specified name services?
### /etc/nsswitch.conf
13. How many primary partitions can exist on one drive?
### 4
14. In which directory can you store system user default files used for creating user directories?
### /etc/skel
15. How could you install the file ipchains-1.3.9-5.i386.rpm?
### rpm -i ipchains* .i386.rpm
16. What does FSF stand for?
### Free Software Foundation
17. Which is a valid format for mounting a CD-ROM drive?
### mount -t iso9660 /dev/cdrom / mnt/cdrom
### mount /dev/cdrom
### mount /mnt/cdrom
18. What command do you use to create Linux file systems?
### mkfs
19. Which of the following command can you execute to count the number of lines in a file?
### wc - l
20. Which of the following is not a communication command?
### grep
21. What command is used to display the characteristics of a process?
### ps
22. What command is used to list the files chap0l, chap02 and chap04?
### ls - x chap0[124]
23. What command is used with vi editor to replace text from cursor to right
### R
24. What sign is used to back up over typing errors in vi?
### ash symbol
25. What sign is used to erase or kill an entire line you have typed and start you are on a new line (but not display a new prompt)?
### @
26. What command is used to sort the lines of data in a file in alphabetical order?
### sort
27. What command is used with vi editor to save file and remain in the editing mode?
### :w
28. What command is used with vi editor to move back to the beginning of a word?
### b
29. What command is used with vi editor to search a pattern in the forward direction?
### /
30. What command is used to add printing jobs to the queue?
### lpr
31. What protocol(s) is(are) allowed a user to retrieve her/his mail from the mail server to her/his mail reader?
### POP3
32. What project is currently developing X server support?
### XFree86 Project, Inc.
33. What X-based tool is available for configuring the X Window system?
### XF86Setup
34. Which of the following server is used with the BIND package?
### named
35. What port does squid listen, by default?
### 3128
36. Which of the following is the main Apache configuration file?
### /etc/httpd/conf/httpd.conf
37. Which of the following command is used to access an SMB share on a Linux system?
### smbclient
38. Which of the following command is used to see the services running in NFS server?
### rpcinfo
39. In which tcp_wrappers file can you specify to allow all connections from all hosts?
### /etc/hosts.allow
40. What does GNU stand for?
### GNU's not Unix
41. What shell's wild-card is used to match any number of characters including none?
### *
42. What command is used to list contents of directories?
### ls
43. What command is used with vi editor to append text at end of line?
### A
44. What command is used to copy directory structures in and out?
### cpio
45. In OSI network architecture, the dialogue control and token management are responsible of
### session layer
46. Layer one of the OSI model is
### physical layer
47. What layer of OSI determines the interface of the system with the user?
### Application
48. What command is used to remove jobs from the print queue?
### lprm
49. How can you navigate around virtual consoles?
### Alt+Function Key
50. Which of the following NIS clients, finds and stores information about an NIS domain and server?
### ypbind
51. What command is used to save the standard output in a file, as well as display it on the terminal?
### tee
52. What command is used to count just the number of lines contained in a file?
### wc - l
53. In OSI network architecture, the routing is performed by
### network layer
54. The 32-bit internet address 10000000 00001010 00000010 00011110 will be written in dotted decimal notation as
### 128.10.2.30
55. Which class network is used for a collection of a small number of networks with a large number of nodes?
### Class A
56. What type of addressing format is used by Class A network.
### Net.Node.Node.Node
57. What types of installations require a special boot disk?
### NFS
### FTP
### PCMCIA
58. RPM
### stands for Red Hat Package Manager
59. What command is used to query for a specific package with RPM?
### rpm -q
60. What script is run for setting bash global defaults for all users?
### /etc/profile
61. Who founded the Linux Kernel?
### Linus Torvalds
62. Which of the following is not a part of default Red Hat Linux email system?
### Pine
63. Which tool allows you to change your default X Window desktop.
### switchdesk
64. In what file can you specify which users are not allowed to access a system via FTP?
### /etc/ftpusers
65. Which program is used to schedule particular jobs or programs at particular times on the system?
### cron
66. Which command can force all buffers to disk?
### sync
67. How many extended partitions can exist on one drive?
### 1
68. For you to create a swap partition by using fdisk, what must the partition's system ID type be?
### 82
69. What file contains the list of port numbers (and associated names) monitored by inetd?
### /etc/services
70. The location of some system configuration and system administrator executable files, is:
### /sbin
71. The location for subdirectories for local programs and executables for user and administrative commands, is:
### /usr
72. Which of the following is not a filter command?
### cat
73. What command is used to display a file contents in octal form?
### od
74. What command is used to assign executable permission to all of the files named "report"?
### chmod ugo + x report
75. What command is used to change the working directory?
### cd
76. What command is used to count the number of files in the current directory by using pipes?
### ls | wc - l
77. What command is used to count just the number of characters in a file?
### wc - c
78. How many class A, B and C network IDs can exist?
### 2,113,658


No comments: