Question

1. By convention, how are configuration files separated from regular files? (NOTE: A practical effect of...

1. By convention, how are configuration files separated from regular files? (NOTE: A practical effect of the separation is that they are not displayed by the default version of the ls command)

                        a. the prefix "rc" (rc.filename)               c. the extension .cfig

                        b. a dot (.) at the beginning                    d. by having the SUID bit set

2. The IP address which is reserved for local loopback (equivalent to "localhost") is:

                        a. 255.255.255.0                                   c. 192.168.70.1

                        b. 127.0.0.1                                          d. 1.0.0.0

3. Which of these commands is used as a basic test of the network connection to another machine?

                        a. testroute                                           c. ethereal

                        b. findhost                                            d. ping

4. Which of these terms refers to those processes which run in the background waiting for work? (NOTE: They frequently are used to respond to network requests.)

                        a. daemons                                           c. waiters

                        b. imps                                                 d. scripts

5. Which of these commands provides basic information about a machines network interface(s)?

                        a. netconfig                                          c. catnet

                        b. setconfig                                           d. ifconfig

6. What is the common name of the protocol which identifies computers using 128-bit addresses, and which soon may replace the existing Internet Protocol?

                        a. IP-128                                               c. IPv6

                        b. DHCP                                               d. XMLIP

7. Which command allows you to cancel a job which has been scheduled for a future time?

                        a. cancel                                               c. kill

                        b. unset                                                d. atrm

8. If you were logged in as a user named flashgordon, which of these commands would return you to your home directory? (NOTE: You may assume that the user's home directory resides within the /home system directory for this question.)

                        a. cd                                                     c. cd ~

                        b. cd /home/flashgordon                         d. all of the above

9. When a device is formatted to use the extended-x (2 or 3 or 4) filesystem, a directory is created at the top of that filesystem. What is the name of that directory?

                        a. lost+found                                        c. A:

                        b. C:                                                     d. floppy

10. Which of these commands will display information about currently-mounted filesystems?

                        a. mke2fs                                              c. df

                        b. umount                                            d. all of the above

11. Which of these options to the tar command allows the user to specify the name of the output file?

                        a. --name                                              c. -f

                        b. -n                                                     d. --output

12. Which of these commands will display the contents of a compressed file without forcing the user to first save an uncompressed copy to disk?

                        a. zcat                                                 c. gzip --display

                        b. catzip                                               d. less -z

13. Which of these algorithms is an example of "lossy" compression?

                        a. zip                                                    c. JPEG

                        b. gzip                                                  d. tar

14. What information is displayed by the command man 5 fstab?

                        a. the first five lines of the man page on the fstab command

                        b. information about both the 5 command and the fstab command

                        c. information about the file named fstab

                        d. information about version 5 of the fstab command

15. Which of these commands will create an archive of the home directory of a user named dalearden?

                        a. tar -xvf darden.tar /home/dalearden

                        b. tar -xvf /darden.tar

                        c. tar -cvf darden.tar /home/dalearden

                        d. tar -uvf /home/dalearden darden.tar

16. Which of these options to the ls command will give the inode number assigned to a file?

                        a. --physical                                          c. --grid

                        b. -g                                                     d. -i

17. Which directory contains default configuration files to be copied into the home directory of a new user?

                        a. /etc/defaultuser                                 c. /etc/skel

                        b. /home/default                                   d. /usr/def.conf

18. Which of these commands allows you to schedule a job for a specific time in the future?

                        a. at                                                      c. schedule

                        b. batch                                                d. onetime

19. Which of these Open/LibreOffice applications is used to format the display of mathematical equations (as opposed to calculating the results)?

                        a. Impress                                             c. Calc

                        b. Math                                                d. Equate

20. Which of these commands is commonly used to show the contents of a single environment variable?

                        a.showvar                                             c. display

                        b. echo                                                 d. environ

21. Write a command which will unmount a CD located in the device /dev/cdrom, formatted with the ISO-9660 filesystem, located at the mount point /media/cdrom.

22. Write a UNIX command which will re-direct a long listing of the /etc directory into a file named directory.txt (located in your current working directory).

23. Write a command which will back up the contents of /home/princessaura into a file named paura.tar.

24. Write a command which will compress the archive created in the previous question.

25. Write a piped command sequence which will display a long directory listing of the /etc directory on your screen one page at a time.

26. Describe the permissions assigned by the command chmod 600 file.txt.

27. What combination of Layer 3 and Layer 4 protocols is used to facilitate communication over the Internet.

28. What command would you use to remove job number 5 from your default print queue?

29. What is the absolute pathname of the file which defines aliases available to ALL users?

30. View the environment variables on your system. Name the one which identifies the version of BASH you are using.

Homework Answers

Answer #1

1) .Cfig is used to seperate the configuration files from regular files.

2). the ip address that is reserved for local loopback is 127.0.0.1. it is the loopback address in ipv4 protocol.

3).Ping is the command that is used to test one network device with the another network device.

