Open main menu

CDOT Wiki β

Tutorial2: Unix / Linux File Management

Revision as of 15:29, 6 January 2020 by Msaul (talk | contribs) (Unix / Linux File Management Concepts)

UNIX / LINUX FILE MANAGEMEN


Main Objectives of this Practice Tutorial

  • x
  • x
  • x
  • x
  • x
  • x
  • x

Tutorial Reference Material

Course Notes / Software
Linux Command/Shortcut Reference
YouTube Videos
Course Notes:Tutorials:


Directory and File Management Commands Text File Management Commands

Text Editors


Brauer Instructional Videos:

Unix / Linux File Management Concepts

 
In Unix / Linux (as opposed to MS Windows), there are no drive letters (such as C:, or D:).
All files and directories appear under a single ancestor directory called "the root directory".

The Unix/Linux file system is hierarchical, similar to other operating systems such as Windows, Mac OSX, etc. Files are organized in directories. Directories may contain sub-directories.

In Unix / Linux (as opposed to MS Windows), there are no drive letters (such as C:, or D:). All files and directories appear under a single ancestor directory called "the root directory".

Learning how to issue Linux commands for navigating the Linux filesystem and manipulating directory and files are essential skills for Linux users and administrators.

In the Linux (Unix) OS, the "root directory" / is the starting directory, and other "child directories", "grandchild directories", etc. are created The hierarchical structure resembles an "upside- down tree". There is actually a command called tree that can display a "tree diagram"!

INVESTIGATION 1: MANAGING DIRECTORIES


x

Part 1: Creating / Removing Directories

x


Perform the Following Steps:

  1. x

Part 2: Creating / Copying / Moving / Removing Files

x

Perform the Following Steps:

  1. x




INVESTIGATION 2: USING TEXT EDITORS TO CREATE / MODIFY TEXT FILES


In this section, you will learn how to use the Linux Shell. Topics in the section include:

  • x
  • x
  • x
  • x
  • x

Part 1: Using the Nano Text Editor

x

Perform the Following Steps:

  1. x


Part 2: Using the VI / VIM Text Editor

x


Perform the following steps:

  1. x





LINUX PRACTICE QUESTIONS

The purpose of this section is to obtain extra practice to help with quizzes, your midterm, and your final exam.

Here is a link to the MS Word Document of ALL of the questions displayed below but with extra room to answer on the document to simulate a quiz:

https://ict.senecacollege.ca/~murray.saul/uli101/uli101_week2_practice.docx

Your instructor may take-up these questions during class. It is up to the student to attend classes in order to obtain the answers to the following questions. Your instructor will NOT provide these answers in any other form (eg. e-mail, etc).


Review Questions:

  1. x
  2. x
  3. x
  4. x
  5. x
  6. x
  7. x
  8. x
  9. Create a table listing each Linux command, useful options that were mentioned in the online assignment #1 and command purpose for the following Linux commands: '