Brush up on Linux
November 8, 2011
A friend recently asked me if I could point her to the right resources so she could brush up on her Linux skills before an interview. She had used Linux many years ago, and that too in a very limited way. She fuzzily recalled navigating the file system, using vi, starting some service, and not much more. Obviously, Linux is such a vast subject that you cannot just cram your way to a successful interview. However, it certainly is possible to prepare for some basic questions asked during an interview.
Since her situation was such that the interviewing team used Red Hat Enterprise Linux, I suggested she head over to the CentOS public mirror list and download CentOS 6 LiveDVD. It would allow her to play around before installing.
She downloaded VirtualBox and installed it. She created a VM and used the downloaded LiveDVD to first play and then install CentOS.
Finally, I recommended some online resources and tutorials to help her get familiar with Linux.
Commands cheat sheet: http://www.pixelbeat.org/cmdline.html
To manage software (packages) in RHEL, CentOS, and Fedora, use yum: http://yum.baseurl.org/wiki/YumCommands
vi cheat sheet: http://www.gentoo.org/doc/en/vi-guide.xml
bash beginner’s tutorial; although its title says BeOS, it seems to be relevant to bash in general: http://www.beforever.com/bashtut.htm
Filesystem Hierarchy Standard (FHS); good to know the standard for which files go where: http://www.pathname.com/fhs/2.2/