Unix - UNIX The Basics...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
UNIX The Basics Source:  http://cis.kutztown.edu/~kta/Projects/Unix.ppt  
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
What is Unix? Unix is just an operating system. It provides the same functionality as the operating systems we all know and love. What makes Unix slightly more challenging, is it’s lack of the clickable graphical user interface we are all so accustomed to. Don’t worry, it’s really not as difficult as it may seem at first! You’ll be a Unix expert in no time.
Background image of page 2
File System Structure To start out, you need to have an understanding of how Unix arranges it’s files. So let’s call the file system a tree. Think about hanging the tree upside down. All branches (directories) come from the trunk (root), or from other branches (directories). So if the branches are file folders (directories), then the leaves must be the files contained in the directories!
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
File System Structure The trunk is the root directory. Branches are directories. Leaves are files.
Background image of page 4
File System Structure So does the file system structure of Unix look similar to another operating system? It should! It’s very similar to any windows, mac, or linux operating system! A path to a file from the root could look something like this: /dirlvl1/dirlvl2/my_file So you should already know how things work. You just need to know the Unix commands to get around! Note that Unix uses the forward slash!  (Opposite of windows)
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Basic Unix Commands (1) Man – Displays a manual for any command man pwd ” will give you the manual for the pwd command. Pwd – Displays the present working directory pwd ” after login will show the location of your home directory. Ls – Lists the contents of your present directory ls ” after login will show you all the files and directories in your home directory.
Background image of page 6
Basic Unix Commands (2) Cd – Change the working directory (the working directory is just the one you are in) cd mydir ” from the home directory will take you to mydir provided it exists in the home directory. cd ” by itself will take you to your home directory. FYI: There are two symbols that mean current
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 8
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 30

Unix - UNIX The Basics...

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online