Monday, May 21, 2012

RHCSA "Cheat Sheet"

I've got the RHCSA scheduled for June 8th.Originally, I was scheduled to take the exam back in early April, but I had two classes cancelled on me. As it turns out, if the RH200 5 day class isn't booked by at least 4 people, the class and exam are cancelled. Consequently, it's best to call and book over the phone in order to see which classes are "GTR" or guaranteed to run.

In my final preperation for the RHCSA I've gone through and found some good references for a "cheat sheet," pulling from Michael Jang's RHCSA/RHCE study guide as well as this fantastic wiki: http://rhce.co/rhel6/Main_Page for those seeking their RHCSA.The RHCE portion is incomplete, but the RHCSA part is complete and only slightly outdated. It is a fantastic resource.

Between those two sources, notes from Tommasino's Hands-on Guide to the RHCSA/RHCE, and my personal knowledge, I put together this study guide based on the RE200 exam objectives as of 2012 05 15.


Objectives:

Understand and use essential tools

  • Access a shell prompt and issue commands with correct syntax.
    • Change TTY
      • ctrl+alt+F1 
        • F1-F7 are available
    • Icon on top of left of GUI
    • -Menu/Applications/System Tools/Terminal

  • Use input-output redirection (>, >>, |, 2>, etc.).
    • > overwright
    • < send into a command or file
    • >> append
    • << append into a command or file
      • cat >> hoge.txt << _end
        • cat the file
        • enter text in tot he file until _end has been met 
    • | funnel into
    • 2> redirect errors
    • 2>&1 redirect errors to std out

  • Use grep and regular expressions to analyze text.
    • grep for nocase 
      • # grep -i
    • egrep ‘^(wheel|root)’ /etc/group
    • less file | [e]grep string
    • inverted search with grep and egrep
      • grep -v ^# /etc/nsswitch.conf
        egrep -v ^# /etc/nsswitch.conf

  • Access remote systems using ssh and VNC.
    • SSH user_name@host
    • ssh with x windows pass through
      • SSH host -lX user_name
    • vncviewer remote_host

  • Log in and switch users in multiuser runlevels.
    • Runlevels 2, 3, 5
    • su - username

  • Archive, compress, unpack, and uncompress files using tar, star, gzip, and bzip2.
    • # gzip big.jpg
      # bzip2 big.jpg
      # gzip -d big.jpg.gz
      # bzip2 -d big.jpg.bz2
      # tar czvf home.tar.gz /home
      # tar xzvf home.tar.gz /home
      yum install star
      # star -xattr -H=exustar -c -f=home.star /home/
      # star -x -f=home.star

  • Create and edit text files.
    • touch filename
    • vi filename

  • Create, delete, copy, and move files and directories.
    • touch, rm, rmdir, rm -fr, cp, mv -r, mv

  • Create hard and soft links.
    • ln source destination ## hard link
    •  ln -s source dest, 

  • List, set, and change standard ugo/rwx permissions.
    • ls -l
    • chmod +x +w +r, 
    • chmod 755 ##folders default
    • chown user.group
    • chgrp

  • Locate, read, and use system documentation including man, info, and files in /usr/share/doc.
    • man command_name
    • man -k command_name
    • search for command in the doc directory
    • ls -l /usr/share/doc | grep httpd

Note: Red Hat may use applications during the exam that are not included in Red Hat Enterprise Linux for the purpose of evaluating candidate's abilities to meet this objective.

Tuesday, May 1, 2012

Notes from the Net

So, I do a good bit web browsing research and figured I would post some of the links and things I find of interest. Hopefully this can be something ongoing that I can find time to do.

Storage:
A wealth of information from the USENIX Conference on File and Storage Technologies 12:
http://static.usenix.org/events/fast12/tech/

Certifications:
Quite possibly a complete list of certifications (updated as the author gets new info):
http://www.itcertificationmaster.com/list-of-all-it-certifications/
 

Managed File Transfer:
A managed file transfer ROI calculator:
http://www.filetransferconsulting.com/roi/

Linux Tools:
NFSping - a great tool for testing response times of your NFS server:
https://github.com/mprovost/NFSping


OS X:
A good explanation of OS X 10.7's Versions and Auto Save:
http://jacobonline.wordpress.com/2011/06/23/mac-os-x-lion-10-7-deep-dive-versions-and-auto-save/

Deploy studio for deploying OS X to workstations:
http://www.deploystudio.com/Home.html 

Deploying Eset Antivirus Business for OS X supported on a network:
http://kb.eset.com/esetkb/index?page=content&id=SOLN2565&actp=search&viewlocale=en_US&searchid=1335313017719


Learning:
A free course from Udemy on Operational Management:
http://www.udemy.com/operations-management/

--