UNIX Commands

UNIX Commands - UNIX Commands Home Directory:When you log...

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

View Full Document Right Arrow Icon
UNIX Commands Home Directory: When you log in you are in your home directory. You can't change your home directory. Current Directory: Your current, or working directory is the directory you are currently in. To access a file in the current directory, just specify it's name. ( . ) Parent Directory: Is the directory above the directory you are in. Just think of a family tree.( .. ) Absolute pathname: Traces a path from the root to the file. An absolute path always starts with root ( / ) Relative pathname: Traces a path from the working directory (current directory) to a file. A relative pathname never starts with a ( / ) The quickest way to get to your home directory from anywhere in the directory structure is to type ( cd ) Getting Help (The man pages) man [options][section] [subjects] display information from the online reference manual each subject is usually the name of a command from Section 1 unless you specify an option man -k keywords if you don't specify a subject you must provide a keyword (-k) or a file (for -f) apropos does the same as the man key About your machine df (disc free) display the amount of available disc space du display information on disc usage - shows the directory structure ps displays process status uname (-a) displays the current operating system (machine name and Unix version) which displays the copy of the program the shell is running Changing directories cd with no arguments changes to home directory of user
Background image of page 1

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

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

Page1 / 3

UNIX Commands - UNIX Commands Home Directory:When you log...

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

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