4).Daemons refer to those processes which run in the background waiting for work.

5). ifconfig command provides the information about the network interfaces.

6). IPV6 is 128 bit addressing protocol.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
PART 4: Learn about commands to navigate the directory tree structure: use the ls –ali /  ...
PART 4: Learn about commands to navigate the directory tree structure: use the ls –ali /   command to review the contents of the / directory Review the Linux Filesystem Standard (FSSTD) and document the following directories’ contents / ------- |--bin |--boot               |--dev               |--etc |--home               |--lib               |--mnt               |--opt               |--root               |--sbin               |--tmp               |--usr               |--var 3. use the cd etc  OR cd /etc  to change your default directory to the etc directory 4. use the...
Time: 10 minutes Objective: Create, view and extract tar archives. Description:  In this activity, the student will...
Time: 10 minutes Objective: Create, view and extract tar archives. Description:  In this activity, the student will use the tar utility to create, view, and extract a tar archive and use it options to name the tar file and view files as they are being archived and extracted. 1.     Start your Linux server virtual machine and sign-on with your individual user ID.  All Activities should begin in your home directory. 2.    Create a directory by typing  mkdir Act6-1 and press Enter.  Switch to this new directory...
PLEASE DO QUICK LINUX ASSIGNMENT PLEASE ILL THUMBS UP You need to paste the command and...
PLEASE DO QUICK LINUX ASSIGNMENT PLEASE ILL THUMBS UP You need to paste the command and the output in a word document and submit it. Part1: 1. Log in to Linux using your user account name and password. 2. If you logged in using a graphical login screen, open a terminal window by clicking on the icon in the lower left corner of the desktop to open the main menu, then selecting System Tools, then Terminal. A terminal window opens....
Write UNIX commands to perform the following tasks. Each task must use exactly one line of...
Write UNIX commands to perform the following tasks. Each task must use exactly one line of command. Unless stated otherwise, all files are assumed to be at your current working directory. a) (10 points) Print your current working directory into a file named file1 b) (10 points) Assume that your current working directory is NOT the same as your home directory. Print all file and subdirectory names of your home directory into a file named file2. c) (15 points) Copy...
Create x empty files in a given directory (x is a number), following a naming format...
Create x empty files in a given directory (x is a number), following a naming format like this: myfile1, myfile2, etc. Ask the user to enter the first part file name and the number of files he/she wants to create. Hint: you may use the “touch” command to quickly create empty files. Take two screenshots: a) Display the source code in an editor (#4-13) b) Execute your script in the terminal, and display the command and the result (#4-14)
Project 10-3 In this hands-on project, you view the configuration of the System Log Daemon and...
Project 10-3 In this hands-on project, you view the configuration of the System Log Daemon and the logrotate utility on Ubuntu Server Linux. 1. Boot your Ubuntu Server Linux virtual machine. After your Linux system has been loaded, log into tty1 using the user name of root and the password of LNXrocks!. 2. At the command prompt, type ls –l /dev/log and press Enter. What is the file type? Which daemon on Ubuntu Server Linux uses this file and what...
UNIX COMMANDS Task B Create a one-line command, using the famous.dat file, to add the word...
UNIX COMMANDS Task B Create a one-line command, using the famous.dat file, to add the word " STREET" to the address, for all who live on 2nd or 3rd. For example: "2nd" becomes "2nd STREET" and "3rd" becomes "3rd STREET". Display only the first 9 lines. Hint: Use 2 sed statements with pipes. Task C Display all lines in famous.dat that end in 0 or 1, and have a 1 in the 3rd from the last column. For example lines...
Client / Server using named pipes with thread and fork() in C/C++ **Note** You will need...
Client / Server using named pipes with thread and fork() in C/C++ **Note** You will need to write a client program and a server program for this question to be correct. ** **Cannot use socket** client the client application that will get the command from the user and pass the command to be executed from the command line, parses the command and puts a binary representation of the parse into a shared memory segment. At this point, the client will...
Part A. Input Validation (Name your C program yourLastName_yourFirstName_Lab4a.c) 1. Place the code you developed in...
Part A. Input Validation (Name your C program yourLastName_yourFirstName_Lab4a.c) 1. Place the code you developed in Lab 2 to obtain a diameter value from the user and compute the volume of a sphere (we assumed that to be the shape of a balloon) in a new program, and implement the following restriction on the user’s input: the user should enter a value for the diameter which is at least 8 inches but not larger than 60 inches. Using an if-else...
Create a new file named quiz_loops.py. b. Write your name and date in a comment. c....
Create a new file named quiz_loops.py. b. Write your name and date in a comment. c. Write a for loop which will display this set of values 2,4,6,8,10,12,14,16. d. Write a while which will display this set of values 16,13,10,7,4,1,-2. e. Write a for loop which will print ‘Loops are fun’ three times. f. Write a while loop that will prompt you for four numbers. Convert the number to an integer. Compute the power as power = power ** number....