CS223 – Linux & UNIX Command Line

In this class you will learn about the UNIX and Linux operating systems. You will learn what UNIX and Linux are, and then spend most of the class learning how to use the command line interface. That is, you will learn a whole bunch of UNIX commands, but you will have to type them. Learning to type commands and harness the power of the command line will help prepare you for the advanced class, Linux Administration & Security (CSIA 430), where you will learn how to administer UNIX/Linux computers.

If you’re pursuing a career in Network Administration or Cyber Security an excellent long term goal is to be able to write your own commands to accomplish the tasks you have as a system admin. But the UNIX command line is complicated enough that a good intermediate goal is to be able to understand small programs called scripts that others have already written. The scripts combine the individual commands to perform complicated tasks that would otherwise require a program written in a 4th level language such as C++ or Java. So this class has been designed to teach you the individual commands and ways to combine the commands into scripts, with the goal of being able to take existing scripts and adapt them to your needs. I think you will be successful if you can take something like:

    grep ‘^sako\.html\? ‘ *.htm | sed s@sako@tsako@g > examplePipe.out$$

and understand what it does, then modify it to meet your needs. (Yes, even though it looks like the cat walked across the keyboard, this command really does something.)

 You will also learn about basic file system security, the different UNIX/Linux disk partitions and the file system, which are necessary if you are planning on going into Cyber Security.

2 – First Commands: Moving Around the File System and Displaying Files
3 – Creating Files and Directories, Permissions
Test Questions
5 – Filename Wildcards, Pipes and Redirects, and Protecting Special Characters