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...
You are to create a hard link to one of your existing files on someone else's...
You are to create a hard link to one of your existing files on someone else's directory (or vice versa). In other words, you know that you can link a file within your own directories, but you can also have a link to one of your files on other areas of the unix system as long as you have permissions to write to that directory (in this case, your partner). Create a subdirectory called temp where you can place this...
please use linux/unix command terminal to complete, step 1 1-create a new directory named by inlab4...
please use linux/unix command terminal to complete, step 1 1-create a new directory named by inlab4 enter directory inlab4 create a new file named by reverse.c with the following contents and then close the file: /*reverse.c */ #include <stdio.h> reverse(char *before, char *after); main() { char str[100]; /*Buffer to hold reversed string */ reverse("cat", str); /*Reverse the string "cat" */ printf("reverse(\"cat\")=%s\n", str); /*Display result */ reverse("noon", str); /*Reverse the string "noon" */ printf("reverse(\"noon\")=%s\n", str); /*Display result */ } reverse(char *before,...
can you please do this lab? use lunix or C program its a continuation of a...
can you please do this lab? use lunix or C program its a continuation of a previous lab. the previous lab: Unix lab 4: compile and link multiple c or c++ files Please do the following tasks step by step: create a new directory named by inlab4 enter directory inlab4 create a new file named by reverse.c with the following contents and then close the file: /*reverse.c */ #include <stdio.h> reverse(char *before, char *after); main() {       char str[100];    /*Buffer...
Linux Operation SECTION 2 – File and Directory Permissions: FILE PERMISSIONS: What is the command used...
Linux Operation SECTION 2 – File and Directory Permissions: FILE PERMISSIONS: What is the command used to find out which user account you are logged into?      . This command may come in handy in the following exercises. Ensure you are in your home directory of the student1 account. Use the echo command with output redirection to create a file called labfile4 and put the following text in this file: “This is the first line of labfile4”. Using the symbolic notation...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT