0% found this document useful (0 votes)
69 views10 pages

System and Network Administration Linux Based: ITEC 3116 Lecture 6

This document provides information about the Linux file system structure and compares Linux commands to similar commands in DOS. It includes: 1) An agenda that covers the Linux file system structure, a DOS to Linux cheat sheet, and information about iNodes and the file system hierarchy. 2) A DOS to Linux cheat sheet table that lists similar commands like copy, move, list files, clear screen, close prompt, display date, delete files, echo output, edit files, compare files, find text, create directories, rename files, show location, change directories with an absolute or relative path, and display time. 3) A note that the lecture will continue in the next class.

Uploaded by

Abdul Hafeez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
69 views10 pages

System and Network Administration Linux Based: ITEC 3116 Lecture 6

This document provides information about the Linux file system structure and compares Linux commands to similar commands in DOS. It includes: 1) An agenda that covers the Linux file system structure, a DOS to Linux cheat sheet, and information about iNodes and the file system hierarchy. 2) A DOS to Linux cheat sheet table that lists similar commands like copy, move, list files, clear screen, close prompt, display date, delete files, echo output, edit files, compare files, find text, create directories, rename files, show location, change directories with an absolute or relative path, and display time. 3) A note that the lecture will continue in the next class.

Uploaded by

Abdul Hafeez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

System and Network

Administration Linux based

ITEC 3116 Lecture 6


Cheat Sheet & File System Structure

Week 3- November, 2021.


Recap of 2nd Week Lectures

 What is the Filesystem


 LINUX INSTALLATION
 Installing Ubuntu with VMWare
Player or VirtualBox
Agenda for Today’s Class
File System Structure
 DOS to Linux Cheat Sheet
 Linux File System
 I Nodes
 File System Structure and
Hierarchy
DOS to Linux Cheat Sheet

Linux commands type at a shell prompt


are similar to the commands you would
type in DOS.
In fact, some commands are identical.
DOS to Linux Cheat Sheet
Similar Commands

Command's MS-DOS Linux Basic Linux Example


Purpose

Copies files copy cp cp thisfile.txt /home/thisdirect


ory

Moves files move mv mv thisfile.txt /home/thisdirect


ory

Lists files dir ls ls

Clears screen cls clear clear


DOS to Cheat Sheet
Table. Similar Commands….

Command's MS-DOS Linux Basic Linux Example


Purpose

Closes prompt exit exit exit


window
Displays or sets date date date
date
Deletes files del rm rm thisfile.txt
"Echoes" output on echo Echo echo this message
the screen
Edits files with edit pico pico thisfile.txt
simple text editor
DOS to Cheat Sheet

Command's MS-DOS Linux Basic Linux Example


Purpose

Compares the fc diff diff file1 file2


contents of files
Finds a string of find Grep grep this word or
text in a file phrase thisfile.txt
Creates a directory mkdir Mkdir mkdir directory
DOS to Cheat Sheet
Command's Purpose MS-DOS Linux Basic Linux Example

Renames a file ren mv mv thisfile.txt thatfile.tx


t
Shows your location in chdir pwd pwd
the file system
Changes directories cd pathn cd pathnam cd /directory/directory
with a specified path ame e
(absolute path)
Changes directories cd .. cd .. cd ..
with a relative path
Displays the time time date date
CMD VS Shall Prompt
 Lecture will continued in next class

You might also like