Sunday, October 26, 2008

Chap 7 Self Test 3

1.) What command would you enter to move the file eakins, which is in your current directory, so it's listed in your home directory?

You would enter: mv eakins ..

2.) What is the difference between the commands rmdir and rm -r?

rmdir will only remove a directory if it is empty while rm -r will remove a directory and everything that is in it.

3.) Assume you are in the Projects directory, which has the subdirectories Old-projects, and New-projects. What is the command to move the Bookproject from New-projects to Old-projects?

You would enter: mv New-projects/Bookproject Old-projects

4.) You are in your home directory, where there is a file named users-on. What command will list the file in both your home directory and in the subdirectory Projects?

You would enter: ln users_on Projects

Sunday, October 19, 2008

Linux/UNIX Certifications

There are many different certifications that a person can get for Linx/UNIX, and I am going to go over two different websites today and the certifications they offer.

New Horizons Computer Learning Centers offers three main certifications. SUSE Linux is the first one, and it teaches how to log onto and navigate a multi-user Linux system. Next there is Novell Certified Linux Professional(CLP) basically teaches the same as SUSE Linux but for professionals. Finally there is CompTIA Linux+ which certifies professionals that have over six months of experience and want to certify there knowledge in different aspects of troubleshooting, installation and more.

CertCities.com offers a wide variety of certifications. Instead of going over what each one is this time I am just going to list them because there are so many:

Linux+, Linux Certified Administrator, Linux Certified Engineer, Linux Professional Institute Certification Level I, Linux Professional Institute Certification Level II, Master Linux Certified Engineer, Red Hat Certified Architect, Red Hat Certified Engineer, and Red Hat Certified Technician.

This may seem like a lot, but it is a small sample of what is out there, and for those willing to take the time to learn it it could open a lot of doors into the business world. I myself am hoping to get a job in the computer industry after I finish school, and having Linux in my studies is going to help. By knowing how to operate Linux there are jobs doing Computer Network and Server Administration. If you work for a company that uses Linux then it pretty much opens up any position in their IT department.

Sunday, October 5, 2008

Chapter 5 Self Test 1

1) If you are using more to examine a file and decide you want to look back at the previous page what do you enter?

Press the "b" key to move back one screen of text.

2) From more, how can you quickly start editing the current file with vi?

Press the "v" key to enter the Visual Editor.

3) What command tells cut to output the first five characters of every line from the file practice?

Type: cut -f1 practice

4) What command tells grep to look for all lines consisting of only the letter Z followed by any four characters in a file filename?

Type: grep 'Z....' filename

5) What command instructs grep to look through all files in the current directory for lines containing the string Pat Loyd and output just the names of the files containing the match?

Type: grep -l 'Pat Loyd' *

6) How do you get the answer to the following with four figures to the right of the decimal point? Add 424 to 79, divide that sum by 161, then raise that result to the 15th power.

First type: scale=4

Then type: ((424+79)/161)^15

7) What command tells a utility to search through every file in the current directory for the name Catherine Thamzin?

Type: grep 'Catherine Thamzin' * more

8) What command results in a listing of the number of words and the number of lines in the files practice and users_on

Type: wc -wl practice users_on

9) What command creates a new file chapter consisting of the contents of the files section1, section2, section3, and section4, with all the lines numbered?

Type: cat -n section1 section 2 section3 section 4 > chapter

10) A file called empnames contains many employee names, with exactly one name on each line. What command outputs the names in the file in multiple columns, with columns filled before rows?

Type: column empnames more