Difference between revisions of "Tutorial 2 - Unix / Linux File Management"

From CDOT Wiki
Jump to: navigation, search
Line 1: Line 1:
Content under development
+
=UNIX / LINUX FILE MANAGEMENT CONCEPTS=
 +
<br>
 +
===Main Objectives of this Practice Tutorial===
 +
 
 +
:* Understand the purpose of '''directories''' and '''directory pathnames'''.
 +
 
 +
:* Use common '''Unix / Linux commands''' to perform '''directory management''' tasks.
 +
 
 +
:* Use '''Text Editors''' to create and modify text files
 +
 
 +
:* Use Common Unix / Linux commands to '''manage''' and '''manipulate''' text files.
 +
<br><br>
 +
 
 +
===Tutorial Reference Material===
 +
 
 +
{|width="100%" cellspacing="0" cellpadding="10"
 +
 
 +
|- valign="top"
 +
 
 +
|colspan="1" style="font-size:16px;font-weight:bold;border-bottom: thin solid black;border-spacing:0px;"|Course Notes<br>
 +
 
 +
|colspan="2" style="font-size:16px;font-weight:bold;border-bottom: thin solid black;border-spacing:0px;padding-left:15px;"|Linux Command/Shortcut Reference<br>
 +
 
 +
|- valign="top" style="padding-left:15px;"
 +
 
 +
|colspan="1" |Slides:<ul><li>[https://matrix.senecacollege.ca/~osl640/slides/OSL640-Week2.pdf PDF] | [https://matrix.senecacollege.ca/~osl640/slides/OSL640-Week2.pptx PPTX]</li></ul>Tutorials:<ul><li>[http://www.cheat-sheets.org/saved-copy/Nano_Cheat_Sheet.pdf Nano Reference Sheet (PDF)]</li><li>[https://www.smashingmagazine.com/2010/05/vi-editor-linux-terminal-cheat-sheet-pdf Vi Reference Sheet (PDF)]</li></ul>
 +
 
 +
 
 +
|  style="padding-left:15px;" |File Management
 +
*[http://man7.org/linux/man-pages/man1/pwd.1.html pwd]<br>
 +
*[http://man7.org/linux/man-pages/man1/cd.1p.html cd]<br>
 +
*[http://man7.org/linux/man-pages/man1/ls.1p.html ls]<br>
 +
*[https://www.systutorials.com/docs/linux/man/1-tree/ tree]<br>
 +
*[http://man7.org/linux/man-pages/man1/mkdir.1.html mkdir]<br>
 +
*[http://man7.org/linux/man-pages/man1/rmdir.1.html rmdir]<br>
 +
*[http://man7.org/linux/man-pages/man1/cp.1.html cp]<br>
 +
*[http://man7.org/linux/man-pages/man1/mv.1p.html mv]<br>
 +
*[http://man7.org/linux/man-pages/man1/rm.1.html rm] , [http://man7.org/linux/man-pages/man1/rm.1.html rm -r]<br>
 +
 
 +
|  style="padding-left:15px;"|Text Editors /<br>File Content
 +
*[http://man7.org/linux/man-pages/man1/vi.1p.html vi] , *[https://linux.die.net/man/1/nano nano]<br>
 +
*[http://man7.org/linux/man-pages/man1/cat.1.html cat]<br>
 +
*[http://man7.org/linux/man-pages/man1/more.1.html more] , [http://man7.org/linux/man-pages/man1/less.1.html less]<br>
 +
* [http://man7.org/linux/man-pages/man1/head.1.html head] , [http://man7.org/linux/man-pages/man1/tail.1.html tail]
 +
*[http://man7.org/linux/man-pages/man1/touch.1.html touch]<br>
 +
*[http://man7.org/linux/man-pages/man1/file.1.html file]<br>
 +
*[http://man7.org/linux/man-pages/man1/find.1.html find]<br>
 +
*[http://man7.org/linux/man-pages/man1/diff.1.html diff]<br>
 +
*[http://man7.org/linux/man-pages/man1/sort.1.html sort]<br>
 +
*[http://man7.org/linux/man-pages/man1/uniq.1.html uniq]<br>
 +
*[http://linuxcommand.org/lc3_man_pages/grep1.html grep]<br>
 +
 
 +
|}
  
 
= INVESTIGATION 1: MANAGING DIRECTORIES =
 
= INVESTIGATION 1: MANAGING DIRECTORIES =

Revision as of 17:58, 30 August 2021

UNIX / LINUX FILE MANAGEMENT CONCEPTS


Main Objectives of this Practice Tutorial

  • Understand the purpose of directories and directory pathnames.
  • Use common Unix / Linux commands to perform directory management tasks.
  • Use Text Editors to create and modify text files
  • Use Common Unix / Linux commands to manage and manipulate text files.



Tutorial Reference Material

Course Notes
Linux Command/Shortcut Reference
Slides:Tutorials:


File Management Text Editors /
File Content

INVESTIGATION 1: MANAGING DIRECTORIES

INVESTIGATION 2: MANAGING TEXT FILES

LINUX PRACTICE QUESTIONS